If you discover a security vulnerability in Room Finder AI Bot, please email the maintainer privately instead of using the issue tracker.
Do not create a public GitHub issue reporting the vulnerability.
Please include:
- A detailed description of the vulnerability
- Steps to reproduce the issue
- Potential impact
- Suggested fix (if you have one)
We take security seriously and will work with you to address any issues promptly.
-
Never commit secrets to Git
- Keep
.envfile in.gitignore - Use
.env.exampleas a template instead - Rotate API keys periodically
- Keep
-
Secure your
.envfilechmod 600 .env # Restrict to owner only -
Use environment variables
- Never hardcode API keys in source code
- Always load sensitive data from
.env
-
Telegram API Security
- Don't share your
TELEGRAM_API_HASH - Regenerate API credentials if compromised
- Use unique sessions for different bots
- Don't share your
-
DeepSeek API Security
- Generate new API keys for different environments (dev, prod)
- Monitor API usage for suspicious activity
- Set API rate limits if available
-
WhatsApp/WAHA Security
- Keep WAHA server behind firewall
- Use strong API keys
- Restrict API access to localhost if possible
- Keep dependencies updated:
pip install --upgrade -r requirements.txt - Review dependencies before installing
- Use virtual environments to isolate dependencies
- Don't run untrusted code modifications
- Use official APIs only
- Don't use unofficial WhatsApp clients (stick to WAHA)
- Regularly audit connected applications
- Remove access from unused services
- We address reported vulnerabilities as soon as possible
- Security updates are released with priority
- Affected users will be notified through GitHub security advisories
This project depends on:
telethon- Telegram client libraryrequests- HTTP librarylangdetect- Language detectionflask- Web frameworkpython-dotenv- Environment variable management
Please check for vulnerabilities in these dependencies:
pip install safety
safety checkWe follow responsible disclosure practices:
- Issues are addressed privately before public disclosure
- CVEs are requested for critical vulnerabilities
- Patches are released promptly
Thank you for helping keep Room Finder AI Bot secure! 🔒