| Version | Supported |
|---|---|
| 1.0.x | ✅ |
If you discover a security vulnerability in Project Monolith, please report it responsibly:
- Do NOT open a public GitHub issue for security vulnerabilities.
- Email the maintainer directly at the contact listed on the Zenith Open Source Projects website.
- Include a clear description of the vulnerability, steps to reproduce, and potential impact.
- Acknowledgment: Within 48 hours of your report.
- Resolution: We aim to patch confirmed vulnerabilities within 7 days.
- Credit: Reporters will be credited in the changelog unless they prefer to remain anonymous.
- Never share your activation key with anyone.
- Keep your Telegram account secure with 2FA.
- Be cautious of phishing attempts impersonating Zenith bots.
- Never commit
.envfiles or API tokens to the repository. - Always set a strong, random
WEBHOOK_SECRETin production. - Keep all dependencies updated to their latest patch versions.
- Run
python security_check.pybefore deploying.
All bot webhooks require secret token validation:
/webhook/admin/{secret}/webhook/group/{secret}/webhook/ai/{secret}/webhook/crypto/{secret}/webhook/support/{secret}
- Per-IP rate limiting on all endpoints
- Admin commands have additional rate limiting (10-60 seconds between calls)
- AI query limits per user tier (5/hour free, 60/hour pro)
- Prompt injection protection for AI commands
- SQL injection prevention via parameterized queries
- XSS prevention via HTML escaping
- X-Content-Type-Options: nosniff
- X-Frame-Options: DENY
- X-XSS-Protection: 1; mode=block
- Strict-Transport-Security: max-age=31536000
- Referrer-Policy: strict-origin-when-cross-origin
- Permissions-Policy: geolocation=(), microphone=(), camera=()
- SSL/TLS enforced for all database connections
- Connection timeouts configured (10s connect, 30s command)
- Connection pooling with overflow limits
# Install safety for vulnerability scanning
pip install safety
# Run security check
python security_check.pyRegularly update dependencies to patch security vulnerabilities:
# Check for outdated packages
pip list --outdated
# Update specific package
pip install --upgrade package-name
# Update all packages
pip install -r requirements.txt --upgradeIn case of a security breach:
- Contain: Immediately rotate all exposed credentials
- Assess: Determine scope of the breach
- Notify: Alert affected users within 24 hours
- Remediate: Fix vulnerabilities and patch systems
- Review: Document lessons learned and improve defenses