In July 2026, the scale of losses from Web3 security incidents surged dramatically: a total of 43 major security incidents were recorded throughout the month, with cumulative losses of approximately $319 million, which is 4.1 times that of June and one of the largest loss months of the year. Structurally, losses were highly concentrated in exploit-type attacks, with 37 incidents totaling approximately $310,776,183. The largest single loss in a month reached $88.6 million (due to a Coldcard wallet password algorithm issue), with the top five incidents accounting for approximately $234 million, or about 73.5% of total losses.
Compared to June, there was a significant shift in the focus of risks in July: the top three loss categories were governance attacks (approximately $97.6 million), cryptographic algorithm flaws (approximately $88.6 million), and private key/key leaks (approximately $82.5 million), together accounting for about 84% of total losses. The weaponization of governance proposals, flaws in the underlying cryptographic implementations of hardware wallets, and the loss of control over keys in cross-chain bridges and hot wallets formed the three most destructive lines of attack this month.
In terms of AI security, a notable change in July was the shift in risk discussions from "prompt injection" and "content pollution" to execution, data, and trust aspects. The first publicly disclosed "agentic attacker" intrusion incident by Hugging Face, the erroneous deletion of user home directories by GPT-5.6 Sol, the entire library upload of Git history by Grok Build CLI, and Claude's shared links being indexed by search engines collectively indicate that the boundaries of AI systems are no longer just dialogue windows, but encompass the entire runtime environment and data assets.
From the monthly distribution, July exhibited the characteristic of "stable number of incidents, extreme single losses": the total number of incidents was roughly the same as in June, but total losses increased more than fourfold. This month, 8 incidents had single losses exceeding $9 million, with 2 incidents exceeding $75 million, indicating that attackers are concentrating their firepower on governance treasuries, underlying cryptographic implementations, and high-value key targets, while also conducting widespread attacks on smaller projects.
The major types of attacks in July (grouped by losses) are as follows:
If categorized by attack surface, the following five structural directions are noteworthy in July:
@COLDCARDwallet: Cryptographic Algorithm Issue, Loss of Approximately $88.6 Million
On July 31, the Coldcard hardware wallet was revealed to have vulnerabilities at the cryptographic algorithm level, leading to the theft of a large amount of user assets, with losses estimated at approximately $88.6 million, making it the largest single incident of the month. The uniqueness of this incident lies in the fact that the victim was not a specific DeFi protocol, but rather a hardware signing device widely regarded as "the most secure". When flaws occur in the underlying cryptographic implementations (signature, random number, key derivation), no matter how good the operational habits and permission governance are at the upper level, they cannot provide a safety net, ringing alarm bells for the entire industry's supply chain trust.
BarnBridge SMART Yield: Proposal Attack, Loss of Approximately $77.6 Million
On July 15, the BarnBridge SMART Yield protocol on Ethereum suffered a proposal attack, resulting in losses of approximately $77.6 million. The attacker directly controlled the disposal rights of the protocol's funds through malicious governance proposals. This once again proves that governance contracts themselves are one of the highest value attack targets, and any failure in proposal review, voting thresholds, time locks, or pre-execution simulations can lead to treasury-level losses.
@AFX_XYZ: Cross-Chain Bridge Private Key Leak, Loss of Approximately $24.15 Million
On July 23, AFX's cross-chain bridge on Arbitrum was attacked due to a private key leak, resulting in losses of approximately $24.15 million. Once the signature key of the cross-chain bridge is out of control, the attacker can forge legitimate cross-chain message instructions, bypassing all contract layer protections to directly withdraw bridge reserve assets.
@Ostium: Administrator Account Private Key Leak, Loss of Approximately $24 Million
In July, Ostium, an RWA trading platform on Arbitrum, was suspected to have been attacked due to a private key leak from the administrator account, resulting in losses of approximately $24 million. This incident occurred in the same week as AFX, indicating that targeted attacks on high-privilege accounts in the Arbitrum ecosystem may be forming a trend of scale.
BonkDAO: Malicious Governance Proposal, Loss of Approximately $20 Million
On July 7, BonkDAO became the target of a malicious governance proposal, with approximately $20 million worth of BONK tokens being transferred from the BonkDAO treasury. Combined with the BarnBridge incident, the two proposal attacks in July resulted in nearly $100 million in losses, with "governance attacks" evolving from theoretical risks to the most profitable attack method of the month.
Solana Early Whale: Suspected Private Key Leak, Loss of Approximately $14.2 Million
On July 10, an early whale address related to the distribution of the Solana genesis block was suspected to have leaked its private key, resulting in approximately 180.9K SOL (approximately $14.2 million) being stolen. The concentration of attention on early addresses that have been dormant for many years suggests that the storage media, backup methods, and historical exposure of old keys need to be reassessed.
TripleAHQ: Multi-Chain Hot Wallet Cleared, Loss of Approximately $9.7 Million
On July 25, the hot wallet of payment infrastructure project TripleA was simultaneously attacked across multiple chains including TRON, Ethereum, TON, and Solana, resulting in losses of approximately $9.7 million. The simultaneous breach of multi-chain hot wallet clusters indicates systemic flaws in key generation or custody, rather than a single operational error.
Wanchain: Cross-Chain Bridge Signature Semantic Reuse, Loss of Approximately $9 Million
On July 21, the Wanchain Cardano→BNB Chain cross-chain bridge was attacked on the Cardano side, with approximately 515.2 million NIGHT being withdrawn from the bridge reserves, valued at approximately $9 million. Following the incident, Wanchain bridge suspended services, and NIGHT once dropped nearly 50%. Issues related to signature semantic reuse indicate that the isolation of signature domains, message formats, and verification rules between heterogeneous chains remains one of the most underestimated attack surfaces in cross-chain systems.
bonzo_finance: Oracle Verification Vulnerability, Loss of Approximately $9.05 Million
On July 11, the lending protocol bonzo finance was attacked due to an Oracle verification vulnerability, resulting in losses of approximately $9.05 million. Defects in price and data verification can still cause losses of nearly ten million dollars within a single event, indicating that the verification of data sources for oracles, constraints on abnormal fluctuations, and governance of feeding permissions remain fundamental vulnerabilities for DeFi protocols.
4.1 Summary of This Month
4.2 Security Recommendations
If June's keyword was "the full externalization of risk entry," July more clearly indicates that the main battlefield of AI security has shifted from "what content to inject" to "what an agent can execute, what it can take away, and where the trust boundaries lie." This month saw four representative incidents, each corresponding to significant upgrades in attack surface, execution, data, and trust.
Hugging Face Invasion Incident: The First Public Case of an 'Agentic Attacker'
In July, Hugging Face disclosed an invasion incident targeting its production infrastructure: the attack was entirely driven by an autonomous AI Agent system, and the defense's detection and forensics primarily relied on its own AI system, marking a significant event in the transition from industry warnings to real-world cases of "agentic attackers." Some internal datasets and several service credentials were accessed without authorization; the official statement indicated that no user-facing models, datasets, or Spaces were altered, and software supply chain verification remained secure.
Key stages of the attack chain included:
This incident also exposed a deep-seated contradiction — "asymmetry in AI guardrails": HF attempted to analyze attack logs (including real attack commands and payloads) using commercial cutting-edge model APIs during the forensics phase, but was intercepted by the security guardrails of the model provider, as the guardrails could not distinguish between "emergency response analysts" and "attackers." HF ultimately turned to an open-source weight model (GLM 5.2) deployed on its own infrastructure for analysis. This serves as a reminder to all security teams: prepare self-hosted analysis models in advance and incorporate them into the IR toolchain, rather than seeking available analysis paths after an incident occurs.
GPT-5.6 Sol Accidentally Deleted All Files: When Agents Transition from 'Doing Things' to 'Direct Execution'
In July, former HyperWrite CEO and AI investor Matt Shumer publicly disclosed that while testing OpenAI's GPT-5.6 Sol in Ultra mode, a local agent's review subagent mistakenly expanded $HOME during a cleanup task and executed the rm -rf command, deleting "almost all files" on his Mac.
The essence of this incident is not that "the model said something dangerous," but rather that an agent with file system permissions, terminal capabilities, and sub-agent orchestration abilities executed a path misjudgment as a real data disaster. It exposed at least four layers of issues: overly broad permission boundaries (the Full Access mode's lethal radius covered the entire home directory), task boundary drift ("cleaning files" was upgraded to recursive deletion), sub-agent amplification of errors (errors inherited and rationalized along the agent chain), and high-risk actions lacking mandatory human confirmation.
The engineering conclusion from this incident is very straightforward: policies must be established for intercepting and explicitly confirming high-risk actions such as recursive deletion, bulk overwriting, directory writes, credential reads, and external requests; sub-agent permissions must be less than those of the main agent; high-privilege tasks should run in isolated environments such as containers or snapshot workspaces; cloud synchronization does not equal backup, and recoverable versioned snapshots must be established.
Grok Build CLI Whole Library Upload: The 'Invisible Data Channel' of AI Programming Tools
In July, researcher cereblab's packet analysis pointed out that xAI's official Grok Build CLI (version 0.2.93) not only sends the contents of files read by the model to the cloud during operation but also uploads the entire repository in the form of a git bundle through a separate POST /v1/storage channel — including the complete Git history. Under the prompt "only reply OK, do not open any files," the CLI still uploaded the entire repository, and the researcher was able to recover a canary file that was explicitly prohibited from being read from the uploaded content. More seriously, turning off the "Improve the model" switch did not prevent this upload behavior. (xAI subsequently disabled this path via server response with disable_codebase_upload.)
The warning from this incident is that Git history often hides more sensitive assets than the current working directory — deleted keys, rolled-back debug code, implementation details, and traces of internal architecture. The security boundaries of AI programming tools cannot only focus on the current project directory; the entire repository, local configuration, and credential directories must be viewed as potential exposure surfaces. For enterprises, conducting real traffic audits on AI CLIs, running them in isolated environments, and including Git history in sensitive asset governance has shifted from "best practice" to "mandatory course."
Claude Share Links Indexed by Search Engines: Sharing Equals Publishing
Around July 25, numerous share links created by Claude users (claude.ai/share) were found to be indexable and retrievable by search engines like Google. It is important to clarify that this is not a backend intrusion: according to Anthropic's official documentation, the snapshot page generated when users click Share is visible to anyone holding the link. The real issue is that the user mentality of "forwarding a conversation to a colleague" semantically equates to "publishing a public web asset" in the system — it may be indexed, cached, archived, and forwarded again, and robots.txt does not constitute access control, nor is the cleanup process atomic.
In the Agent era, the radius of risk from this exposure is even larger: a publicly shared conversation may expose not only text but also internal systems accessible by the agent, commonly used tool calls, RAG fragments, approval scripts, and even path clues pointing to .env, .ssh, and .aws/credentials. For attackers, even if they cannot obtain valid keys, a "workflow map" itself is sufficient to support more credible phishing pages, more precise indirect prompt injections, and more targeted supply chain attacks.
Security Trends: Prompt Injection Continues to Be the Main Line of AI Attacks in 2026
Public industry statistics show that prompt injection has ranked first in the OWASP LLM application risk list for two consecutive years; in AI attacks observed in 2026, indirect prompt injection accounted for over 55%, with multi-hop indirect attacks increasing by over 70%, and about 62% of successful cases in enterprise environments followed the indirect injection path. This resonates with the four incidents in July: whether it is malicious datasets, repository history, share links, or external content, attackers are increasingly inclined to hide instructions within "trusted data" rather than directly confronting model guardrails.
Summary of AI Security Trends in July
AI Security Recommendations
In July 2026, Web3 and AI once again exhibited a highly isomorphic trend: the greatest losses no longer stem from single-point vulnerabilities but from the erosion of trust foundations — on the Web3 side, it is governance mechanisms, key systems, and cryptographic implementations; on the AI side, it is execution permissions, data channels, and trust boundaries.
On the Web3 side, a loss of $319 million in a single month signals to the industry that the focus of auditing and risk control must expand from "contract logic" to governance chains, key supply chains, and underlying cryptographic implementations; on the AI side, the first public case of an agentic attack and multiple incidents on the execution and data surfaces signal to the industry that security construction must upgrade from "content filtering" to systematic governance of runtime environments, data assets, and trust boundaries.
For both types of systems, the upcoming focus of security construction should no longer remain on "discovering single-point vulnerabilities," but should shift to continuous auditing, least privilege, runtime guardrails, trust layering, and fully verifiable governance throughout the process.
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.





























