/prodsec-skills:hardening-localfrom prodsec-skills
Hardens locally deployed MCP servers against network exposure and host compromise. Covers loopback binding, process isolation, and filesystem restrictions.
Ships in prodsec-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
MCP servers running locally on a user's machine require specific hardening to prevent network exposure and protect the host.
Bind to the loopback interface only:
# CORRECT - bind to loopback only
host: 127.0.0.1
port: 8080
# WRONG - exposed to the entire network
host: 0.0.0.0
port: 8080
Binding to 0.0.0.0 exposes the MCP server to the local network and potentially the internet, allowing unauthorized access.
| Control | Details |
|---|---|
| Dedicated user | Run as a dedicated low-privilege OS user, not the user's main account |
| No root | Never run as root |
| Minimal permissions | Grant only the filesystem and network permissions needed |
| Filesystem isolation | Use containers or chroot to limit host filesystem access |
| Control | Details |
|---|---|
| Containers | Run in a container (Podman, Docker) to isolate from the host |
| chroot | Use chroot jail to limit filesystem visibility |
| Read-only access | Mount host directories as read-only unless the server requires write access |
| No home directory access | Do not grant access to the user's entire home directory |
127.0.0.1 only, never 0.0.0.0What SKILL.md sets; muted values are Claude Code's defaults
130 skills in this plugin
/address-sanitizerAddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs.
/admin-interface-securitySecure the administrative interface of model registries. Use when building, deploying, or reviewing model registry access controls and admin interfaces./aflppAFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C/C++ projects.
npx claudepluginhub redhatproductsecurity/prodsec-skills --plugin prodsec-skillsOther plugins' skills for the same job