AI
Multi-agent AI system autonomously fixes hidden software vulnerabilities with 92% success rate
DeepAVR uses coordinated AI agents to uncover and patch security bugs that traditional methods miss, particularly when flaws are buried deep in code.
Researchers have developed DeepAVR, a multi-agent framework that substantially improves how software vulnerabilities are automatically identified and repaired. The system addresses a critical limitation in existing approaches: vulnerabilities whose root causes lie far from the initial crash site or are masked by interconnected errors often escape detection.
How the System Works#
DeepAVR orchestrates multiple specialized agents working in tandem. The framework includes agents responsible for pinpointing where faults originate, generating candidate patches, testing compilation, validating security and functionality, and reviewing proposed fixes. Rather than attempting to fix vulnerabilities in a single pass, the system iteratively refines its understanding by converting intermediate repair attempts into structured diagnostic signals.
The key innovation is patch-conditioned re-localization: by analyzing how intermediate patches behave during execution, DeepAVR can trace back to discover root causes that surface-level crash analysis would miss. Additionally, root-cause-oriented patch review helps identify fixes that only treat symptoms rather than underlying issues—problems that execution-based testing alone cannot catch.
Real-World Performance#
Evaluation on VulnLoc, a dataset of genuine C/C++ vulnerability repairs, demonstrated that DeepAVR successfully generates correct patches for 92.3% of cases. The system also performed well on unseen vulnerabilities through testing on SAN2VULN. On SEC-bench, DeepAVR significantly outperformed existing baselines in scenarios where the actual fix resides outside the function containing the crash.
Why It Matters#
Automated vulnerability repair remains challenging because real-world bugs are often complex. When an error manifests at one location but originates elsewhere—or when multiple interconnected problems exist—traditional approaches struggle. By combining fault localization, patch synthesis, and iterative refinement through multi-agent collaboration, DeepAVR pushes closer to fully autonomous security hardening of codebases.

