AI News Daily한국어
← AI tool tips
Claude CodeGoing around, but actuallyAdded Dec 6

Running Anthropic's security review skills in Claude Code (it isn't a newly released harness)

A post on X says Anthropic just open-sourced an autonomous bug-hunting harness for Claude Code. The repo, anthropics/defending-code-reference-harness, is real but not new: it was created in May 2026, was last updated in August, and its README says it is not maintained and does not accept contributions. The post's "four-model split" (Haiku for recon, Fable for hunting, Sonnet for patching, Opus for sign-off) isn't defined in the repo either. Each subcommand (recon, run, report, patch) just takes one --model, and the "JEV" layer the post mentions doesn't exist in the repo.

The useful part is the Claude Code skills. Open the repo and /quickstart, /threat-model, /vuln-scan, /triage, /patch and /customize are ready to use. Threat modeling, static scanning and triage only read and write files, so they're safe to run without a sandbox as long as you approve each tool use.

  1. Clone the repo and start Claude Code. Pin subagents to the same model with an environment variable.
git clone https://github.com/anthropics/defending-code-reference-harness
cd defending-code-reference-harness
export CLAUDE_CODE_SUBAGENT_MODEL=<model-id>
claude
  1. Build a threat model on the practice target (targets/canary), then scan within its scope.
/quickstart
/threat-model bootstrap targets/canary
/vuln-scan targets/canary
  1. Verify, dedupe and rank the findings, then draft patches for the confirmed ones.
/triage targets/canary/VULN-FINDINGS.json
/patch ./TRIAGE.json --repo targets/canary

The output is THREAT_MODEL.md, VULN-FINDINGS.json, TRIAGE.json and PATCHES/. It's a static review that never runs the code, so expect more false positives on real projects.

The command in the post (bin/vp-sandboxed run drlibs ... --auto-focus) is the autonomous pipeline, which executes target code. It needs Docker and gVisor, and only runs after you build the isolated environment once with ./scripts/setup_sandbox.sh. It needs a Claude API key (or CLAUDE_CODE_OAUTH_TOKEN, or Bedrock) and is tuned for C/C++ memory bugs. The rule that a crash must reproduce 3 out of 3 times before it counts is accurate.

python3 -m venv .venv && .venv/bin/pip install -e .
./scripts/setup_sandbox.sh
bin/vp-sandboxed run drlibs --model <model-id> --runs 3 --parallel --stream --auto-focus

To port it to another language or bug class, use /customize. For a managed option, Anthropic points to its separate Claude Security product.

Get notified when a new tip lands

Tip alerts only go out in the app. Install it and turn notifications on.

Get the app

All tips →