It Turns Out the First Real-World Application of AI x Crypto is in Security Auditing

marsbit发布于2026-06-26更新于2026-06-26

文章摘要

The article explores the surprising trend where AI's first major impact on crypto has been in security auditing, not in areas like trading or analytics. It details how AI-powered tools are dramatically lowering the barrier to finding smart contract vulnerabilities, enabling attackers to scan thousands of contracts and execute exploits within minutes. This has rendered traditional, manually-produced audit reports with their month-long validity periods increasingly obsolete, creating a critical "structural crack" in the old security model. Cases like Drift Protocol and KelpDAO show that even extensively audited protocols can be hacked through social engineering, operational flaws, or infrastructure misconfigurations beyond pure code review. Attackers are also using AI to find and exploit vulnerabilities in years-old, deployed contracts. Notably, OpenZeppelin's co-founder has expressed a grim view that "all DeFi is insecure" due to AI's asymmetric advantage. In response, the audit industry is undergoing a fundamental shift. While there's a short-term spike in defensive re-audits, the long-term business model is changing. Firms are developing AI-assisted systems and moving from one-time report deliveries towards embedded, continuous services like real-time monitoring and formal verification. Examples include AI tools uncovering critical, previously missed vulnerabilities in heavily audited protocols like Curve Finance and Zcash. The conclusion is that security must become a con...

Data shows that as of June, DeFi TVL has dropped from about $115 billion at the beginning of the year to approximately $70 billion, a decline of 39%, decreasing almost every month.

Simultaneously, security incidents have brought another layer of pressure to DeFi. According to statistics, since 2026, there have been 121 hacker attacks in the DeFi sector, resulting in cumulative losses of about $942 million. Among these, 85 incidents occurred in the second quarter alone, causing losses of $775 million, making it the quarter with the most frequent attacks during that statistical period.

With the proliferation of next-generation AI tools, the cost and skill requirements for finding smart contract vulnerabilities have significantly decreased, forcing security audit firms to stand at the center of this transformation.

I. The AI-ization of Attack Vectors, Old Security Defenses Are Failing

The Collapse of the Old Logic

When the industry discusses the impact of AI on the crypto field, the first reactions are often about quantitative trading, robo-advisors, or on-chain data analysis. But reality has taken an unexpected turn: the first area that AI has fundamentally penetrated is the business originally considered the most stable in this industry—security auditing.

Two or three years ago, security audit companies were seen by investment institutions as conservative bets to participate in the crypto industry's growth. The logic was straightforward: as long as new protocols launched, audits were needed; the more prosperous the industry, the higher the audit demand; high per-client revenue, stable income, independent of token price fluctuations.

Immunefi data shows that DeFi protocol losses due to hacker attacks had dropped 74% from their 2022 peak of $2.62 billion to approximately $680 million in 2025. Cross-chain bridge attacks' share of total DeFi losses significantly decreased from 73% in 2022 to 3% in 2025. The industry generally believed that the ongoing maturity of security audits was playing a role.

However, this judgment is gradually being proven wrong.

On June 9th, Anthropic released its next-generation AI model, Claude Mythos. A viewpoint subsequently emerged in the market: the abnormal recent increase in the frequency of attacks on leading protocols may be linked to the continuous leap in the capabilities of cutting-edge AI models.

Simon Dedic, founder of Moonrock Capital, pointed out that with the proliferation of next-generation AI tools, the cost and skill requirements for finding smart contract vulnerabilities will drop to essentially zero. Protocols without audits will become targets, and known vulnerabilities will be repeatedly exploited.

Chainalysis data confirms this trend: In the past six months, attacks targeting only contracts with unverified source code have caused approximately $36.7 million in losses. Attackers use AI-assisted decompilation of raw bytecode to find vulnerabilities, and large language models can now identify vulnerability patterns at scale, systematically scanning thousands of contracts, including Truebit, Aperture Finance, Ekubo, and others.

The entire process from discovery to execution by attackers is being compressed to the minute level. The validity period of traditional audit reports is measured in months. This time gap is the most fatal structural crack in the old audit model.

Audited, Still Hacked?

The main targets of hacker attacks are no longer second or third-tier small protocols. Drift Protocol is a leading perpetuals platform on Solana, its smart contracts having undergone multiple rounds of audits by several well-known security firms. However, an investigation by security firm TRM Labs revealed that the attacker used a six-month-long social engineering attack to gradually infiltrate Drift team members, ultimately obtaining privileged admin keys.

A similar situation occurred with KelpDAO. The attacker exploited a vulnerability in the single-validator-node configuration of the LayerZero cross-chain bridge to forge deposits and mint uncollateralized tokens, stealing $293 million within 46 minutes. It was later determined that a multi-validator-node configuration had been recommended previously but was not adopted. The contract passed the audit, but a flaw in the infrastructure configuration still led to the loss.

In those audited protocols, while code correctness was covered, attackers bypassed them through business logic and operational processes.

