Cybersecurity Research

Google's Mandiant Uses AI Agents to Find Code Flaws Before Attackers Do

Key Takeaway If your business develops or relies on custom software, protect your source code like any sensitive data and review it for vulnerabilities regularly, because attackers can now analyse stolen code far faster than before.

Google Threat Intelligence says misuse of AI by attackers has raised the risk of data theft and extortion. When a company's proprietary source code is exposed, defenders must rush to find and fix weaknesses while attackers use AI tools that work at machine speed.

To respond, Google's Mandiant team uses an internal framework called the Agentic Vulnerability Discovery Harness (AVDH). It combines several AI agents with structured processes, skeptical validation steps and input from human subject-matter experts. It is used in proactive code reviews, penetration tests, red team operations and incident response, and it helps with the discovery and validation of routine vulnerabilities so that people can focus on harder problems. Google says it can also be used alongside CodeMender's ongoing scanning for a two-layered defence, and it is sharing the architecture for the first time to help other defenders.

The reported results are significant. In a recent incident response involving stolen corporate repositories, the harness found over 100 true-positive critical vulnerabilities in two days, a fraction of the time manual review would need. Across 10 months, it has analysed environments with tens of millions of lines of code and produced tens of thousands of findings. This led to 12 assigned CVEs in widely used web extensions and open-source projects, with a further dozen in active disclosure. This summary covers only the opening of the article.

Building or buying AI systems? Governing them under ISO 42001 ->

Summarised by CISO AI from Google Threat Intelligence, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.