redis-security
Skill by vemetric
Redis security guidance for hardening production deployments. It covers authentication, TLS, ACL users, network exposure and disabling dangerous commands. It is aimed at engineers deploying or auditing Redis.
Install redis-security
Built from the published package, never by AI.
git clone --depth 1 https://github.com/vemetric/vemetric /tmp/vemetric && mkdir -p ~/.claude/skills && cp -r /tmp/vemetric/.agents/skills/redis-security ~/.claude/skills/redis-securityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/vemetric/vemetric /tmp/vemetric && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vemetric/.agents/skills/redis-security ~/.gemini/antigravity-cli/skills/redis-securityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant security guidance for Redis. It covers three areas that the source says should be handled together: authentication with requirepass or ACL users, ACL-based least-privilege access, and restricting network exposure. It includes example redis.conf settings for TLS, requirepass and protected-mode, ACL SETUSER commands for read-only, writer and admin users, and iptables rules that allow only application subnets. It also covers renaming or disabling destructive commands such as FLUSHALL, DEBUG and CONFIG.
The skill is for people deploying Redis to production, defining ACL users for an application, configuring TLS, locking down an instance behind a firewall, or auditing a deployment against a hardening checklist. The source also lists two reference files, one each for auth, ACLs and network settings, and links to the official Redis security documentation.
Written from the project's SKILL.md and checked against it.
What it can do
- Authentication and TLSSets a strong password and TLS port, certificate and key in redis.conf, with a matching Python client example.
- ACL least-privilege usersCreates dedicated ACL users with only the commands and key patterns each application needs.
- Command categoriesExplains the @read, @write, @dangerous and @admin categories used to scope permissions.
- Network exposure controlsShows bind and protected-mode settings plus iptables rules limiting port 6379 to application subnets.
- Disable destructive commandsShows how to rename or disable FLUSHALL, DEBUG and CONFIG with rename-command.
What you need
- A Redis server
- Python with the redis client library for the client example
- TLS certificate and key files for TLS setup
- iptables for the firewall example
Try asking
- Write an ACL user for my app that can only read keys matching cache:*
- Review my redis.conf for public exposure and protected-mode issues
- Show me how to restrict Redis port 6379 to my app's subnet with iptables
Good to know
- Examples use placeholder passwords and paths that must be replaced.
- Firewall example uses iptables, so other firewalls need different rules.
- The source describes the setup as a version 0.1.0 skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/redis-security/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
references/acls.md862 B -
references/auth.md2 KB -
references/network.md902 B
Alternatives to redis-security
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
redis-security: common questions
Should I use requirepass or ACL users for Redis?
The source says ACL users are preferred where possible. It describes requirepass as effectively the legacy default user shortcut.
What does the skill say is the most common Redis breach?
The source says the most common breach is a public-internet Redis with no authentication.
Does it cover TLS for Redis connections?
Yes. It shows tls-port, tls-cert-file and tls-key-file settings and a Python client example with ssl=True.
How do I install redis-security?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is redis-security free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is redis-security safe to use?
It scores 84 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to redis-security?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
