/security-toolkit:security-vuln-analyzerfrom security-toolkit
Evidence-led security vulnerability analysis, fix verification, and guarded fix development for source repositories. Use for reported or suspected vulnerabilities, primary-control weaknesses, secure-code review, cross-model verification, remediation verification, and candidate security fixes. Supports Claude Code and Codex/ChatGPT Desktop with mandatory cold cross-provider verification for security claims.
Ships in security-toolkit. 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.
Analyze security claims without allowing the orchestrator to exercise security judgment. The orchestrator captures inputs, pins revisions, dispatches isolated roles, checks structure and citations, applies deterministic routing, and renders role outputs. Discovery and verification agents make all security assessments.
Read references/orchestrator-contract.md before doing anything else. Its permissions and prohibitions apply to every mode and cannot be relaxed after a role fails.
Choose exactly one entry point from the user's request:
--verify-fix: follow references/fix-verification-mode.md.--develop-fix: follow references/develop-fixes-mode.md.All modes use the same host/model matrix, isolation rules, provenance records, role status values, and one-retry limit. Fix modes add their own author/verifier and frozen-test boundaries.
Select the current harness from an explicit host declaration when the harness exposes one. Otherwise inspect only deterministic runtime markers: Claude Code requires a Claude Code session marker such as CLAUDECODE; Codex/ChatGPT requires a Codex task/session marker such as CODEX_THREAD_ID, CODEX_SESSION_ID, or CODEX_SANDBOX. Exactly one host family must match. If neither or both match, stop with INCOMPLETE: UNKNOWN_OR_AMBIGUOUS_HOST and list the observed marker names without values; do not guess from installed executables. Then read exactly one runtime guide:
references/runtime-claude.mdreferences/runtime-codex.mdThe required mapping is:
| Host | Native discovery, fix author, and verifier | Cross-provider verifier |
|---|---|---|
| Claude Code | claude-opus-5-5, High | gpt-6.1-sol, High |
| Codex/ChatGPT | gpt-6.1-sol, High | claude-opus-5-5, High |
Before dispatch, establish executable availability where applicable, authentication, exact model selection, High reasoning effort, structured-output support, read isolation, explicit working directory, and authorization to share the frozen verification packet with the other provider. Never replace a missing cross-provider leg with a same-family model. If mandatory preflight fails, preserve an incomplete analysis and do not label any claim CROSS-MODEL VERIFIED.
CODE ABSENT AT PINNED REVISION; do not reinterpret absence as remediation.references/source-citations.md. Include only declared snapshots and allowed ranges; never derive the registry from a model or role.Use references/rust-security.md when the selected target is written in Rust. Product-
specific architecture, operational controls, prior reviews, and evaluation material are
run inputs, not skill-package content. Load them only when the user authorizes the
specific external context, declare their repository and revision, and keep them within
the same evidence and supporting-context boundaries as source repositories.
For general evidence collection, threat-boundary mapping, and class enumeration, use references/evidence-validation-techniques.md, references/threat-modeling-methodology.md, references/cwe-verification-procedures.md, and references/confirmation-bias-in-security-review.md.
Read references/discovery-contract.md. Freeze the shared scope, evidence rules, schema, and three role prompts before dispatch. Launch three fresh native-model agents in parallel at High effort:
Use fresh agent context. In Codex, set fork_turns: none. No discovery agent may see another discovery result, prior consensus, agent identity, or orchestrator reasoning. Each receives only the frozen packet and the references needed for its assigned role.
Each role must return the schema defined in discovery-contract.md, including evidence, counterevidence, assumptions, uncertainty, primitive class, variant family, proposed disposition, affects_security_claim, context dependencies, structured scoring, and deterministic checks. Apply its literal post-schema checks for finder-local IDs, scoring sentinels, and contract version/pitfalls before verification. Roles emit quote: "" for repository citations; derive exact quotations using references/source-citations.md before completion checks or downstream use. Role 3 emits the versioned Invariant + Adversarial Test Contract when a security candidate depends on a control or remediation invariant.
Wait for the discovery barrier. Accept only COMPLETE, MALFORMED, FAILED, or MISSING. Retry a mandatory malformed or failed role once with the same frozen contract. Require all three roles to be effectively COMPLETE after full-schema and citation validation before any verifier dispatch, including Stage 1. If a role remains non-complete, preserve its parseable evidence without interpretation and end the run INCOMPLETE. Never fill, reinterpret, or substitute for the role.
Apply references/orchestrator-contract.md as a mechanical transformation only:
orchestrator-contract.md, using its single immutable primary_revision frozen before dispatch. Discovery IDs are role-local only.The orchestrator cannot originate a candidate, repair incomplete evidence, choose among role opinions, change a disposition, severity, or confidence, or suppress counterevidence. It must group identical stable IDs deterministically into a bundle of role-scoped records from verified derived artifacts, retaining the raw artifacts and provenance; it never merges their judgment fields. Different stable IDs remain separate. A bundled candidate may appear by reference under every role-emitted disposition, but unique counts use the stable ID once and security totals include only CROSS-MODEL VERIFIED security claims.
For hardening and reliability candidates, route to mandatory dual verification if any complete discovery role emits affects_security_claim: true. Bypass verification only when every mandatory role is complete and every emitted value is false; a missing value is MALFORMED.
Read references/cross-model-verification.md. Every vulnerability and primary-control claim receives one native and one cross-provider verifier at High effort. Both are fresh and isolated.
Run both verifiers in two stages:
Each Stage 2 verifier returns CONFIRMED, REFUTED, or INCONCLUSIVE with gate-level evidence and counterevidence. Track all four provider/stage artifacts. Retry a malformed or failed stage once with the same frozen packet. A verifier may not be replaced, Stage 2 may not replace Stage 1, and all four artifacts must be COMPLETE before reconciliation.
If the cross-provider process, authentication, requested model, isolation, structured output, or sharing authorization is unavailable, fail closed as INCOMPLETE. Preserve useful collected material, but confer no verified status.
Read references/deterministic-validation.md. Run scripts/deterministic-check.py for typed checks predeclared in the candidate packet. Roles cannot supply commands: source checks use the fixed digest path, and tests can only reference an exact proposition hash, argument vector, routing table, and complete registry digest frozen before discovery. Record the adapter version, argument vector, revision, inputs, literal output, exit status, and frozen result-routing table. Do not invent or rebind a test after seeing discovery or verifier output, and do not interpret the result.
Route without judgment:
CONFIRMED, with citations and revision checks passing: CROSS-MODEL VERIFIED.REFUTED, each with non-empty counterevidence whose citations and revisions validate: REFUTED; retain as a false-positive record.FROZEN_TEST_REFERENCE, its proposition hash equals the disputed proposition, and its registry digest and result-to-status table exactly match the pre-discovery packet. A source digest can validate artifact identity but cannot resolve a security claim. With zero, multiple, unregistered, unbound, or source-digest-only checks/tables, route DISPUTED.DISPUTED.INCONCLUSIVE: NOT VERIFIED; one INCONCLUSIVE and one different result: DISPUTED.INCOMPLETE; never verified.No majority voting, confidence averaging, third-model tie-breaker, or orchestrator selection is permitted.
Agents, not the orchestrator, provide classification and risk judgments. Use:
references/scoring-frameworks.md for CVSS 4, dated EPSS data, environment notes, and separated finding dimensions;references/compliance-frameworks.md only when the request calls for compliance mapping;references/remediation-patterns.md for root-cause remediation patterns;references/premature-fix-confirmation.md to avoid mistaking a plausible patch for a verified fix.Distinguish static confirmation, test written, test observed, and unvalidated test claims. A test file or proposed command is not evidence that the test passed. Missing secure-code guidance such as a SAFETY explanation may remain a valid hardening or clarity concern without being promoted to a vulnerability.
Render references/report-template.md without adding security opinions. Report:
CROSS-MODEL VERIFIED, REFUTED, DISPUTED, NOT VERIFIED, or INCOMPLETE;Hardening and reliability notes must not inflate vulnerability totals. Preserve false-positive records and incomplete role/provider failures so the report does not imply work occurred when it did not.
For --verify-fix, follow references/fix-verification-mode.md. Preserve the original finding and frozen contract, compare base and patched revisions, use independent cold verifiers, and let only the frozen deterministic oracle settle a split.
For --develop-fix, follow references/develop-fixes-mode.md. The author cannot verify its own patch. Keep the author trace out of verifier packets, execute frozen tests on base and candidate revisions, preserve disclosure-safe landing, and require human approval before merge.
Neither fix mode may silently degrade cross-provider verification or bypass the orchestrator contract.
Load references by phase rather than reading the entire package automatically:
references/orchestrator-contract.md, references/discovery-contract.md, references/cross-model-verification.mdreferences/runtime-claude.md, references/runtime-codex.mdreferences/evidence-validation-techniques.md, references/threat-modeling-methodology.md, references/cwe-verification-procedures.md, references/confirmation-bias-in-security-review.mdreferences/deterministic-validation.md, references/premature-fix-confirmation.mdreferences/rust-security.mdreferences/scoring-frameworks.md, references/compliance-frameworks.md, references/remediation-patterns.mdreferences/report-template.md, references/fix-verification-mode.md, references/develop-fixes-mode.mdUse the role-specific schemas schemas/discovery-result.schema.json, schemas/verifier-stage1-result.schema.json, schemas/verifier-stage2-result.schema.json, schemas/fix-verifier-stage2-result.schema.json, and schemas/computation-result.schema.json, plus the packaged non-model adapter scripts/deterministic-check.py. Resolve each path from this skill directory before launching a child process; the target repository working directory does not change schema resolution. Use the fix Stage 2 schema for --verify-fix and verification invoked by --develop-fix; use the ordinary Stage 2 schema for analysis. All paths are package-relative. Do not fetch missing references from GitHub, a plugin cache, or another installed copy. A missing required reference or adapter makes the affected phase INCOMPLETE.
agents/openai.yaml (opens in a new tab)references/compliance-frameworks.md (opens in a new tab)references/confirmation-bias-in-security-review.md (opens in a new tab)references/cross-model-verification.md (opens in a new tab)references/cwe-verification-procedures.md (opens in a new tab)references/deterministic-validation.md (opens in a new tab)references/develop-fixes-mode.md (opens in a new tab)references/discovery-contract.md (opens in a new tab)references/evidence-validation-techniques.md (opens in a new tab)references/fix-verification-mode.md (opens in a new tab)references/orchestrator-contract.md (opens in a new tab)references/premature-fix-confirmation.md (opens in a new tab)references/remediation-patterns.md (opens in a new tab)references/report-template.md (opens in a new tab)references/runtime-claude.md (opens in a new tab)references/runtime-codex.md (opens in a new tab)references/rust-security.md (opens in a new tab)references/scoring-frameworks.md (opens in a new tab)references/source-citations.md (opens in a new tab)references/threat-modeling-methodology.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub swannysec/robot-tools --plugin security-toolkit5 skills in this plugin
/gha-hardeningGitHub Actions security hardening, configuration best practices, and
vulnerability detection. Covers workflow syntax, trigger security,
permission management, secrets handling, OIDC federation, supply chain
protection, self-hosted runner hardening, attack pattern recognition,
and security scanning tool rules.
60% security/hardening content, 40% implementation/configuration guidance.
Use this skill when users need to:
(1) Harden GitHub Actions workflows against injection, supply chain, or
privilege escalation attacks
(2) Configure workflow permissions, secrets, OIDC, or environment
protection rules securely
(3) Understand dangerous workflow patterns (pull_request_target + checkout,
workflow_run artifact poisoning, script injection via ${{ }})
(4) Choose or configure security scanning tools (zizmor, scorecard,
actionlint, poutine, harden-runner, Raven)
(5) Respond to supply chain incidents (tj-actions, reviewdog, compromised
action tags)
(6) Audit workflows for OWASP CI/CD risks, CIS benchmark compliance, or
OpenSSF Scorecard checks
(7) Write or review workflow YAML (triggers, matrix, reusable workflows,
composite actions, caching, artifacts, environments)
(8) Secure self-hosted runners (ephemeral patterns, network egress,
persistence detection, runner groups)
/secret-scanning-investigatorInvestigate GitHub secret scanning alerts to trace provenance, gather context,
assess risk, and produce a structured report for security professionals.
Handles one or more alerts in a single investigation using only open-source tools.
/vantaVanta compliance platform operations — posture analysis, audit readiness,
vulnerability management, personnel compliance, and flexible reporting.
Complements the official vanta-mcp-plugin with analysis workflows,
direct API access for write operations, and reporting capabilities
not available in the Vanta UI.
50% compliance analysis/reporting, 30% API operations, 20% workflow orchestration.
Use this skill when users need to:
(1) Assess compliance posture across frameworks (gap analysis, control coverage,
cross-framework overlap)
(2) Prepare for audits (readiness checklist, missing evidence, policy expiry,
personnel compliance)
(3) Track and triage vulnerabilities with SLA awareness (approaching deadlines,
missed SLAs, severity breakdown)
(4) Monitor personnel compliance (overdue training, policy acceptance,
deactivated personnel in scope)
(5) Generate compliance reports and executive summaries (posture, readiness,
vulnerability SLA, personnel, custom)
(6) Perform bulk low-risk operations (set control owners, acknowledge SLA
misses, reactivate test entities, update person metadata)
(7) Understand risk and vendor impact on audit readiness (unmitigated risks,
stale vendor reviews, risk-control linkage)
(8) Query Vanta data that is hard to surface in the Vanta UI (cross-framework
control overlap, integration resource inventory, historical test status)
/vercel-forensicsPreservation-first forensic evidence collection and analysis for Vercel
security incidents (OAuth supply-chain compromise, env-var exposure,
audit-log triage). Produces a frozen evidence directory, an 8-section
findings report, and a rotation-worklist CSV for downstream rotation
tooling.
Strictly read-only. Never rotates, revokes, deletes, or redeploys. The
banned-ops list is absolute. Rotation is handed off to
subinium/vercel-incident-toolkit Flow C or codyhxyz/metapod-harden
`/rotate-vercel-env <KEY>` using this skill's CSV as input.
Use this skill when:
(1) Vercel publishes a security incident and you need to assess exposure
across your team / account / linked GitHub org.
(2) A customer suspects env-var exposure and wants an evidence bundle
plus prioritized rotation worklist by lunch Monday.
(3) Audit-log triage across Vercel activity + GitHub audit log is needed
without contaminating the very log under investigation.
(4) Forensic handoff to a rotation tool is required — this skill produces
the input, another tool performs the rotation.
Evidentiary bar: engineering-triage grade (SHA-256 manifest + software
WORM via `chmod -R a-w`). NOT court-admissible. For legally admissible
exhibits, use Velociraptor / KAPE / Magnet AXIOM, or wait for v2 which
adds GPG signing + dual-location manifests + RFC 3161 time-stamping.