LS-DB-014: Neon API Key¶
| Severity | HIGH |
| Blast radius | Database access and schema control |
| Rotate at | https://console.neon.tech/app/settings/api-keys |
--verify |
GET https://console.neon.tech/api/v2/users/me |
If this leaks¶
Allows managing Neon projects, branches and roles, including resetting database passwords.
What to do¶
- Rotate or revoke the credential at https://console.neon.tech/app/settings/api-keys.
- 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¶
\bnapi_[a-z0-9]{64}\b
Suppress¶
On one line: # leakscan:ignore LS-DB-014. For the whole project:
disable_rules: [LS-DB-014]