(P1) Ethereum co-founder Vitalik Buterin said AI-assisted formal verification could eliminate the vast majority of code vulnerabilities, a statement that comes just as another DeFi protocol lost $11.6 million to an exploit on its Ethereum bridge.
(P2) "If you formally verify end-to-end, then you are proving not just that some description of the protocol is secure in theory, but that the specific piece of code that the user runs is secure in practice," Buterin wrote in a blog post published Monday. He argued this approach could cut out over 99% of negative consequences from broken code.
(P3) Buterin’s comments on code security were made salient by a reported exploit of the Verus Protocol's Ethereum bridge. Onchain security firms Blockaid and PeckShield reported that an attacker used a forged cross-chain transfer message to drain assets, which were later converted into 5,402 Ether, worth over $11.4 million.
(P4) The incident underscores the financial stakes of software bugs in the crypto ecosystem. Buterin believes formal verification is essential for securing the next generation of Ethereum's infrastructure, particularly for complex and critical components like quantum-resistant signatures, STARKs, and ZK-EVMs.
According to Blockaid, the Verus bridge incident was caused by a missing source-amount validation, a flaw that could have been identified and fixed with approximately 10 lines of Solidity code. The security firm noted the attack's structure resembled the 2022 exploits of the Nomad Bridge ($190 million) and Wormhole ($325 million), where fraudulent instructions tricked the bridges into sending funds from their reserves.
In his post, Buterin described a future where AI tools help developers write both highly efficient code and the mathematical proofs to verify its correctness. He referred to this combination as a potential "final form of software development." This method is seen as a powerful defense against a future where advanced AI could also be used to discover and execute cyberattacks at an unprecedented scale.
While a strong advocate, Buterin cautioned that formal verification is "not a panacea," as it cannot eliminate all security risks, such as those stemming from flawed initial assumptions or hardware vulnerabilities. However, he argued it is exceptionally well-suited for the complex cryptographic systems that will underpin Ethereum's future roadmap, making near bug-free code a realistic expectation.
This article is for informational purposes only and does not constitute investment advice.