anthropics/defending-code-reference-harness

Skills for threat modeling, scanning, triage, patching, plus an autonomous scanning harness you can /customize

7.4kStars on the repository
11Mods indexed here, across every type
26d agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

customize

01

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Adapt this C/C++ ASAN vulnerability pipeline to a different vulnerability class, target shape, language, or detection mechanism. Use when the user wants to port, migrate, retarget, customize, or fork the pipeline for something other than C/C++ memory-safety bugs — web apps, smart contracts, deserialization, ML…

7.4k +9 26d ago A 75 tokens

dnr-hunt

02

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Proactive threat hunt over web/application logs — no alert in hand. Profiles the corpus, runs a hypothesis-driven hunt loop with a mandatory written ledger, confirms suspects in source, detonates a local PoC, and writes INCIDENTS.json + INCIDENTREPORT.md. Use when asked to "hunt the logs", "find the campaign", "look…

7.4k +9 26d ago A 109 tokens

dnr-respond

03

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Incident response workup for a lead in hand — an alert, an IOC, or a /dnr-hunt finding. Scopes the lead across the logs, verdicts whether the attack succeeded, quantifies blast radius, confirms root cause in source with a local PoC, and writes a proposed (never executed) containment/remediation/recovery plan. Use when…

7.4k +9 26d ago A 120 tokens

patch

04

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Generate candidate fixes for verified security findings. Consumes TRIAGE.json (preferred), VULN-FINDINGS.json, INCIDENTS.json, or a vuln-pipeline results directory. Pipeline input is delegated to the execution-verified vuln-pipeline patch ladder; static-analysis input gets a per-finding patch subagent + independent…

7.4k +9 26d ago A 134 tokens

quickstart

05

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

The front door for this repo. With no argument: a 30-second intro, then an offer to walk you through your first run on the canary target. With a question: answers it from this repo's own docs and source, cites where it looked, and hands you the next command. Use for "how do I…", "why does…", "where is…", "can this…"…

7.4k +9 26d ago A 96 tokens

threat-model

06

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Build a threat model for a target codebase. Three modes: "interview" walks an application owner through the four-question framework and produces a threat model from their answers; "bootstrap" derives a threat model from the code plus past vulnerabilities (CVEs, git history, pentest reports) when no owner is available…

7.4k +9 26d ago A 133 tokens

triage

07

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Triage a batch of raw security findings. Verify each is real, collapse duplicates, re-rank by derived exploitability, and tag with an owner. Takes a directory or file of scanner output and writes TRIAGE.json + TRIAGE.md sorted by what actually needs engineering attention. Use when asked to "triage findings", "validate…

7.4k +9 26d ago A 99 tokens

verify

08

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Verify harness changes end-to-end without docker — drive the real pinned CLI against a header-capturing stub server with the exact env resolveauthenv() produces.

7.4k +9 26d ago A 34 tokens

vuln-scan

09

anthropics/defending-code-reference-harness

Skill Claude CodeCodex ✓ vendor

Static source-code vulnerability scan. Reads a target directory (and THREATMODEL.md if present), spawns parallel review subagents per focus area, and writes VULN-FINDINGS.json + .md for /triage to consume. Read-only — no building, running, or network. For execution-verified crashes, use vuln-pipeline instead. Use when…

7.4k +9 26d ago A 116 tokens