On the other hand, AI's scanning scope isn't limited to new protocols. Web3 security company GoPlus Security points out that attackers are using AI technology to extensively mine vulnerabilities in historical contracts deployed years ago. On June 9th, a 7-year-old Ethereum contract, Token of Power, was attacked, losing about $1.5 million; on May 25th, a 3-year-old WUSD.fi contract was attacked, losing about $200,000; an old contract deployed 2 years ago for Aztec Network was attacked twice on June 14th and 18th, with combined losses exceeding $4 million. This suggests that the protective validity period of old audit reports may have already reached zero.

Just last month, Manuel Aráoz, co-founder of crypto security company OpenZeppelin, stated that he now believes "all DeFi is insecure" and has advised friends and family to exit all DeFi positions, including those in Aave, MakerDAO, and Compound. His reasoning is that AI programming agents' ability to find vulnerabilities has reached superhuman levels, while the structure of smart contract security is extremely asymmetric—defenders must patch every vulnerability, while attackers only need to find one effective entry point.

OpenZeppelin has provided audit services for Aave, Compound, Uniswap, Coinbase, and is one of the most important smart contract security infrastructure providers in the crypto industry. Such a statement carries unusual weight coming from him.

However, there is market debate on this. Aave ecosystem contributor Marc Zeller mentioned that in the past year, less than 10% of DeFi losses stemmed from code vulnerabilities, with the rest coming from misconfigured risk parameters, improper collateral management, and weak operational security. 0G Labs CEO Michael Heinrich also pointed out that DeFi lending security has improved by about 98% compared to the 2020 baseline.

The current issue is that the scope covered by code audits is becoming increasingly limited, while attackers' attack surface continues to expand. The old security framework can no longer provide a convincing answer.

II. Responses and Restructuring by Projects and Audit Firms

Although old audit standards show obvious cracks in the face of AI attacks, this does not mean audit demand will disappear. On the contrary, both project teams and audit companies will adjust according to the new reality.

Short-term: Centralized Release of Defensive Audit Demand

Many leading protocols that have already undergone audits are now under pressure to be re-audited according to new security standards of the AI era. Project teams are beginning to realize that with the continuous improvement of AI attack capabilities, the protection cycle of traditional audits is shortening.

The nature of this demand is defensive spending, not a signal of healthy industry growth. Security firm CertiK noted in its 2026 regulatory report that smart contract security audits are upgrading from an industry best practice to a regulatory entry requirement, becoming a necessary threshold for license approval and token listings.

In the short term, this defensive spending will generate some audit demand, but it is more of a passive investment by projects to reduce risk.

Long-term: Fundamental Divergence in Audit Companies' Business Models

Audit firms are also feeling the pressure. As attack-side AI tools continue to evolve, leading companies are accelerating the development of their own detection capabilities. Several major audit firms have launched AI-assisted audit systems between 2025 and 2026, using multi-model parallel analysis and automated detection to improve efficiency.

While efficiency improves, the traditional model faces compression. The commercial value of delivering a one-time audit report is declining. In the long run, firms relying on point-to-point reports face the risk of shrinking business volume.

JPMorgan analysts explicitly stated that persistent DeFi security incidents are limiting the entry of major institutional investors. This is not just about market sentiment; it is a public challenge to the very existence value of the entire audit industry.

The smart contract audit platform Code4rena, known for its competitive audit model, recently announced its shutdown, with client and researcher resources transferred to Immunefi. This platform had raised $6 million from Paradigm in 2023 and was once seen as a strong complement to the traditional audit model, ceasing operations less than two years after being acquired.

Image Source: RootData

The DeFi lending protocol Radiant, after experiencing a hacker attack in October 2024, announced its entry into a shutdown phase after 18 months of unsuccessful efforts to recover funds. Ionic Protocol also announced an immediate halt to all operations due to the expanding impact of a security vulnerability.

However, change is not unidirectional. AI also demonstrates superhuman capabilities on the defense side—the question is who uses it first.

AI-native audit tool Firepan disclosed that during an independent audit of Curve Finance's new AMM contract in April 2026, it discovered a critical combinatorial vulnerability: each attribute alone was normal code, but under a specific combination of operations, an attacker could bypass the donation protection mechanism and withdraw funds.

Curve had previously undergone multiple rounds of review by six independent audit firms and is considered one of the most heavily audited protocols in DeFi, yet this vulnerability remained hidden in the blind spot of manual audits.

Curve Finance founder Michael Egorov later commented that AI is indeed helpful for smart contract security. However, he also noted that AI's success in detecting vulnerabilities in browsers and the Linux kernel cannot be directly applied to smart contracts—smart contracts are usually only a few thousand lines of code, which humans and conventional AI can fully reason about. The real risks to be wary of come more from OpSec-level key leaks and supply chain attacks, rather than the code vulnerabilities themselves.

A similar case has emerged in the privacy coin space. Security engineer Taylor Hornby, commissioned by the non-profit Shielded Labs, used the Anthropic Opus 4.8 model to audit the Zcash protocol and discovered a critical vulnerability in the Zcash Orchard privacy pool that had gone undetected since 2022. Theoretically, it could allow an attacker to mint unlimited counterfeit ZEC that cannot be detected on-chain.

