| Version | Supported |
|---|---|
| 1.x.x | ✅ Yes |
| < 1.0 | ❌ No |
We take the security of the NSA Legal Intelligence Platform seriously. If you believe you have found a security vulnerability, please report it to us through one of the following methods:
Email: security@nsa-lip.org (monitored by security team)
GitHub Security Advisory: Use the "Report a Security Vulnerability" button in our GitHub repository.
When reporting a vulnerability, please include:
- Description: A clear description of the vulnerability
- Steps to Reproduce: Detailed steps to reproduce the issue
- Impact: What an attacker could achieve
- Environment: Version of the software, operating system, etc.
- Proof of Concept: (if possible) a proof of concept exploit
- Initial Response: Within 48 hours
- Acknowledgment: We will acknowledge receipt of your report
- Investigation: We will investigate and validate the vulnerability
- Fix: We will develop a fix if the vulnerability is confirmed
- Disclosure: Coordinated disclosure after the fix is available
- Never commit secrets, API keys, or credentials to version control
- Use environment variables for sensitive configuration
- Keep dependencies updated
- Follow OWASP Top 10 guidelines
- Validate and sanitize all user inputs
- Use parameterized queries to prevent SQL injection
- Implement proper authentication and authorization
- Use HTTPS for all communications
- Set strong SECRET_KEY for sessions
- Configure proper CORS policies
- Enable security headers (CSP, HSTS, X-Frame-Options)
- Run with least privilege
- Keep the system updated
- KMC government portal requires SECLEVEL=1 for older certificate compatibility
- Certificate verification is enforced (no MITM protection)
- HTTPS is enforced in production
- Session cookies are Secure, HttpOnly, and SameSite=Lax
- Session lifetime is 30 minutes
- Sessions are refreshed on each request
- All POST forms require CSRF tokens
- AJAX requests include CSRF tokens
- Passwords are hashed using werkzeug.security
- Login attempts are logged
- Failed login attempts are tracked
- ✅ Flask-Talisman (CSP, HSTS, HTTPS enforcement)
- ✅ Flask-WTF (CSRF protection)
- ✅ Flask-Login (session management)
- ✅ SQLAlchemy versioning (optimistic locking)
- ✅ Audit logging (RecordAudit table)
- ✅ Rate limiting (KMC portal: 40s minimum between requests)
- Multi-factor authentication
- Role-based access control
- API key management
- Security event monitoring
- Automated security scanning
For security concerns, contact:
Primary: security@nsa-lip.org
Backup: sumansaha9@hotmail.com
We follow responsible disclosure:
- Report the vulnerability to us
- Give us reasonable time to investigate and fix
- Coordinate on disclosure timing
- Credit the researcher (if desired)
We ask that you:
- Do not exploit the vulnerability
- Do not disclose it publicly until we've fixed it
- Be patient and cooperative