Finds exploitable vulnerabilities in a repository or selected paths by tracing untrusted input to enforcement points. Use for single-pass security audits.
Ships in codex-security. 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.
Find vulnerabilities an attacker could actually exploit. Start from code that accepts untrusted input or exercises authority. Follow it to the operation it controls. Check the real enforcement point, its callers, and the strongest evidence that the suspected attack is blocked. For an exposed credential, the relevant path is who can read it and what access it grants.
Use the core audit for the independent baseline, focused investigations, and validation. Give reviewers the authorized source and security context. Keep scan administration in the parent. Report findings with source lines and concrete impact. Record what you reviewed and what remains uncertain.
Before reading target source, bind the requested target and scope:
CODEX_SECURITY_SCAN_ID and CODEX_SECURITY_SCAN_DIR, use that registered scan. Follow its launch instructions, or the SDK handoff if the SDK provided no instructions.get_codex_security_scan_context using its handoff token when supplied. Without a scan ID, a confirmed Codex desktop host calls start_codex_security_prompt_only_scan with mode: "standard". Other hosts call start_codex_security_standard_scan. Pass the requested target, scope and exact user context. If deferred, look up just the named tool. Require a running Standard scan. Keep its target, scope, phase and token, follow the account access advisory only when directed at launch, and begin the source review. Use managed scan progress at the next phase change.Keep the target read-only and review its current source offline. Preserve exact user context as analysis data. Only the parent may read an explicitly supplied URL, once, if the user explicitly authorized that read. Do not follow links. Keep an existing investigation allowance unchanged across workers and resumes. Only if the user requests a time limit in this conversation and none was supplied, render the time budget once before source review using the requested minutes and actual UTC start and deadline.
Start the independent audit while mapping the repository. At the first usable threat model, follow save scan results. Checkpoint candidates as they arrive. Once assigned reviews return, validate each distinct broken control once and submit the findings and honest coverage to the same scan. The SDK owns finalization for its scans.
agents/openai.yaml (opens in a new tab)references/desktop-scan.md (opens in a new tab)references/managed-scan.md (opens in a new tab)references/scan-artifacts-and-ledger.md (opens in a new tab)references/scan-results.md (opens in a new tab)references/scoped-paths.md (opens in a new tab)references/sdk-files.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
20 skills in this plugin
/assess-patch-riskAssess an immutable patch artifact's program impact, regression risk, and auto-merge eligibility. Use for generated patch files, provider pull-request diffs, or commit ranges when reviewers need evidence about affected runtime paths, contracts, tests, and recoverability. This skill is read-only and does not generate, edit, apply, push, or merge the patch./attack-path-analysisUse when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans./check-skillsReview agent skills before installation or use. Use when a user or security team wants to check a skill file, bundle, or collection for unsafe instructions, scripts, permissions, or external dependencies./cloud-findingsRead existing Codex Security Cloud findings, reports, recorded assignment and verification, and scan status from the connected account. Use for Cloud read requests and finding links, not local scans or requests to change Cloud data./deep-security-scanRun repeated Standard security scans of a repository or scoped path when the user requests a deep, exhaustive, or multi-pass audit. For changes to a PR, commit, branch or working tree, use security-diff-scan./define-security-policyDefine, review, or update SECURITY.md guidance for a repository or component. Use when the user wants to clarify what Codex Security should review, what is out of scope, which security properties must hold, or whether existing guidance still matches the code./codex-security:security-scanfrom codex-security
npx claudepluginhub kael-odin/codex-plugins-zh --plugin codex-securityOther plugins' skills for the same job