Zcash founder Zooko Wilcox publicly thanked Anthropic afterwards. Hornby also stated that he has added Monero (XMR) to the audit queue and will conduct security reviews on more privacy coin projects in the future.

It is reported that OpenZeppelin has launched the Skills system, providing AI programming agents with authoritative knowledge from its audited smart contract libraries, moving the defense line forward to the development stage.

This is the new direction traditional audit firms are forced to take—transitioning from post-hoc review to full-process embedding, from one-time delivery to continuous monitoring, formal verification, and real-time on-chain risk detection.

Conclusion

Overall, the security audit sector is transitioning from a growth model to a competitive one. AI accelerates both attack efficiency and defense system upgrades. This process not only affects the commercial form of audit companies but also requires the entire DeFi ecosystem to rethink how it approaches security investment.

For project teams, the era of "one audit, security for life" is over. Security is no longer just a pre-launch formality but an infrastructure requiring continuous investment.

For audit firms, passively keeping up with AI is no longer sufficient. Players that can more quickly complete a comprehensive restructuring from tools to service models are more likely to remain at the table in the next phase.

相关问答

QAccording to the article, what unexpected application of AI is first making a significant impact in the cryptocurrency space?

AThe article states that the first major and unexpected impact of AI in the crypto space is on security auditing, as AI tools drastically lower the cost and skill required to find vulnerabilities in smart contracts.

QWhat are the two main reasons why the old security audit model is becoming ineffective according to the analysis?

AThe two main reasons are: 1) Attackers using AI tools can now find and exploit vulnerabilities in minutes, while traditional audit reports are only valid for months, creating a critical structural gap. 2) AI can systematically scan and find vulnerabilities in even older, previously audited contracts, making old audit reports effectively obsolete.

QThe article mentions that even audited top protocols can be hacked. What are some examples of vulnerabilities that bypassed code-focused audits?

AExamples include social engineering attacks (e.g., Drift Protocol attackers infiltrating the team over 6 months to steal admin keys), infrastructure configuration flaws (e.g., KelpDAO's single validator node setup for a bridge), and attacks on historical contracts that were not actively monitored for years-old vulnerabilities.

QHow is the business model of security audit companies expected to change in the long term due to AI's influence?

AAudit companies are shifting from a model of delivering one-time reports to a model focused on continuous, embedded security. This includes offering real-time monitoring, formal verification, and chain-based risk detection, moving from a point-in-time service to a continuous service.

QWhat were two key vulnerabilities discovered in major protocols (Curve Finance and Zcash) using AI audit tools, as mentioned in the article?

A1) In Curve Finance's new AMM contract, AI discovered a combinatorial flaw where specific operation combinations could bypass donation protection and drain funds. 2) In Zcash's Orchard privacy pool, AI found a critical vulnerability, undetected since 2022, that theoretically allowed unlimited, undetectable minting of fake ZEC tokens.

你可能也喜欢

Crypto VC 为何聚焦于稳定币基础设施?

加密货币风险投资(VC)在2026年第一季度整体降温,融资额环比下降约50%,资金向已有客户、收入和交易规模的成熟项目集中。在此背景下,稳定币支付基础设施成为少数逆势获得大额融资的领域。 VC的关注点正从稳定币发行本身,转向其作为支付工具所需的全套基础设施,包括跨境支付、钱包、银行卡、银行接入、外汇流动性及清算等环节。Rain、OpenFX、RedotPay等项目近期获得融资,普遍披露了显著增长的交易规模、用户或收入数据。 资本青睐此方向主要基于几点:首先,稳定币为跨境支付提供了近乎实时、全天候的结算方案,能解决传统体系效率低、资金占用成本高的问题。其次,相关公司通过手续费、外汇点差等模式获得收入,商业模式更清晰易评估。再者,稳定币正逐渐成为用户无需感知的后台工具,通过银行卡、聊天软件等传统界面融入支付。此外,美国等地的监管进展为机构客户参与扫清了部分障碍,而Stripe、Mastercard等传统支付巨头的收购案例也为VC提供了新的退出预期。 然而,热潮中也需保持谨慎。链上稳定币交易量绝大部分并非真实商品服务支付;融资高度集中在少数头部项目;基础服务可能同质化,竞争将转向牌照、本地银行关系、合规与成本控制;全球扩张仍需逐个市场解决法币出入金等本地化挑战;传统金融机构未来可能既是合作伙伴也是竞争对手。 展望未来,资金可能继续流向跨境B2B支付、连接银行与稳定币的设施、稳定币银行卡、多链支付编排平台以及为AI Agent设计的支付基础设施等方向。总体而言,VC押注的是稳定币融入现实金融体系过程中,那些尚未完善的关键基础设施环节所创造的价值。

marsbit7分钟前

Crypto VC 为何聚焦于稳定币基础设施?

marsbit7分钟前

交易

现货
活动图片