If you discover a security vulnerability within CyberGuide, please send an email to parthasarathi442004@gmail.com. All security vulnerabilities will be promptly addressed.
Please do not report security vulnerabilities through public GitHub issues.
| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
- API key authentication for all endpoints
- JWT token support (optional)
- Role-based access control (planned)
- Environment variables for sensitive configuration
- Encryption for secrets at rest
- No hardcoded passwords or API keys
- Pydantic models for request validation
- SQL injection prevention via SQLAlchemy ORM
- XSS prevention via input sanitization
- Rate limiting on API endpoints
- CORS configuration for production
- HTTPS enforcement (via reverse proxy)
- Security headers (HSTS, X-Content-Type-Options, etc.)
- Respect robots.txt where applicable
- Rate limiting on external requests
- User-Agent identification
- Prefer official APIs and RSS feeds
Never commit sensitive values to version control:
# Good - use environment variables
DATABASE_URL=postgresql://user:password@localhost/db
SECRET_KEY=your-secret-key
# Bad - never hardcode
DATABASE_URL=postgresql://root:password123@localhost/db# Use the SecretManager for sensitive data
from interntrack.utils.encryption import SecretManager
manager = SecretManager(settings.encryption_key)
encrypted = manager.encrypt("sensitive-api-key")
decrypted = manager.decrypt(encrypted)- Never commit
.envfiles - Use environment variables for configuration
- Validate all user inputs
- Use parameterized queries
- Keep dependencies updated
- Run security scans regularly
- Use HTTPS in production
- Enable rate limiting
- Set secure CORS origins
- Use a reverse proxy (nginx, Traefik)
- Enable logging and monitoring
- Regular security audits
# Check for known vulnerabilities
pip install safety
safety check -r requirements.txt
# Run bandit security linter
pip install bandit
bandit -r src/Security updates will be released as soon as possible after a vulnerability is confirmed. Critical vulnerabilities will be patched within 48 hours.
- Security Email: parthasarathi442004@gmail.com
- GitHub Issues: For non-sensitive bugs only
- Documentation: See docs/SECURITY-AND-METHODOLOGIES.md
We thank all security researchers who responsibly disclose vulnerabilities.