LS-DB-015: Upstash Redis Token¶
| Severity | HIGH |
| Blast radius | Cache/queue data compromise |
| Rotate at | https://console.upstash.com/ |
If this leaks¶
Allows reading and writing every key in the Upstash database over its REST API.
What to do¶
- Rotate or revoke the credential at https://console.upstash.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)(?:upstash)[\w.\-]{0,25}['\"]?\s*(?::=|=>|[=:])\s*['\"]?(A[A-Za-z0-9_\-]{50,}=?)(?![A-Za-z0-9])
Suppress¶
On one line: # leakscan:ignore LS-DB-015. For the whole project:
disable_rules: [LS-DB-015]