| Version | Supported |
|---|---|
| 1.0.x | ✅ |
We take security seriously. If you discover a security vulnerability, please report it responsibly:
- Do not open a public issue - Security vulnerabilities should be reported privately
- Email us at security@fafda-jalebi.dev (or create a private GitHub Security Advisory)
- Include details: Description, steps to reproduce, potential impact, and any suggested fixes
We will acknowledge receipt within 48 hours and provide a timeline for investigation and remediation.
- Always change the default
JWT_SECRETin production (generate with:python -c "import secrets; print(secrets.token_urlsafe(48))") - Use strong database passwords - Change
POSTGRES_PASSWORDfrom the default - Enable HTTPS - Use a reverse proxy (nginx, Traefik, Caddy) with TLS termination
- Restrict
CORS_ORIGINSto your specific domain(s) in production - Set
ALLOW_REGISTRATION=falseif you don't need public registration - Keep dependencies updated - Run
pip-auditandnpm auditregularly
- Never commit secrets - Use
.envfiles (already in.gitignore) - Run security checks -
pip-auditfor Python,npm auditfor Node.js - Follow secure coding practices - Input validation, parameterized queries, proper error handling
- Review dependencies - Check for known vulnerabilities before adding new packages
- JWT Authentication - Stateless auth with configurable expiration
- Password Hashing - bcrypt with configurable rounds (default 12)
- File Upload Validation - MIME type checking, size limits, extension allowlist
- SQL Injection Protection - SQLAlchemy ORM with parameterized queries
- CORS Configuration - Restrictable origins
- Rate Limiting Ready - Can be added via middleware (e.g., slowapi)
We follow responsible disclosure. Once a vulnerability is confirmed and patched:
- We will release a security update
- We will publish a Security Advisory on GitHub
- We will credit the reporter (unless they prefer anonymity)
Thank you for helping keep KIP secure!