LS-DB-012: PlanetScale OAuth Token¶
| Severity | HIGH |
| Blast radius | Database access and schema control |
| Rotate at | https://app.planetscale.com/ |
If this leaks¶
Acts on behalf of the authorizing user, with access to their organizations, databases, and branches.
What to do¶
- Rotate or revoke the credential at https://app.planetscale.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¶
pscale_oauth_[A-Za-z0-9_-]{32,}
Suppress¶
On one line: # leakscan:ignore LS-DB-012. For the whole project:
disable_rules: [LS-DB-012]