HN
Today

Anthropic's open-source framework for AI-powered vulnerability discovery

Anthropic has released an 'open-source' reference implementation for AI-powered vulnerability discovery and patching using Claude. While it offers a detailed guide for building custom security pipelines, critics quickly noted it's unmaintained and serves primarily as a demonstration for their commercial 'Claude Security' product. The discussion largely centers on the high cost of running such AI systems and whether Anthropic's strategy is to sell tools rather than directly leverage AI for security.

103
Score
40
Comments
#1
Highest Rank
22h
on Front Page
First Seen
Jun 4, 8:00 PM
Last Seen
Jun 5, 5:00 PM
Rank Over Time
3111223333346788111415212328

The Lowdown

Anthropic has unveiled a GitHub repository hosting a reference implementation for autonomous vulnerability discovery and remediation, leveraging their Claude AI model. Dubbed the 'defending-code-reference-harness,' this project aims to provide security teams with a customizable framework based on Anthropic's internal learnings, although it explicitly states it is not maintained and not accepting contributions.

  • The harness outlines a comprehensive pipeline, moving from interactive 'Claude Code skills' (threat modeling, scanning, triage, patching) to a fully autonomous system.
  • It supports a 'recon -> find -> verify -> report -> patch' loop, initially configured for C/C++ memory vulnerabilities and emphasizing gVisor sandboxing for safe execution.
  • A 2-week 'Ramp Up' guide is included, detailing how to implement and customize the pipeline for specific languages or vulnerability classes.
  • The project serves as a foundational blueprint, encouraging users to adapt it to their needs, while also subtly promoting Anthropic's managed 'Claude Security' product.
  • Key components include interactive skills for daily tasks and an autonomous pipeline with stages like build, recon, find, verify, dedupe, report, and patch generation.

Ultimately, the harness positions itself as a practical guide for integrating AI into software security workflows, offering a transparent look at Anthropic's methodology, even as it directs users towards their commercial offerings for production-grade solutions.

The Gossip

Open Source or Open Ad?

Many commenters expressed skepticism about the 'open-source' nature of the repo, noting Anthropic explicitly states it's 'not maintained and not accepting contributions.' This led to the interpretation that the project serves primarily as a detailed demo or 'shop jig' to guide users toward building their own custom solutions or, more cynically, to funnel them into Anthropic's paid 'Claude Security' product. The discussion questions whether this is truly a community contribution or a marketing tactic.

The Price of Prevention

A significant point of discussion revolved around the potential cost of running such an AI-powered security scanner. Users highlighted the reported token usage guidelines (10K input, 2K output tokens/min per agent) and estimated costs in hundreds or thousands of dollars for running it with high-end models like Opus or Mythos. This sparked debate on whether it's economically viable for continuous integration, comparing the expense to hiring human security engineers, and whether the 'attacker' with more tokens could eventually outclass the 'defender.'

AI's Role in Code Security: Promise & Paradox

Commenters acknowledged that security, especially pattern matching known vulnerabilities in code, is a 'strong use case' for AI. However, there was a paradoxical question: if AI can find bugs, why can't it simply write secure code from the start? Explanations included the complexity of security bugs spanning large codebases and dependencies, and the performance overhead of LLMs reasoning through vast amounts of code. The conversation explored the inherent cost of ensuring code quality versus the relative cheapness of writing code initially.