defending-code-reference-harnessanthropics/defending-code-reference-harness
Provides a runnable reference implementation of code defense for autonomous coding agents,…
No ratings yet
Rate this skill
Stars7.6k
Forks629
Watchers7.6k
Open Issues22
InstallOne-line install
UnconfirmedWhether this repository follows the Agent Skills spec (that is, whether it contains a SKILL.md) has not been verified yet. Until that is settled, clone it and use what you need:
git clone https://github.com/anthropics/defending-code-reference-harness.git
OverviewOverview
Key Features
Provides a runnable reference implementation of code defense for autonomous coding agents, used to verify and constrain whether agents follow security rules when writing code. Key capabilities include: 1. Defense Rule Reference Implementation: supplies an executable baseline implementation that turns the security constraints an agent must follow into runnable, comparable code, so security requirements no longer stay in documentation only; 2. Agent Coding Behavior Verification: compares agent-produced code against the reference implementation to check whether it triggers dangerous patterns or bypasses security constraints, helping locate non-compliant generations; 3. Automated Security Testing Carrier: plugs into automated pipelines as a reusable test carrier to run repeatable regression checks on an agent's defensive capability, reducing manual line-by-line review effort.
TopicsTopics
RatingUser ratings
Nobody has rated this skill yet. Yours would be the first on the site — your vote becomes the initial average.
RepositoryRepository
| Skill ID | 154 |
|---|---|
| Data source | GitHub |
| Repository | anthropics/defending-code-reference-harness |
| Category | Security & Compliance / Code Security & Vulnerability Defense |
| Primary language | Python |
| License | Other |
| Default branch | main |
| GitHub repository ID | 1246839757 |
| Node ID | R_kgDOSlFDzQ |
| Rank | #151 (position within the source ranking) |
| Site-wide popularity rank | #184 (computed live from Stars, across all 5833 entries) |
GrowthStar / Fork growth
One snapshot per day, tracking how Stars and Forks changed
- Now7,633
- Previous day · 10-23 7,625
- vs previous day +8
- 4 data points 25 days
- Now629
- Previous day · 10-23 628
- vs previous day +1
- 4 data points 25 days
TimelineTimeline
Repository created2026-05-22 16:00:565 months ago
Data last updated2026-10-26 11:53:4721 days ago
Last commit2026-08-06 21:42:093 months ago
CommitLatest commit
Committed by eugeneyan-ant. Update Category: Routine Updates & Maintenance. Commit details: Merge pull request #44 from anthropics/abel/bedrock-launch-hardening. This update performs routine maintenance and minor adjustments.