| Version | Supported |
|---|---|
| 1.x | ✅ |
| < 1.0 | ❌ |
We support only the latest minor version. Please upgrade to receive security patches.
This project uses multiple layers of automated security scanning:
- Dependabot: Automated dependency updates (weekly)
- npm audit: Runs on every CI build
- Socket.dev: Supply chain attack detection
- CodeQL: Static analysis for security vulnerabilities (weekly + on PRs)
- Semgrep: SAST scanning for OWASP top 10, secrets, and TypeScript-specific issues
- Trivy: Filesystem, dependency, and container image vulnerability scanning
- Gitleaks: Secret detection across git history
- Docker Security Scan: Daily container image scanning via Trivy
- SBOM Generation: CycloneDX and SPDX format (365-day retention)
- OSSF Scorecard: OpenSSF best practices scoring
- Known CVEs in dependencies
- SQL injection vulnerabilities
- Cross-site scripting (XSS)
- Regular expression denial of service (ReDoS)
- Path traversal attacks
- Supply chain attacks (malicious packages, typosquatting)
- Hardcoded secrets and credentials
If you discover a security vulnerability:
- Do NOT open a public GitHub issue
- Email: hello@ansvar.ai
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if you have one)
We will respond within 48 hours and provide a timeline for a fix.
This project follows security best practices:
- All database queries use prepared statements (no SQL injection)
- Input validation on all user-provided parameters
- Read-only database access (no write operations at runtime)
- No execution of user-provided code
- Automated security testing in CI/CD
- Regular dependency updates via Dependabot
The regulatory database is:
- Pre-built and version-controlled (tamper evident)
- Opened in read-only mode at runtime (no write risk)
- Source data from official regulatory authorities (auditable)
- Ingestion scripts require manual execution (no auto-download at runtime)
We minimize dependencies and regularly audit:
- Core runtime: Node.js, TypeScript, @ansvar/mcp-sqlite
- MCP SDK: Official Anthropic package
- No unnecessary dependencies
All dependencies are tracked via package-lock.json and scanned for vulnerabilities.
Last Updated: 2026-04-03