We actively support the following versions with security updates:
| Version | Supported |
|---|---|
| 1.x.x | ✅ |
| < 1.0 | ❌ |
We take security vulnerabilities seriously. If you discover a security issue, please follow these steps:
Please do not open a public GitHub issue for security vulnerabilities. This helps protect users until a fix is available.
Send details to: security@your-domain.com (Please update with your actual security contact)
Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Fix Timeline: Varies by severity (typically 30-90 days)
When deploying this application:
-
Environment Variables
- Never commit
.envfiles to version control - Use strong, random secrets for
JWT_SECRET_KEYandSECRET_KEY - Rotate API keys regularly
- Never commit
-
Authentication
- Enable authentication in production (
ENABLE_AUTHENTICATION=true) - Use strong admin passwords (min 12 characters, mixed case, numbers, symbols)
- Set
ADMIN_PASSWORD_HASHusing the setup script
- Enable authentication in production (
-
Network Security
- Use HTTPS in production (never HTTP)
- Configure
CORS_ORIGINSto only allowed domains - Use
GITHUB_WEBHOOK_SECRETfor webhook verification
-
API Keys
- Store OpenAI/Gemini API keys securely
- Use environment-specific keys
- Monitor API usage for anomalies
-
Docker Security
- Run containers as non-root user (already configured)
- Keep base images updated
- Scan images for vulnerabilities regularly
Configure your reverse proxy (nginx, Apache, etc.) to add:
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header Content-Security-Policy "default-src 'self'" always;-
Rate Limiting: Built-in rate limiting is enabled by default. Adjust
RATE_LIMIT_REQUESTSbased on your needs. -
Input Validation: All user inputs are validated using Pydantic models. Additional validation in API routes.
-
Dependency Security: Regular dependency updates are recommended. Run
pip-auditto check for known vulnerabilities. -
Logging: Sensitive data (API keys, tokens) are not logged. Review logs before sharing.
- All secrets are stored securely (environment variables, secrets manager)
- Authentication is enabled
- Strong admin password is set
- CORS origins are configured
- HTTPS is enforced
- Webhook secret is configured for GitHub integration
- Rate limiting is properly configured
- Dependencies are up to date
- Docker image is scanned for vulnerabilities
- Monitoring and alerting are configured