LS-DB-005: Redis Connection String¶
| Severity | HIGH |
| Blast radius | Cache/queue data compromise |
| Rotate at | https://redis.io/docs/management/security/acl/ |
If this leaks¶
Contains a password for a Redis instance, granting access to every key in the database, including cached sessions, queues, and rate-limit counters.
What to do¶
- Rotate or revoke the credential at https://redis.io/docs/management/security/acl/.
- 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¶
rediss?://[^\s'\"]*:[^\s'\"@]+@[^\s'\"]+
Suppress¶
On one line: # leakscan:ignore LS-DB-005. For the whole project:
disable_rules: [LS-DB-005]