author
Nethermind
// inside head tag
AuditAgent Helps Gearbox Protocol Uncover Minor Issues in a Heavily Audited Codebase.
Gearbox Protocol, a leader in decentralized finance (DeFi), embarked on a security assessment of its core contracts, comprising approximately 8,000 lines of code (LOC) with multiple dependencies. With a history of seven human audits and over $3 million invested in security, the protocol sought to evaluate the efficacy of AI-driven security tools, specifically AuditAgent by Nethermind and another competitor tool, in identifying potential vulnerabilities in a protocol with over $300M Total Value Locked and $9.41B in total transaction volume.
"Tools like AuditAgent can be invaluable for developers identifying bugs before audits or bug bounties. They also help uncover assumptions in your codebase and serve as a good starting point for further security research. We managed to fix two minor issues in our repository, which is a significant achievement considering the codebase had already undergone seven audits."
0xmikko, Gearbox Founder
The primary goal was to determine whether Nethermind’s AuditAgent could complement or enhance traditional security audits, particularly in a real-world codebase that had been live for three years without incident.
Gearbox tested AuditAgent on its core contracts, comparing the results against previous human audits. The evaluation focused on the tool's ability to identify issues, the quality of reports generated, and its integration potential within continuous integration/continuous deployment (CI/CD) pipelines.
Gearbox Protocol’s experience with AuditAgent suggests it may be a helpful addition to the smart contract security toolkit. Even within the context of a codebase that had already undergone extensive auditing, AuditAgent identified areas of interest and provided useful insights. While no tool is a silver bullet, its speed and integrative approach point to its potential utility—especially as the DeFi landscape continues to evolve and demand scalable security solutions