Adapt a C/C++ vulnerability pipeline to another language, target, or detection method. The workflow gathers requirements, proposes file changes for approval, updates the implementation, and validates it against a test target containing known bugs.
- Adapt the pipeline for web application vulnerabilities
- Plan a port for smart contract auditing
- Change detection signals and report criteria
anthropics/defending-code-reference-harness☆ 7.6KUpdated Aug 7, 2026
Hunt for signs of compromise in web and application logs without an initial alert. Establish normal activity, record investigative hypotheses, check source code, and reproduce issues locally before producing incident records and a report.
- Hunting for compromise without an initial alert
- Tracing related activity across application logs
- Distinguishing attack attempts from successful exploitation
anthropics/defending-code-reference-harness☆ 7.6KUpdated Aug 7, 2026
Investigate an alert or suspicious identifier using logs and source code. Assess attack success, measure affected data and users, test the suspected flaw locally, and produce a response plan for human review and execution.
- Investigating a security alert
- Measuring affected records and customers
- Checking a suspected flaw with a local proof of concept
anthropics/defending-code-reference-harness☆ 7.6KUpdated Aug 7, 2026
Turn security findings into candidate code fixes with review results and summaries. Depending on the input, use independent source review or a pipeline with execution checks, then provide diffs for a person to review and apply.
- Generating candidate fixes from triaged findings
- Preparing diffs for the highest-priority vulnerabilities
- Independently reviewing proposed security fixes
anthropics/defending-code-reference-harness☆ 7.6KUpdated Aug 7, 2026
Get started with vulnerability review through a guided practice target, from threat modeling to scanning and triage. Ask questions about the pipeline and receive answers grounded in its documentation and source, with references and a next command.
- Learn the vulnerability review workflow
- Try a first scan on the bundled practice target
- Find commands with supporting documentation
anthropics/defending-code-reference-harness☆ 7.6KUpdated Aug 7, 2026
Build a threat model that identifies valuable assets, attack entry points, potential threats, and mitigation priorities. Use source code and past vulnerabilities, an interview with the application owner, or a combination of both.
- Reviewing security risks during system design
- Assessing an inherited codebase without its owner
- Refining a code-based draft with the application owner
anthropics/defending-code-reference-harness☆ 7.6KUpdated Aug 7, 2026