Anthropic has released a free, open-source framework that uses AI to automatically discover security vulnerabilities in source code. The tool, called the Defending Code Reference Harness, is designed to help developers find and fix bugs before malicious attackers can exploit them.
Unlike traditional security audits that rely on slow, expensive human researchers, this AI-powered system can scan millions of lines of code overnight. It works by guiding a large language model to think like an attacker, providing the model with source code and instructions to investigate potential weaknesses. The harness forces the AI to show its reasoning step by step, which dramatically reduces false positives—a common problem with earlier AI security tools.
In initial tests against widely used open-source projects, the framework uncovered previously unknown vulnerabilities that had survived years of human review. These are bugs that human security experts had missed, demonstrating the tool's potential to strengthen software security at scale.
The framework is available for free on GitHub, and developers can clone and use it immediately. However, the same tool could also be used by malicious actors to find weaknesses to exploit. The release signals the start of an AI cybersecurity arms race, where both defenders and attackers have access to powerful automated vulnerability discovery. Users are advised to apply security patches as soon as they are released.