Anthropic shares a six-step framework for using Claude Opus to secure source codebases: threat modeling, sandboxing, discovery, verification, triage, and patching. Key insight is that vulnerability discovery is now easy to parallelize with LLMs, but the real bottleneck has shifted to verification and triage. The guide covers practical techniques like using independent verifier agents to cut false positives, deduplicating findings by root cause, severity scoring based on reachability and preconditions, and validating patches with adversarial re-scanning. Anthropic reports having disclosed 1,596 vulnerabilities in open source software as of May 2026, with only 97 patched so far. A reference harness and skills repo are provided to get started.

23m read timeFrom eugeneyan.com
Post cover image
Table of contents
The find-and-fix loop1. Threat model: Define what counts as a vulnerability2. Sandbox: Run agents safely and verify exploitability3. Discovery: Provide rich context, shorter prompts, and useful tools4. Verification: Filter out non-exploitable findings5. Triage: Deduplicate by root cause, rank by preconditions and impact6. Patching: Close the loop and improve context for the next cycleGetting startedMoving forwardAcknowledgements
189 Impressions