Klever says an attacker used its smart-contract verification service to run malicious code inside its cloud environment on Dec. 2, then took the signing key of a legacy Klever Foundation wallet and emptied it of 67,762,510.79 KLV and 10,611.89 KFI. The root-cause account is in a post-mortem on Klever’s forum, which went up on Dec. 4. Klever promoted the report on X on Dec. 5, saying “One Foundation wallet was compromised. The blockchain protocol was unaffected, and we found no evidence of impact to user funds.”
How the attack worked, according to Klever
Klever says the verification service lets anyone check that a Rust smart contract’s source matches the code deployed on-chain. The service compiles the uploaded project. Compiling a Rust project also runs its build scripts: a file named build.rs is compiled and executed just before the package is built.
Klever says the attacker submitted a deliberately crafted project with a malicious build.rs file. The build had full network access, and the only safeguard removed environment variables, which Klever says cannot stop code from reaching the network. The attacker’s code read the service account’s cloud access token from the cloud metadata server and sent it out. Klever puts the token leak at 08:03:52 UTC on Dec. 2.
The cloud account had excessive permissions, according to Klever, so the attacker moved to another cloud identity and reached hosts. On the host running a staking-migration service introduced in 2023 for the move from Tron to Klever’s own mainnet, the attacker harvested the configuration, including the wallet’s signing key. Klever says keeping that production key on the host let a cloud compromise become a wallet theft.
Timeline and where the tokens went
Klever’s timeline, all in UTC on Dec. 2, has the full balance of the Foundation wallet moving to the attacker’s wallet at 12:52:16. Selling began at 12:55 through three channels: Klever Swap, the Klever on-chain DEX and an instant-exchange service, and the last observed sale finished at 16:26. Klever lists completed sales of 42,000,000 KLV through Klever Swap, in 21 swaps of about 2 million KLV each, 12,500,000 KLV through the instant-exchange service, and 11,261,000 KLV plus the 10,611.89 KFI through its on-chain DEX and the Klever-to-Ethereum bridge.
Klever says the selling drove a sharp drop in the KLV price that day. It flagged the price drop at 15:11 UTC, identified the drain between 15:38 and 15:50 and opened a war room. At 16:09 UTC it disabled the compromised default compute service account, and it announced the incident on its official channels at 20:31 UTC. Final reconciliation of the stolen balance and completed swaps is still under way, Klever says.
Klever’s tracing found one Ethereum address that received the proceeds. The post-mortem says it held about 11.067 ETH as of Dec. 3 and had not moved since 16:20 UTC on Dec. 2.
Wider damage and remediation
Klever says the theft of funds was limited to one wallet, but the intrusion reached further. The attacker cloned a cloud database, deleted three backups, added unauthorized SSH keys to cloud hosts and modified an internal compiler binary. Klever says that binary had been stored in a publicly accessible bucket by mistake, that the public access has been removed and that the developer release was not affected.
The wallet was protected by a single signing key, Klever says, and was the last operational wallet not yet moved to Kustody, its custody system. Klever calls leaving the legacy service running and the wallet outside Kustody a contributing root cause.
An internal review on Dec. 2 found six issues: one Critical, one High, one Medium, two Low and one Informational. Klever says it rated the missing build isolation Critical.
The remediation Klever lists starts with restricting access to the verification service and moving the compiler into an isolated cloud project with a dedicated identity that has no permissions. The cloud credentials involved were disabled and are being rotated, and the affected wallet is being re-keyed. Going forward, Klever says every build of user-uploaded code is to run in a sandbox with no network access and no cloud credentials, and each cloud service account is to be cut back to the minimum permissions it needs. It is also tracing the funds, working with exchanges and assessing next steps, including contact with law enforcement, and plans to publish a final loss accounting.
Klever says the Foundation will cover the loss from its own reserves. It also says several exchanges suspended KLV deposits and withdrawals as a precaution, and that swaps between KDA tokens and tokens on other networks in Klever Swap are disabled for lack of liquidity until those exchanges reopen. On-chain KLV transfers work normally, the company says.
The incident joins other recent post-mortems that trace losses to ordinary infrastructure. AltcoinReporter reported on Fluidkey’s post-mortem, which blamed unpatched flaws in a third-party logging tool for transfers from 52 accounts, and covered Chainflip’s second incident report, which pointed to a flaw in the libzmq messaging library behind a vault theft.
FAQ
Was the Klever blockchain itself compromised? Klever says no. Its post-mortem states that the protocol, its nodes and its consensus were not affected.
Were user funds affected? Klever says it found no evidence of impact to user funds, user accounts or user private keys. The loss was one Foundation wallet, which the Foundation says it will cover from its reserves.
When did this happen? Klever places the incident on Dec. 2, with the wallet drained at 12:52:16 UTC. The post-mortem was posted on its forum on Dec. 4, and Klever promoted it on Dec. 5.
Disclaimer: This article is for informational purposes only and does not constitute financial advice.
















