Fix guide · critical · redis_connection_string
Redis connection string with credentials in client code
What this rule means
A redis:// or rediss:// URL containing a username and password was found in client JavaScript.
Why it matters
Direct Redis access from the public internet is rarely intended. Anyone with the URL can run any Redis command — read keys, flush the database, queue arbitrary jobs.
How to fix it
- Rotate the Redis password.
CONFIG SET requirepass new-pwthen update consumers. - Move the URL to server-only env.
- Use Redis ACLs to restrict the client to a minimal command set.
- Network-restrict Redis to private VPC traffic if possible.
Did vibecheck flag this on your app?
If you reached this page from a vibecheck inspection report, the redacted match in your scan output is the exact string we found in your bundle. After applying the fix above, run the inspection again — the finding should clear.
Run another inspection