anthropics/defending-code-reference-harness

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 16 minutes ago
Added to GitGenius on September 1st, 2026
Created on May 22nd, 2026
Open Issues & Pull Requests: 23 (+0)
GitHub issues: Enabled
Number of forks: 597
Total Stargazers: 7,415 (+0)
Total Subscribers: 44 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.8 days
Mean response time: 20.2 days
90th percentile: 33.7 days
Tracked items: 2

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 74 days
Stale 30+ days: 4
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Defending Code Reference Harness is a reference implementation for autonomous vulnerability discovery and remediation in source code using Claude.

The tool addresses the problem of finding and fixing security vulnerabilities at scale by automating a multi-stage pipeline: reconnaissance, vulnerability discovery, verification, reporting, and patching. It works by orchestrating Claude API calls to analyze code, identify potential vulnerabilities, triage findings to reduce false positives, and generate fixes. The harness includes threat modeling and scanning skills accessible through Claude Code, along with a customizable autonomous pipeline configured for detecting C/C++ memory vulnerabilities using Docker and ASAN sanitizers.

The project suits teams building their own vulnerability detection workflows who want to understand how to structure such a pipeline and customize it for their specific languages, vulnerability classes, or detection tools. It provides interactive skills for scoping, scanning, and patching alongside a reference harness that demonstrates the general shape and prompting patterns needed for autonomous vulnerability work. The tool also includes a separate detection and response track for hunting vulnerabilities in already-compromised codebases and proposing containment responses. Anthropic offers Claude Security as a managed alternative for teams preferring a hosted product with built-in verification pipelines and lifecycle management.

The repository is explicitly not maintained and does not accept contributions. The harness is presented as a reference implementation rather than production-ready software, meaning the general approach and prompts are reusable but the implementation will require customization to work reliably on most codebases. The accompanying blog post and companion cookbook document the learnings from security partnerships and provide guidance on best practices for this class of work.