LS-AUTH0-001: Auth0 Client Secret¶
| Severity | HIGH |
| Blast radius | Identity provider compromise |
| Rotate at | https://manage.auth0.com/ |
If this leaks¶
Lets an attacker authenticate as your Auth0 application and, for M2M apps, call the Management API.
What to do¶
- Rotate or revoke the credential at https://manage.auth0.com/.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
(?i)(?:auth0[\w.\-]{0,20}secret)[\w.\-]{0,25}['\"]?\s*(?::=|=>|[=:])\s*['\"]?([A-Za-z0-9_\-]{64})(?![A-Za-z0-9])
Suppress¶
On one line: # leakscan:ignore LS-AUTH0-001. For the whole project:
disable_rules: [LS-AUTH0-001]