We support the following versions with security updates:
| Version | Supported |
|---|---|
| 1.0.x | ✅ |
We take security issues seriously. If you discover a security vulnerability in NeuroCache, please report it responsibly.
- Open a public GitHub issue for security vulnerabilities
- Disclose the vulnerability publicly before it has been addressed
- Email: Send details to eneswrites@protonmail.com
- Include:
- Description of the vulnerability
- Steps to reproduce
- Affected versions
- Potential impact
- Any suggested fixes (if applicable)
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Fix Timeline: Security patches will be released as soon as possible, typically within 30 days for critical issues
When using NeuroCache in production:
-
API Keys: Never commit API keys to version control
// ✅ Use environment variables const provider = new OpenAIProvider({ apiKey: process.env.OPENAI_API_KEY }); // ❌ Never hardcode const provider = new OpenAIProvider({ apiKey: 'sk-...' // DON'T DO THIS });
-
Cache Storage: Be mindful of sensitive data in cache
- Use TTL to expire cached responses
- Consider encrypting cached data for sensitive applications
- Use Redis with authentication in production
-
Dependencies: Keep dependencies up to date
npm audit npm audit fix
-
Input Validation: Validate all user inputs before passing to LLM providers
-
Rate Limiting: Implement rate limiting to prevent abuse
NeuroCache includes several security features:
- Deterministic Hashing: SHA-256 for cache keys (no secret exposure)
- No Credential Storage: API keys are never cached
- Type Safety: Strict TypeScript prevents many runtime errors
- Input Sanitization: Optional content normalization
- Graceful Degradation: Failures don't expose sensitive data
When a security vulnerability is fixed:
- A security advisory will be published
- Credit will be given to the reporter (unless anonymity is requested)
- A CVE will be requested for critical vulnerabilities
- Release notes will include security fix details
Primary: eneswrites@protonmail.com
Repository: https://github.com/eneswritescode/neurocache
Last Updated: February 20, 2026