LS-DB-011: PlanetScale Token¶
| Severity | HIGH |
| Blast radius | Database access and schema control |
| Rotate at | https://app.planetscale.com/ |
If this leaks¶
Allows API access to the database's branches, deploy requests, and connection credentials per the token's scopes.
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_tkn_[A-Za-z0-9_-]{32,}
Suppress¶
On one line: # leakscan:ignore LS-DB-011. For the whole project:
disable_rules: [LS-DB-011]