/prodsec-skills:least-privilege-and-mediationfrom prodsec-skills
Enforces least privilege and complete mediation in access control design. Useful for reviewing authorization models, RBAC, API access, and Zero Trust implementations.
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.
These two principles work together: least privilege limits what an entity can do, and complete mediation ensures that every access attempt is checked against those limits.
Principle: Individuals and entities should only be given sufficient access and permissions to complete their assigned duties, no more.
| Context | Least-Privilege Practice |
|---|---|
| Database | Application accounts use the lowest privilege level; separate accounts per trust level |
| Kubernetes | No wildcards in RBAC; no cluster-admin; explicit verbs and resources |
| Cloud IAM | Individual accounts; IAM groups; no root credentials for daily operations |
| OS/containers | Non-root users; readOnlyRootFilesystem; no-new-privileges |
| API access | Scoped tokens; short-lived credentials; per-operation authorization |
Principle: Every request by a subject to access an object must undergo a valid and effective authorization process that the subject cannot bypass or disable.
This is a pillar of Zero Trust Architecture: never assume a request is authorized because it came from inside the network or from a previously authenticated session.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub redhatproductsecurity/prodsec-skills --plugin prodsec-skills130 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.
/agentic-actions-auditorAudits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations./agent-identityEnforce that AI agents have their own identity separate from human users. Use when designing, building, or reviewing agent identity management, agent authentication, or agent permission models./agent-to-agent-authEnforce SPIFFE/SPIRE plus mTLS for agent-to-agent communication. Use when designing, building, or reviewing authentication between AI agents or multi-agent systems.Other plugins' skills for the same job