Technical Root Cause
Published 6/23/2026, 10:35:05 AM
The Taiko Layer 2 rollup suffered a $1.7 million exploit on June 22, 2026, due to the accidental exposure of a critical private key on a public GitHub repository [Source: https://nail-ai.com/topic/crypto/story/crypto_1782122408_1?source=d2d_2]. The leak allowed an attacker to bypass the network's multi-prover security stack, forge state proofs, and drain assets from the bridge's vault [Source: https://x.com/P3b7_/status/2069045986236695020].
Technical Root Cause
The incident was not caused by a smart contract vulnerability but by a credential compromise. A developer inadvertently committed a file named enclave-key.pem to a public GitHub repository [Source: https://x.com/P3b7_/status/2069045986236695020].
This file contained the RSA private key used to sign attestations for Raiko, Taiko's multi-prover stack [Source: https://bitcoinfoundation.org/news/crimes-and-fraud-news/trapdoor-malware/]. In a standard SGX (Software Guard Extensions) setup, these keys are meant to be sealed within secure hardware; their exposure allowed the attacker to impersonate a trusted prover.
The Attack Path
Once the attacker obtained the leaked key, they executed the following steps to drain the bridge:
- Malicious Registration: The attacker used the leaked key to register their own malicious SGX enclave instances as "trusted provers" within the Taiko system [Source: https://x.com/P3b7_/status/2069045986236695020].
- Proof Forgery: They generated fraudulent state proofs claiming that assets had been deposited on the Taiko L2, despite no actual transactions occurring.
- Bridge Exploitation: These forged proofs were submitted to the Ethereum-side bridge contracts. Because the proofs carried a valid signature from the compromised key, the verifier accepted them as legitimate [Source: https://x.com/P3b7_/status/2069045986236695020].
- Asset Extraction: The attacker triggered the
retryMessagefunction on the ERC20Vault, causing the bridge to release L1 assets to the attacker's controlled addresses [Source: https://bitcoinfoundation.org/news/crimes-and-fraud-news/trapdoor-malware/].
Impact and Losses
The exploit resulted in a total loss of approximately $1.7 million USD. The stolen funds were primarily composed of ETH and Taiko's native token.
| Asset | Amount | Estimated Value |
|---|---|---|
| ETH | 870.8 ETH | ~$1.52 Million |
| TAIKO | 1.99 Million | ~$189,000 |
| Total | - | ~$1.7 Million |
[Source: https://bitcoinfoundation.org/news/crimes-and-fraud-news/trapdoor-malware/]
Following the exploit, the price of the TAIKO token dropped by approximately 10% to roughly $0.0729 [Source: https://bitcoinfoundation.org/news/crimes-and-fraud-news/trapdoor-malware/]. Taiko responded by briefly halting block production and advising users to withdraw funds from all bridges while centralized exchanges were asked to freeze deposits of the stolen tokens.
In summary, the exploit was a direct result of operational security (OpSec) failure where a high-privilege signing key was exposed in a public code repository, enabling the forgery of the very proofs meant to secure the bridge.