/code-security-skills:security-guidancefrom code-security-skills
Security-first development guidance based on OWASP ASVS. Auto-applies when planning or implementing code touching user input, authentication, data persistence, network communication, file I/O, cryptography, or access control.
Ships in code-security-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.
Read when SKILL.md points to them.
Security is a first-class requirement. Before completing any plan or producing any code that touches security-sensitive operations, consult the ASVS reference index below and apply all relevant guidance.
All generated code and plans must demonstrably adhere to the selected guidance, with safe defaults and explicit inline citations.
When to use: triggers in the index below. A task may match multiple sections; apply all of them.// ASVS 6.2.4: password checked against top-3000 list.If no section in the index matches a task that involves security-sensitive operations, or if guidance is conflicting or unclear, stop and flag the gap before proceeding. Do not guess or paraphrase guidance — escalate instead.
If the index below is empty, report that the reference index failed to load and list which ASVS chapters are likely relevant based on the task description.
Architectural requirements for the order and placement of encoding, escaping, and decoding operations.
When to use:
See data/asvs/V1.1.md for detailed guidance.
Output encoding and escaping requirements to prevent injection into interpreters (SQL, HTML, JS, OS, LDAP, etc.).
When to use:
See data/asvs/V1.2.md for detailed guidance.
Requirements for sanitizing untrusted HTML and dynamic content when encoding is not applicable.
When to use:
See data/asvs/V1.3.md for detailed guidance.
Requirements for safe memory handling and string operations in unmanaged or low-level code.
When to use:
See data/asvs/V1.4.md for detailed guidance.
Requirements for safely deserializing data from untrusted or external sources.
When to use:
See data/asvs/V1.5.md for detailed guidance.
Requirements for documenting expected inputs and business logic rules.
When to use:
See data/asvs/V2.1.md for detailed guidance.
Requirements for validating input data at application boundaries.
When to use:
See data/asvs/V2.2.md for detailed guidance.
Requirements for securing business workflows against manipulation, skipping steps, or race conditions.
When to use:
See data/asvs/V2.3.md for detailed guidance.
Requirements for protecting against automated abuse, scraping, and excessive requests.
When to use:
See data/asvs/V2.4.md for detailed guidance.
Requirements for documenting frontend security decisions and browser security configurations.
When to use:
See data/asvs/V3.1.md for detailed guidance.
Requirements to prevent browsers from misinterpreting response content types.
When to use:
See data/asvs/V3.2.md for detailed guidance.
Requirements for securely configuring cookie attributes.
When to use:
See data/asvs/V3.3.md for detailed guidance.
Requirements for HTTP security headers that instruct browsers to enforce security policies.
When to use:
See data/asvs/V3.4.md for detailed guidance.
Requirements for enforcing origin boundaries and preventing cross-origin attacks in browsers.
When to use:
See data/asvs/V3.5.md for detailed guidance.
Requirements for verifying the integrity of externally loaded resources.
When to use:
See data/asvs/V3.6.md for detailed guidance.
Miscellaneous browser security requirements not covered by other V3 sections.
When to use:
See data/asvs/V3.7.md for detailed guidance.
General security requirements applicable to all HTTP-based web services.
When to use:
See data/asvs/V4.1.md for detailed guidance.
Requirements for validating the structure and fields of HTTP messages.
When to use:
See data/asvs/V4.2.md for detailed guidance.
Security requirements specific to GraphQL APIs.
When to use:
See data/asvs/V4.3.md for detailed guidance.
Security requirements for WebSocket connections and message handling.
When to use:
See data/asvs/V4.4.md for detailed guidance.
Requirements for documenting file handling expectations and security decisions.
When to use:
See data/asvs/V5.1.md for detailed guidance.
Requirements for securely accepting and validating user-uploaded files.
When to use:
See data/asvs/V5.2.md for detailed guidance.
Requirements for securely storing files and preventing path traversal or server-side execution.
When to use:
See data/asvs/V5.3.md for detailed guidance.
Requirements for securely serving files to users for download.
When to use:
See data/asvs/V5.4.md for detailed guidance.
Requirements for documenting authentication decisions and mechanisms.
When to use:
See data/asvs/V6.1.md for detailed guidance.
Requirements for securely handling user passwords, including storage, policies, and breach detection.
When to use:
See data/asvs/V6.2.md for detailed guidance.
General security requirements for all authentication mechanisms.
When to use:
See data/asvs/V6.3.md for detailed guidance.
Requirements for managing authentication factor enrollment, recovery, and revocation.
When to use:
See data/asvs/V6.4.md for detailed guidance.
General requirements for implementing multi-factor authentication.
When to use:
See data/asvs/V6.5.md for detailed guidance.
Requirements for authentication mechanisms that use a separate out-of-band channel.
When to use:
See data/asvs/V6.6.md for detailed guidance.
Requirements for cryptographic authentication mechanisms such as WebAuthn, passkeys, and client certificates.
When to use:
See data/asvs/V6.7.md for detailed guidance.
Requirements for authenticating users via an external identity provider using federated protocols.
When to use:
See data/asvs/V6.8.md for detailed guidance.
Requirements for documenting session management decisions.
When to use:
See data/asvs/V7.1.md for detailed guidance.
Foundational requirements for creating and issuing secure session tokens.
When to use:
See data/asvs/V7.2.md for detailed guidance.
Requirements for limiting session duration and implementing idle or absolute timeouts.
When to use:
See data/asvs/V7.3.md for detailed guidance.
Requirements for securely terminating sessions on logout or credential change.
When to use:
See data/asvs/V7.4.md for detailed guidance.
Requirements for detecting and preventing session theft, fixation, and hijacking.
When to use:
See data/asvs/V7.5.md for detailed guidance.
Requirements for session management in federated identity and SSO scenarios.
When to use:
See data/asvs/V7.6.md for detailed guidance.
Requirements for documenting authorization rules and decision factors.
When to use:
See data/asvs/V8.1.md for detailed guidance.
Requirements for function-level, data-level, and field-level access control enforcement.
When to use:
See data/asvs/V8.2.md for detailed guidance.
Requirements for enforcing authorization at the correct service tier and handling permission changes promptly.
When to use:
See data/asvs/V8.3.md for detailed guidance.
Additional authorization requirements for multi-tenant systems and administrative interfaces.
When to use:
See data/asvs/V8.4.md for detailed guidance.
Requirements for verifying the source, signature, and integrity of self-contained tokens.
When to use:
See data/asvs/V9.1.md for detailed guidance.
Requirements for the content, claims, and lifetime of self-contained tokens.
When to use:
See data/asvs/V9.2.md for detailed guidance.
General security requirements applicable to all OAuth and OIDC implementations.
When to use:
See data/asvs/V10.1.md for detailed guidance.
Security requirements for applications acting as an OAuth client.
When to use:
See data/asvs/V10.2.md for detailed guidance.
Security requirements for APIs acting as an OAuth resource server.
When to use:
See data/asvs/V10.3.md for detailed guidance.
Security requirements for OAuth authorization servers that issue tokens.
When to use:
See data/asvs/V10.4.md for detailed guidance.
Security requirements for applications acting as an OIDC relying party (client).
When to use:
See data/asvs/V10.5.md for detailed guidance.
Security requirements for OpenID Providers that authenticate users and issue ID tokens.
When to use:
See data/asvs/V10.6.md for detailed guidance.
Requirements for managing and recording user consent in OAuth and OIDC flows.
When to use:
See data/asvs/V10.7.md for detailed guidance.
Requirements for documenting and inventorying cryptographic implementations.
When to use:
See data/asvs/V11.1.md for detailed guidance.
Requirements for correctly implementing cryptographic operations using vetted libraries.
When to use:
See data/asvs/V11.2.md for detailed guidance.
Requirements for selecting and configuring approved encryption algorithms.
When to use:
See data/asvs/V11.3.md for detailed guidance.
Requirements for selecting approved hash functions and HMAC constructions.
When to use:
See data/asvs/V11.4.md for detailed guidance.
Requirements for generating cryptographically secure random values.
When to use:
See data/asvs/V11.5.md for detailed guidance.
Requirements for using public key cryptography for signing and asymmetric encryption.
When to use:
See data/asvs/V11.6.md for detailed guidance.
Requirements for cryptographic protections applied to data while it is actively being used.
When to use:
See data/asvs/V11.7.md for detailed guidance.
General requirements for TLS configuration including protocol versions, cipher suites, and certificate management.
When to use:
See data/asvs/V12.1.md for detailed guidance.
Requirements for HTTPS on externally accessible services, including publicly trusted certificates.
When to use:
See data/asvs/V12.2.md for detailed guidance.
Requirements for encrypted and authenticated communication between internal services and backends.
When to use:
See data/asvs/V12.3.md for detailed guidance.
Requirements for documenting security-relevant configuration decisions.
When to use:
See data/asvs/V13.1.md for detailed guidance.
Requirements for securely configuring the application's outbound backend connections.
When to use:
See data/asvs/V13.2.md for detailed guidance.
Requirements for securely storing, accessing, and rotating application secrets and credentials.
When to use:
See data/asvs/V13.3.md for detailed guidance.
Requirements for preventing the application from leaking sensitive information through errors, headers, or responses.
When to use:
See data/asvs/V13.4.md for detailed guidance.
Requirements for identifying, classifying, and documenting protection requirements for sensitive data.
When to use:
See data/asvs/V14.1.md for detailed guidance.
Requirements for protecting sensitive data from unauthorized access, leakage, and excessive exposure.
When to use:
See data/asvs/V14.2.md for detailed guidance.
Requirements for protecting sensitive data stored or processed on client devices and browsers.
When to use:
See data/asvs/V14.3.md for detailed guidance.
Requirements for documenting dependency risk, dangerous functionality, and remediation policies.
When to use:
See data/asvs/V15.1.md for detailed guidance.
Requirements for dependency management, supply chain security, and architectural isolation of risky components.
When to use:
See data/asvs/V15.2.md for detailed guidance.
Requirements for defensive coding practices in security-sensitive code paths.
When to use:
See data/asvs/V15.3.md for detailed guidance.
Requirements for safe concurrency to prevent race conditions and data corruption in multi-threaded code.
When to use:
See data/asvs/V15.4.md for detailed guidance.
Requirements for documenting logging decisions and defining which events must be recorded.
When to use:
See data/asvs/V16.1.md for detailed guidance.
General requirements for what application logs should record and how.
When to use:
See data/asvs/V16.2.md for detailed guidance.
Requirements for logging security-relevant events such as authentication, authorization failures, and sensitive actions.
When to use:
See data/asvs/V16.3.md for detailed guidance.
Requirements for protecting log data from tampering, injection, and unauthorized access.
When to use:
See data/asvs/V16.4.md for detailed guidance.
Requirements for handling errors safely without leaking sensitive information to users.
When to use:
See data/asvs/V16.5.md for detailed guidance.
Security requirements for TURN server deployments used in WebRTC applications.
When to use:
See data/asvs/V17.1.md for detailed guidance.
Security requirements for WebRTC media servers handling real-time audio and video streams.
When to use:
See data/asvs/V17.2.md for detailed guidance.
Security requirements for WebRTC signaling servers that coordinate peer connections.
When to use:
See data/asvs/V17.3.md for detailed guidance.
references/aisvs/C1.1.md (opens in a new tab)references/aisvs/C1.2.md (opens in a new tab)references/aisvs/C1.3.md (opens in a new tab)references/aisvs/C1.4.md (opens in a new tab)references/aisvs/C1.5.md (opens in a new tab)references/aisvs/C10.1.md (opens in a new tab)references/aisvs/C10.2.md (opens in a new tab)references/aisvs/C10.3.md (opens in a new tab)references/aisvs/C10.4.md (opens in a new tab)references/aisvs/C10.5.md (opens in a new tab)references/aisvs/C10.6.md (opens in a new tab)references/aisvs/C10.7.md (opens in a new tab)references/aisvs/C10.8.md (opens in a new tab)references/aisvs/C10.9.md (opens in a new tab)references/aisvs/C11.1.md (opens in a new tab)references/aisvs/C11.2.md (opens in a new tab)references/aisvs/C11.3.md (opens in a new tab)references/aisvs/C11.4.md (opens in a new tab)references/aisvs/C11.5.md (opens in a new tab)references/aisvs/C11.6.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub owasp/secure-agent-playbook --plugin code-security-skills11 skills in this plugin
/api-security-reviewComprehensive API security review against OWASP API Security Top 10 (2023). Use when reviewing OpenAPI/Swagger specs, auditing REST/GraphQL/gRPC implementations, testing authentication mechanisms, or checking API gateway configurations. Covers BOLA/IDOR, broken auth, mass assignment, rate limiting, SSRF, and more with real-world attack scenarios./code-review-securitySecurity-focused code review mapped to OWASP Top 10 and ASVS. Use when reviewing pull requests, auditing files or modules for vulnerabilities, or performing pre-merge security gate checks. Covers injection, auth, authorization, cryptography, data exposure, misconfiguration, and deserialization./iac-security-reviewSecurity review of Infrastructure-as-Code (Terraform, Kubernetes, CloudFormation). Use when reviewing IaC files for misconfigurations, overpermissioning, exposed resources, missing encryption, secrets in code, and supply chain risks. Covers CIS benchmarks and cloud security best practices./mobile-code-reviewSecurity-focused review of native Android and iOS mobile app source code against OWASP MASVS v2.1.0. Use when reviewing mobile codebases, mobile PR diffs, or auditing a mobile module./prd-securability-enhancementEnhance PRDs, feature specs, user stories, or product briefs with explicit OWASP ASVS coverage and FIASSE v1.0.4 SSEM implementation guidance — before code is written. Trigger on "harden the PRD/spec", "choose ASVS level", "map features to ASVS", "find missing security requirements", "add NFRs for security", "make these requirements securable", "security-review my product brief". For code review use securability-engineering-review; for code generation use securability-engineering./sca-auditScan project dependencies for known vulnerabilities (CVEs). Use when reviewing dependency files (package.json, requirements.txt, go.mod, pom.xml, Gemfile, Cargo.toml, etc.), triaging Dependabot/Renovate alerts, or performing pre-deployment security checks.2 plugins ship this exact skill · first indexed Oct 8, 2026
Other plugins' skills for the same job