Cosmos EVM Bug Drains Three Chains After Early Public Disclosure
A shared underflow in the Cosmos EVM module let an attacker drain KiiChain, TAC, and Nesa Chain within days of Cosmos Labs publishing the fix — before telling the chains that ran the vulnerable code.
Key Takeaways
- A single underflow bug in the shared Cosmos EVM module was exploited across at least three independent chains — KiiChain, TAC, and Nesa Chain — within days of each other.
- Cosmos Labs published the security fix publicly before privately notifying downstream chains, and reportedly did not flag it as security-critical or warn affected teams until August 21, two days after the code went public.
- On August 22, an attacker repeated the same exploit 18 times against KiiChain, draining 148.3 million KII (roughly $1.6 million); about 80.7 million KII (54%) was later recoverable because it never left the chain.
- The incident is a case study in why shared blockchain infrastructure needs coordinated, private disclosure — shipping a patch in the open is not the same as giving downstream operators time to apply it.
What happened
On 22 August 2026, an attacker repeatedly exploited a vulnerability in cosmos/evm, the EVM compatibility module shared by multiple independent Cosmos-based chains, to drain funds from KiiChain. According to KiiChain's own postmortem, the attacker pre-computed the address that a smart contract would deploy to, converted that address into a vesting account, then deployed the contract onto it. The contract inherited vesting status, delegated one wei more than its spendable balance, and triggered an underflow that inflated its mirrored EVM balance to roughly 2^256. Repeated 18 times, this drained 148,326,583.15 KII — about $1.6 million — before validators halted the chain.
Because the flaw lived in shared module code rather than any single chain's custom logic, it was not unique to KiiChain. TAC, a Telegram-focused Cosmos chain, lost roughly 3 billion TAC tokens (about $7.5 million) and halted after one account was drained. Nesa Chain reported tokens nominally worth $50 million taken, though thin liquidity limited the attacker's actual profit to around $60,000. MANTRA halted its chain as a precaution and reported no user funds impacted, resuming after roughly 30 hours on a patched Cosmos EVM release.
A disclosure process that worked against itself
The part drawing the sharpest criticism is not the bug itself — underflows in balance-mirroring code are a known hazard class — but how the fix reached the public. Cosmos Labs published the patch openly rather than distributing it privately to chain operators first, and did not mark the change as security-critical. Multiple affected teams say they were not notified until 21 August, two days after the fix was already visible in the public commit history.
This loss was avoidable. ... Publishing a security fix in the open, before the chains running that code have been told privately and given time to patch, hands the vulnerability to anyone reading the commit. Standard responsible disclosure exists precisely to prevent this. Cosmos Labs gave no advance notice to downstream chains.
— KiiChain postmortem
That sequencing turns a routine patch into a race: anyone monitoring the public repository gets a head start on exploitation, while operators who don't have private, structured relationships with the upstream maintainer find out only after the damage is done. Cosmos Labs subsequently urged validators across affected EVM chains to halt operations while it assessed the scope — but as of the incident becoming public, it had not published its own technical incident report, so downstream teams could patch known exposure without being able to confirm every related weakness was closed.
Why it matters beyond Cosmos
This is a software supply-chain problem wearing blockchain clothing. cosmos/evm is dependency code that KiiChain, TAC, MANTRA, and others run largely unmodified — functionally identical to an npm or PyPI package embedded across unrelated products. The failure mode is the same one that shows up in conventional supply-chain incidents: a maintainer fixes an upstream flaw without accounting for who else is running the vulnerable version, and the fix itself becomes the disclosure. For any organization consuming shared framework or SDK code — on-chain or off — the lesson holds: a security fix isn't complete until the operators depending on that code have had a real window to apply it before the details are public.
FAQ
Frequently Asked Questions
What is the Cosmos EVM module, and why did one bug affect several unrelated chains?
`cosmos/evm` is the shared module that gives Cosmos-based blockchains Ethereum Virtual Machine compatibility. Chains like KiiChain, TAC, MANTRA, and Nesa Chain run it largely unmodified, so a flaw in the module itself — rather than in any one chain's custom code — was exploitable across all of them.
How much was actually lost, and how much was recovered?
KiiChain reported 148.3 million KII (about $1.6 million) drained across 18 repeated exploit transactions on 22 August 2026. Because roughly 80.7 million KII (54%) never left the chain, KiiChain's postmortem said that portion was recoverable. TAC lost roughly 3 billion TAC (~$7.5 million); Nesa Chain's nominal $50 million exposure was capped near $60,000 in real profit by thin market liquidity; MANTRA reported no user funds impacted.
What should have happened instead of a public fix?
Standard responsible/coordinated disclosure: the vulnerability finder privately notifies every known downstream operator, gives them a fixed embargo window to patch, and only makes the technical details public once patches are deployed or the embargo lapses. KiiChain's postmortem argued Cosmos Labs skipped that step entirely.
Sources
- 1KiiChain, TAC, and other Cosmos-based blockchains exploited after "negligent" vulnerability disclosure — Web3 Is Going Great
- 2Cosmos requests validators to 'halt their chains' after EVM breach: 148.3M KII lost — AMBCrypto
- 3Cosmos Labs Urges EVM Chains To Halt As Shared Bug Drains Three Networks — The Defiant
- 4Cosmos Labs Confirms Cosmos EVM Incident as 3 Chains Disclose Impact — BeInCrypto