Do not open public issues for security vulnerabilities.
If you discover a security vulnerability in NPersona, please email npersona.ai@gmail.com with:
- Description: Clear explanation of the vulnerability
- Affected Components: Which parts of the code are affected
- Impact: Potential impact and severity
- Proof of Concept: Steps to reproduce (if applicable)
- Suggested Fix: Optional proposed solution
We will:
- Acknowledge receipt within 48 hours
- Provide an estimated timeline for fix
- Keep you updated on progress
- Credit you in the security advisory (if desired)
- All code undergoes security review before merge
- Type checking enforced for type safety
- Input validation on all external data
- No secrets in version control
- Dependencies regularly audited
- Pin dependency versions in
requirements.txt - Regular updates for security patches
- Vulnerability scanning in CI/CD
- Minimal dependencies to reduce attack surface
- HTTPS enforced for all external connections
- Certificate verification enabled
- No hardcoded credentials
- Secrets passed via environment variables
- OAuth2 token refresh with 60-second buffer
- Rate limiting and retry logic
- Test data treated as sensitive
- Temporary files cleaned up
- No logging of authentication tokens
- Response sanitization
- Privacy-first design
NPersona itself is built for security testing, therefore:
- Self-Testing: Regularly test our own framework
- Penetration Testing: Annual external security audits
- Dependency Scanning: Automated vulnerability checks
- Code Analysis: Static security analysis in CI/CD
When using NPersona, please:
-
Protect Credentials: Keep API keys and tokens secure
- Use environment variables, not hardcoded values
- Rotate credentials regularly
- Use separate credentials for different environments
-
Access Control: Limit who can access security reports
- Reports may contain sensitive findings
- Restrict report distribution to authorized personnel
- Use secure channels for sharing reports
-
Data Retention: Manage test data lifecycle
- Securely delete old reports
- Archive sensitive findings separately
- Follow data retention policies
-
Configuration: Secure your configuration
- Use HTTPS for all endpoints
- Validate SSL certificates
- Use authenticated endpoints only
- Rate Limiting: API rate limits may affect large-scale testing
- Timeout Handling: Network issues may cause test failures
- LLM Reliability: LLM quality directly impacts test quality
- False Negatives: Some vulnerabilities may not be detected
- False Positives: Some tests may trigger on benign behaviors
If you find vulnerabilities in systems tested with NPersona:
- Report Privately: Contact the system owner directly
- Avoid Public Disclosure: Don't post findings publicly
- Give Time: Allow reasonable time for fixing (typically 90 days)
- Document Everything: Keep detailed records of findings
- Follow Policy: Comply with responsible disclosure practices
- Security patches released immediately
- Regular version releases include security improvements
- Critical issues may trigger emergency releases
- Subscribe to security advisories at github.com/NPersona-AI/npersona/security/advisories
NPersona is designed to support:
- OWASP Security Standards
- NIST AI Security Framework
- ISO 27001 Information Security
- SOC 2 compliance requirements
- Security Issues: npersona.ai@gmail.com
- GitHub Issues: https://github.com/NPersona-AI/npersona/issues
- GitHub Discussions: https://github.com/NPersona-AI/npersona/discussions
We appreciate the security research community and thank those who responsibly report vulnerabilities.
Last Updated: 2026-04-12
Version: 1.0.0