NeuroLink releases continuously from the release branch with semantic
versioning; the current major line is where fixes land. Versions as of
2026-10-26 (gh api repos/juspay/neurolink/tags):
| Version | Supported | Status |
|---|---|---|
| 13.x (13.8.16) | ✅ | Active development — every fix ships here |
| 12.x (12.59.0) | Security fixes on request, for a bounded period after 13.0 shipped | |
| < 12.0 | ❌ | No longer supported — upgrade |
Upgrade with npm install @juspay/neurolink@latest (or an exact version); the
migration guide lists breaking changes per
major.
NeuroLink requires a currently supported Node.js line with the latest security
patches applied (engines.node in package.json). Node security releases are
announced at https://nodejs.org/en/blog/vulnerability/; a NeuroLink release
never backports a Node fix, so keep the runtime current independently.
If you discover a security vulnerability in NeuroLink, please report it responsibly. We take all security reports seriously and will respond promptly.
Preferred: open a private vulnerability report at https://github.com/juspay/neurolink/security/advisories/new. It reaches the maintainers directly, stays private until a fix is published, and gives the report a GHSA id and a CVE if one is warranted. No account with write access is needed.
Alternative: email security@juspay.in. Use this if the GitHub form is unavailable to you; please do not open a public issue or pull request.
Please include the following information in your report:
-
Description of the vulnerability
- Type of issue (e.g., authentication bypass, injection, etc.)
- Location of the affected code (file path, line number if possible)
-
Steps to reproduce
- Detailed steps to demonstrate the vulnerability
- Proof of concept code (if applicable)
-
Potential impact
- What can an attacker do with this vulnerability?
- What data or systems are at risk?
-
Suggested fix (optional)
- If you have ideas on how to fix the vulnerability
We are committed to responding to security reports in a timely manner:
- Initial acknowledgment: Within 24 hours
- Initial assessment: Within 72 hours
- Fix timeline: Based on severity (see below)
- Public disclosure: After fix is released and users have had time to update
| Severity | Description | Fix Timeline |
|---|---|---|
| Critical | Affects all users, active exploitation | 1-7 days |
| High | Affects most users, easy to exploit | 7-14 days |
| Medium | Limited impact or difficult to exploit | 14-30 days |
| Low | Minimal impact | Next release cycle |
When using NeuroLink in production, follow these security best practices:
- Never commit API keys to version control
- Use environment variables for all sensitive credentials
- Rotate API keys regularly
- Use separate keys for development and production
- Consider using a secrets management service (AWS Secrets Manager, HashiCorp Vault, etc.)
NeuroLink includes a production-ready HITL system for high-stakes operations:
import {
NeuroLink,
type ConfirmationRequestEvent,
type ConfirmationResponseEvent,
} from "@juspay/neurolink";
const neurolink = new NeuroLink({
hitl: {
enabled: true,
dangerousActions: [
"write",
"execute",
"send",
"delete",
"database",
"drop",
"truncate",
],
timeout: 60000, // 60 seconds for user response
autoApproveOnTimeout: false, // Reject on timeout for safety
allowArgumentModification: true, // Hint for the approval UI; not enforced
auditLogging: true, // Log each approval request and decision, with the full tool arguments
},
});
// Listen for confirmation requests using events
const emitter = neurolink.getEventEmitter();
emitter.on("hitl:confirmation-request", async (event) => {
const receivedAt = Date.now();
// The emitter types listener arguments as unknown, so narrow the event
const { payload } = event as ConfirmationRequestEvent;
const { confirmationId, toolName, arguments: args } = payload;
// Integrate with your approval system
const approved = await yourApprovalSystem.requestReview({
tool: toolName,
arguments: args,
});
// Respond with confirmation
emitter.emit("hitl:confirmation-response", {
type: "hitl:confirmation-response",
payload: {
confirmationId,
approved,
reason: approved ? undefined : "Denied by security policy",
metadata: {
timestamp: new Date().toISOString(),
responseTime: Date.now() - receivedAt, // ms since the request arrived
},
},
} satisfies ConfirmationResponseEvent);
});Audit logs hold tool arguments. With
auditLogging: true, each request and decision is written to the NeuroLink logger at info level, and every entry includes the full tool arguments. Redact secrets and personal data at the logger sink, or send the logs to a protected sink that only reviewers can read.
Use HITL for:
- Financial transactions
- Data modifications
- Code execution
- Email/notification sending
- Database operations in production
If using Redis for conversation memory:
- Enable authentication: Always set a strong Redis password
- Use TLS: Enable TLS/SSL for production Redis connections
- Network isolation: Keep Redis on a private network
- Regular updates: Keep Redis version up to date
const neurolink = new NeuroLink({
conversationMemory: {
enabled: true,
store: "redis",
redis: {
host: "redis.example.com",
port: 6379,
password: process.env.REDIS_PASSWORD,
tls: true, // Always enable for production
},
},
});When implementing custom middleware:
- Validate all inputs: Never trust user input
- Sanitize outputs: Clean data before logging or displaying
- Rate limiting: Implement rate limits to prevent abuse
- Error handling: Don't leak sensitive information in error messages
- Use least privilege: Grant minimum necessary permissions to provider API keys
- Monitor usage: Track API usage for anomalies
- Budget limits: Set spending limits on provider accounts
- Audit logs: Enable audit logging for all provider interactions
NeuroLink includes enterprise-grade security features:
Request and decision logging for HITL approvals. It is a log, not a compliance control:
const neurolink = new NeuroLink({
enableAnalytics: true, // Captures full request/response data
hitl: {
enabled: true,
dangerousActions: ["delete", "remove", "drop"], // Required when enabled
auditLogging: true, // Logs each approval request and decision, with the full tool arguments
},
});Audit entries include the full tool arguments, so redact sensitive fields at the logger sink or send the logs to a protected sink.
Built-in content filtering and safety using the MiddlewareFactory:
import { MiddlewareFactory } from "@juspay/neurolink";
// Create middleware factory with guardrails configuration
const factory = new MiddlewareFactory({
enabledMiddleware: ["guardrails"],
middlewareConfig: {
guardrails: {
enabled: true,
config: {
badWords: {
enabled: true,
list: ["harmful", "dangerous", "unsafe"],
},
modelFilter: {
enabled: true,
filterModel: "gpt-3.5-turbo", // Use a fast model for content filtering
},
precallEvaluation: {
enabled: true,
provider: "openai",
evaluationModel: "gpt-4",
thresholds: {
safetyScore: 7,
appropriatenessScore: 6,
},
},
},
},
},
});
// Use in your NeuroLink instance
const result = await neurolink.generate({
input: { text: "Your prompt" },
middleware: factory,
});Every advisory for this package is published through GitHub Security Advisories
and mirrored to the GitHub Advisory Database (so npm audit and Dependabot see
it):
Advisories have been published there (for example GHSA-6jr6-6vw7-f9gx). Each one
names the first fixed version. The repository's own dependency gate
(scripts/security-check.ts) accepts a third-party advisory only by GHSA id,
with a declared dependency path, an expiry date and a stated reason; the
accepted-risk table is printed in every CI run's job summary.
Subscribe to security updates:
- Watch the NeuroLink repository with "Custom → Security alerts" enabled; published advisories are delivered there
- Enable Dependabot alerts on your own repository: advisories for this package
reach the GitHub Advisory Database and
npm audit - Subscribe to release notifications for the fixed versions
At this time, we do not have a formal bug bounty program. However, we greatly appreciate security researchers who report vulnerabilities responsibly and will acknowledge their contributions in our release notes (with permission).
For general security questions or concerns:
- Email: security@juspay.in
- For non-security issues: Create a GitHub issue
Thank you to all security researchers who have helped make NeuroLink more secure.