Losing $1.7M because you committed your private key to a public GitHub repo is insane
Someone please introduce @taikoxyz to .gitignore https://t.co/THleu6Gn64
Losing $1.7M because you committed your private key to a public GitHub repo is insane
Someone please introduce @taikoxyz to .gitignore https://t.co/THleu6Gn64
🚨Taiko drained for ~$1.7M. Root cause: a private key committed to a public GitHub repo.
enclave-key.pem, the RSA key used to sign all of Taiko's SGX enclaves, sat in the public taikoxyz/raiko repo. That key is the whole trust model.
The attacker derived MrSigner from the public key, signed their own malicious enclave with the leaked key, and registered as a trusted prover. The L1 contracts trust any enclave whose MrSigner matches. It matched.
From there: forged SGX attestations on fake L2 blocks, processMessage() sets the message to RETRIABLE, retryMessage() does zero proof verification, funds leave.
No key theft. No social engineering. No SGX exploit. Just a .pem in a public repo.
Good opportunity to recall that SGX is broken. But here, nobody even had to break it.
It's just yet another key management failure. The whole system was only ever as strong as the secrecy of one RSA key, and that secrecy depended on a human not running git add . on the wrong folder. AI greps every commit of every public repo
⚠️ Security Notice
We have confirmed a compromise of Taiko’s chain state verification mechanism. As a result, the security assumptions of all bridges deployed on Taiko can no longer be relied upon.
We are actively coordinating with the Security Council and ecosystem partners to contain the incident, pause affected systems where possible, and take all necessary technical and legal actions.
We strongly advise all users to withdraw their funds from all bridges deployed on Taiko immediately.
Further updates will be provided as more information becomes available.