A practical program repair agent that mimics human expertise
Successfully fixing critical vulnerabilities in popular open-source projects
3D model loading library - Fixed heap overflow & null dereference vulnerabilities
High-performance data format - Fixed heap overflow vulnerabilities
An end-to-end solution that mimics human debugging expertise
Uses Language Server Protocol to navigate code like a human developer, identifying vulnerable code patterns with precision
Leverages advanced LLMs to generate patches that understand the surrounding code context and maintain consistency
Comprehensive testing ensures patches fix the vulnerability without breaking existing functionality
Learns from counterexamples and failed attempts to continuously improve patch quality
Achieves 92.13% success rate across 178 real-world vulnerabilities in 30 different programs
Patches have been successfully merged into major open-source projects protecting millions of users
If you use PatchAgent in your research, please cite our paper
@article{PatchAgent, title = {PatchAgent: A Practical Program Repair Agent Mimicking Human Expertise}, author = {Yu, Zheng and Guo, Ziyi and Wu, Yuhang and Yu, Jiahao and Xu, Meng and Mu, Dongliang and Chen, Yan and Xing, Xinyu}, booktitle = {34rd USENIX Security Symposium (USENIX Security 25)}, year = {2025} }