Only the latest version of Playbot is currently supported with security updates.
| Version | Supported |
|---|---|
| Latest | ✅ |
| < Latest | ❌ |
We take the security of Playbot seriously. If you believe you have found a security vulnerability, please follow these steps:
-
Do NOT open a public issue for the vulnerability
-
Report the vulnerability through GitHub's private vulnerability reporting including:
- A description of the vulnerability
- Steps to reproduce the issue
- Possible impacts of the vulnerability
- Any potential mitigations you've identified
If you don't have a GitHub account, you can create one for free to submit the report.
- Initial Response: You will receive an initial response within 48 hours acknowledging receipt of your report
- Updates: We will keep you informed of our progress in addressing the vulnerability
- Resolution: Once fixed, we will notify you and discuss coordinated disclosure
- We practice responsible disclosure
- Please allow us time to address the vulnerability before public disclosure
- We will credit you for the discovery unless you request otherwise
-
Bot Token Security
- Never share your Discord bot token
- Rotate tokens if they may have been compromised
- Use environment variables for sensitive configuration
-
Role Management
- Ensure the bot's role is positioned correctly in the role hierarchy
- Regularly audit role permissions
- Remove unused gacha roles using the admin panel
-
Access Control
- Only grant bot admin access to trusted users
- Regularly review who has access to the admin panel
- Use strong passwords for admin accounts
- "Staff" role is treated as admin-equivalent for management actions, except bot invites (still admin-only); requires the bot to be present to detect Staff membership
-
Environment Security
- Never commit .env files or sensitive credentials
- Use the provided .env.example as a template
- Keep all dependencies updated
-
Code Security
- Follow secure coding practices
- Use input validation for all user inputs
- Handle errors appropriately without exposing sensitive information
-
OAuth2 Security
- Use HTTPS in production
- Keep client secrets secure
- Validate all OAuth2 tokens and requests
Security updates will be released as soon as possible when vulnerabilities are discovered. Updates will be published:
- As new releases in the GitHub repository
- Through our announcement channels (if critical)
- Via direct communication to known affected parties
We recommend watching the repository for notifications about new security releases.
For production hardening recommendations (cookies, CSRF/CORS, proxy headers, HSTS, rate limiting, logging, secrets, Liquibase practices), see the Self-Hosting guide: