Language: English | Русский
The project is developed on the Dev branch. Security fixes go into the current
code; there are no separate LTS releases yet.
- Do not open a public issue for vulnerabilities (especially token leaks,
access bypasses for
/api/guilds/*or/admin, SSRF in the music resolver, or reading other guilds' uploads via/uploads/...). - Contact the repository owner through a private channel:
GitHub → VolRencs → Security Advisories (Private vulnerability reporting)
for the
GOPlay.botrepository. Describe: what, where (file:line), how to reproduce, potential impact. - Response within 7 days; fix and disclosure timeline agreed with the reporter.
- All dashboard API routes go through
src/lib/guild-access.ts(requireUser/requireAdmin/withGuild): only server managers get access, admin panel only forADMIN_DISCORD_IDS. - Uploads are isolated per
guildId, filenames are sanitized (src/lib/uploads.ts), request body limit +client_max_body_size 8min nginx. - The music resolver is restricted to the YouTube domain allowlist.
- When the bot is removed from a server, its data is wiped
(
wipeGuildData+deleteGuildFiles).
- Never commit
.env,cookies.txt(forYT_DLP_EXTRA_ARGS),*.pem/*.key,data/*.sqlite*. - Leaked
DISCORD_TOKEN→ urgent Reset Token in Discord Developer Portal → Bot. - Leaked
DISCORD_CLIENT_SECRET→ OAuth2 → Reset Secret + update redirect URLs. - Leaked
BETTER_AUTH_SECRET→ generate a new one (openssl rand -base64 32), all sessions are invalidated.