/security-scan:security-scanfrom security-scan
Scans repositories for dependency vulnerabilities, license compliance, insecure code patterns, CVEs, and OWASP Top 10 risks. Provides evidence-backed security assessments without modifying code or dependencies.
Ships in security-scan. 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.
Produce an evidence-backed security assessment without changing application code or dependencies.
A question about security concepts, a single finding, or how to fix something is guidance: answer it directly and do not run the scan workflow or write files. Run the workflow below only when the user asks to scan, audit, or check a repository. If it could mean either, ask one short question.
Default to dependency, license-compliance, and code scanning. Apply these modes before running tools:
--deps-only: include license and runtime-version records; skip Semgrep.--code-only: skip dependency, license, and runtime-version scanners.--owasp A01 through A10: retain only findings mapped to that 2025 category.--severity critical,high: filter after normalizing scanner output.--export-bypass: read the reporting reference and export reviewed false positives only.--auto-remind: explain that reminders are client-specific. Do not claim they are enabled or
write client configuration until the user chooses a supported hook or automation.Reject incompatible --deps-only and --code-only requests instead of guessing.
Record the repository path, Git commit, requested modes, scope, and exclusions.
Read the scanner contract. Build the dependency plan, repeating
--exclude for each user-requested relative path:
python3 <skill-root>/scripts/scan_plan.py <project-root> \
[--exclude <relative-path>] --pretty
Review schema v2 fallback, note, and evidence fields, including root secrets and CI
records. Run ready records into a new evidence directory:
python3 <skill-root>/scripts/run_plan.py plan.json --out scan-evidence [--semgrep]
Never chain package managers with ||; a non-zero exit may mean findings, not tool failure.
Normalize the evidence before interpreting results:
python3 <skill-root>/scripts/normalize_findings.py scan-evidence --out security-findings.json
For repeat scans, pass --baseline security-findings.json. Use --format sarif for a GitHub
code-scanning upload. Keep the original lockfiles available for license provenance filtering.
Read every normalized scanner state and reason; normalization does not replace the completion
gate for failed, skipped, or inconclusive coverage.
Review every code finding at its flagged lines. Assign a verdict and evidence as defined in
the reporting contract, write verdicts.json, then rerun with
--verdicts verdicts.json. If this review is skipped, label those findings unreviewed.
rejected verdict's verdict_evidence.trace must contain at least one file:line
reference. validate_report.py fails the report and normalize_findings.py --format sarif
refuses to write SARIF output otherwise.Do not run planner records marked inconclusive; their command is null because project evidence
is ambiguous. Preserve the planner's reason and report the affected scope as incomplete. Mark
needs-lockfile, needs-export, and missing-tool entries as inconclusive or skipped. Offer
installation or preparation instructions, but do not perform them without approval.
Unless code scanning was disabled, pass --semgrep to the evidence runner. It appends this
root-level command as a code-scanning evidence record:
semgrep scan --config p/owasp-top-ten --json --metrics=off .
Parse the JSON even when the command exits non-zero. Treat Semgrep as pattern coverage, not proof that all OWASP risks were tested.
Read the OWASP 2025 mapping. Do not trust legacy 2017 or 2021 labels without translating them. Dependency findings map primarily to A03:2025.
Enrich actual CVE identifiers only when useful. Batch up to 100 IDs with the NVD cveIds
parameter, honor rate limits, and preserve the scanner result if enrichment fails. Do not
invent CVEs for GHSA, RUSTSEC, PYSEC, or other advisory identifiers.
Generate the result using the reporting contract. Unless the user requested files, summarize in chat. Never overwrite an existing report without confirmation.
Report every scanner as clean, findings, failed, skipped, or inconclusive. Include tool
versions and uncovered scope. A scan is complete only when all planned scanners have a recorded
state and every displayed snippet has passed redaction.
confirmed or rejected when a deployment or configuration fact outside
the repository decides it; use needs_validation with the exact unresolved_fact.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (ray0907/security-scan) — no native marketplace selected
npx claudepluginhub p/ray0907-security-scanOther plugins' skills for the same job