
Redis Security
Production Redis security in one skill: authentication, ACL users, and network lockdown. Covers the full stack from requirepass and TLS setup through least-privilege ACL rules (cache readers, writers, admins) to bind configuration and firewall rules. The three-layer approach is the key insight here. Too many deploys do auth alone and still get breached because Redis is bound to 0.0.0.0. Use this when hardening a deployment, setting up app credentials beyond a shared password, or responding to "Redis exposed to internet" scanner findings. The ACL command categories and blast-radius framing make it easier to explain least privilege to teams used to sharing one password.
- skills.sh installs
- 2.6K
- GitHub stars
- 175
- last updated
- Aug 21, 2026
Install
$ npx -y skills add redis/agent-skills --skill redis-security --agent claude-codeInstalls into .claude/skills of the current project.
Files
Redis Security
Production hardening for Redis: authentication, ACL-based access control, and network exposure. Cover all three together — any one of them on its own leaves an exploitable gap.
When to apply
- Deploying or reviewing a Redis instance destined for production.
- Setting up application credentials beyond a shared password.
- Auditing a Redis deployment against a security checklist.
- Receiving "Redis exposed to the internet" findings from a scanner.
1. Always authenticate (and use TLS)
Never run a production Redis without a password. Pair authentication with TLS so credentials and data aren't sent in clear text.
# redis.conf
requirepass your-strong-password
tls-port 6380
tls-cert-file /path/to/redis.crt
tls-key-file /path/to/redis.key
r = redis.Redis(
host="localhost",
port=6380,
password="your-strong-password",
ssl=True,
ssl_cert_reqs="required",
)
If you can use ACL users (next section) instead of the single requirepass, do — requirepass is effectively the legacy "default user" shortcut.
See references/auth.md.
2. ACLs for least-privilege access
Sponsors
Details
- Repository
- github.com/redis/agent-skills
- Categories
- Backend & APIs, Security, AI & Agent Building, Databases
- First seen
- Jul 14, 2026