Agent Verify

Discord bot token detected

CriticalAV-SECRET-019Secrets & data exposureCore pack

What it finds

A discord bot token pattern (id: discord_bot_token).

Why it matters

A hardcoded credential of this type grants whoever has it that key's full authority until it is rotated.

How to fix it

Remove the value from source, rotate the credential immediately, and load it from an environment variable or secret manager.

Pro shows the corrected code for your exact file, step by step, and re-scans to confirm the fix. See plans

Check details

Finding code
SECRET_DETECTED_DISCORD_BOT_TOKEN
How it detects
Looks for a specific risky pattern in the code or config.
Confidence
Likely: strong signal, but review it in context.
Scans
Any text-based source, config, or environment file

Check your agent for this

Paste your agent code or MCP config. The free scan runs all 124 checks in about 10 seconds — no account needed.

Related checks