/prodsec-skills:jwt-token-enforcementfrom prodsec-skills
Enforces short-lived JWT access token validation for inference engines, including signature verification, claim checks, and revocation blacklisting.
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.
Inference engines MUST enforce short-lived JWT access tokens with a maximum TTL of 15 minutes. Tokens MUST be validated against the IdP's JWKS endpoint on every request.
Every request to the inference engine must include a JWT with the following validated claims:
{
"iss": "https://your-idp.com",
"aud": "https://your-engine.com/inference.api",
"scope": "chat:read inference:write",
"sub": "user|service-id",
"exp": "now+15min (maximum)",
"jti": "unique_id_for_revocation",
"cnf": "x509-thumbprint"
}
| Claim | Validation Rule |
|---|---|
iss | MUST match the configured external IdP issuer URL exactly |
aud | MUST match the inference engine's audience identifier |
scope | MUST contain the required scopes for the requested operation |
sub | MUST identify the user or service account making the request |
exp | MUST be present and no more than 15 minutes from iat |
jti | MUST be unique; check against revocation blacklist |
cnf | If mTLS is used, MUST match the client certificate thumbprint (sender-constrained token) |
exp exceeding 15 minutes from issuanceiss matches the trusted IdPaud matches the engine's identifierjti against revocation blacklist (Redis or local cache)scope contains permissions required for the operationcnf claim matches client certificateWhat 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