/prodsec-skills:oauth-scopes-handlingfrom prodsec-skills
Handles OAuth scope discovery from WWW-Authenticate headers and Protected Resource Metadata for MCP client authorization 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 clients MUST discover and use OAuth scopes from the WWW-Authenticate header or Protected Resource Metadata when authenticating to MCP servers. Scopes define the permissions the client is requesting and MUST be handled as follows:
scope parameter in the WWW-Authenticate header of a 401 response, it MUST use those scopes.scopes_supported in the Protected Resource Metadata (PRM) document.1. MCP client attempts to access MCP server resource
2. MCP server returns 401 Unauthorized with:
WWW-Authenticate: Bearer realm="mcp", scope="tools:read tools:execute"
3. MCP client extracts scope from WWW-Authenticate header
→ If scope present: use those scopes for authorization request
→ If scope absent: fetch PRM and use scopes_supported
4. MCP client requests authorization with the discovered scopes
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer realm="mcp-server",
scope="tools:read tools:execute resources:read"
The client should request exactly these scopes (or a subset) from the authorization server.
scope parameter from WWW-Authenticate header on 401 responsesscopes_supported from Protected Resource Metadata if no scope in 401What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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