Security Policy
Reporting a Vulnerability
Please do not report security vulnerabilities through public GitHub issues.
Report a suspected vulnerability privately to security@ai-software-factory.dev
or via GitHub's private vulnerability reporting (Security tab → Report a
vulnerability).
Include:
- A description of the issue and its impact
- Steps to reproduce (or a PoC)
- Affected version / commit
- Any mitigation you identified
Response Timeline
| Event | Target |
|---|---|
| Acknowledgement | 2 business days |
| Initial assessment | 5 business days |
| Fix (critical) | 14 days |
| Public disclosure | After fix ships + coordinate with reporter |
Scope
In scope: apps/web, apps/api, apps/worker, apps/realtime, packages/*,
prisma/, and the reference infrastructure in infrastructure/.
Out of scope: dependencies upstream of their maintainers, third-party SaaS providers (SMTP, AI APIs), and self-hosted operator misconfiguration.
Security Model (summary)
- Server-side authorization on every operation (RBAC + resource permissions)
- Password hashing (bcrypt), JWT access + rotating opaque refresh tokens
- Input validation (Zod), parameterized queries (Prisma), output sanitization
- File validation + malware scanning pipeline
- API key hashing, at-rest secret encryption, secure cookies, strict CORS
- Rate limiting, CSRF protection for cookie-authenticated mutations
- Audit logging of security-sensitive operations
- Full checklist:
docs/security/security-architecture.md
Supported Versions
| Version | Supported |
|---|---|
| latest release | ✅ |
| previous release | ⚠️ (security fixes only, 90 days) |
| anything older | ❌ |