/prodsec-skills:consent-and-scopingfrom prodsec-skills
Enforces granular OAuth scopes and explicit user consent in MCP servers. Use when designing or reviewing permission models, scope definitions, or consent flows.
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 MUST implement granular OAuth scopes and ensure users explicitly consent to them. Scopes should map to specific tool capabilities, not broad "access everything" permissions.
Define scopes at the tool and action level:
| Scope | Permission |
|---|---|
email.send | Send emails via the email tool |
email.read | Read emails via the email tool |
files.read | Read files via the filesystem tool |
files.write | Write files via the filesystem tool |
database.query | Execute read-only database queries |
database.modify | Execute write database operations |
Avoid overly broad scopes like tools.all or admin that grant blanket access.
Users MUST explicitly consent to the scopes being requested. The consent flow should:
Granular scoping prevents confused deputy attacks where an MCP server is tricked into performing unauthorized actions:
email.read scope cannot be manipulated to send emailsfiles.read scope cannot be used to write or delete filesemail.send, files.read)scopes_supported)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mcp-server, oauth-scopes, consent-flow, security-review, confused-deputy
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