/prodsec-skills:rbacfrom prodsec-skills
Maps token claims to internal roles for role-based access control in MCP servers. Useful when building or reviewing authorization, permission models, or access control enforcement.
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 SHOULD implement RBAC as a defense-in-depth layer by mapping token claims to internal application roles. This adds authorization beyond what OAuth scopes alone provide.
roles, groups, or custom claims)Token claim:
{
"sub": "user-123",
"realm_access": {
"roles": ["mcp-admin", "data-reader"]
}
}
MCP server role mapping:
rbac:
role_mappings:
admin:
token_claim: "realm_access.roles"
claim_value: "mcp-admin"
permissions: ["tools:*", "config:*"]
reader:
token_claim: "realm_access.roles"
claim_value: "data-reader"
permissions: ["tools:read", "resources:read"]
default:
permissions: ["tools:list"]
| Layer | Control |
|---|---|
| OAuth scopes | What the token is authorized for (coarse-grained) |
| RBAC roles | What the user's role allows within the application (fine-grained) |
| Tool-level checks | What the specific tool permits for this role |
All three layers must agree for an operation to proceed.
What SKILL.md sets; muted values are Claude Code's defaults
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.
Other plugins' skills for the same job