SecondFi, the operator of one of the oldest wallets on the Cardano blockchain, has announced the termination of its service. The decision was made following a major security incident in which an attacker withdrew 16.1 million ADA (approximately $2.6 million). The incident affected 374 wallets, and despite fixing the vulnerability, EMURGO's management (one of the three founding organizations of Cardano) deemed it impossible to restore trust.

The attack lasted from June 21 to June 23. SecondFi emphasizes that the Cardano blockchain itself was not compromised — the issue lay solely in the wallet's software. Users of hardware wallets were not affected. The vulnerability was found in the Ed25519 digital signature creation mechanism.

Technical essence of the hack: an error in the Ed25519 implementation

Security experts from Beosin linked the incident to an incorrect implementation of the Ed25519 digital signature algorithm. When creating a signature, a one-time value (nonce) is used, which must depend on secret data. However, SecondFi's software generated this nonce based on the public transaction hash, without the necessary secret component. As a result, a single published signature was sufficient to recover the private key and sign a transfer on behalf of the wallet owner.

The team also discovered a copy of the vulnerable code, posted without permission in a public GitHub repository. However, the service does not claim that the attackers found the vulnerability through this repository — the investigation is ongoing.

Two attackers and traces of Lazarus

EMURGO engaged blockchain analytics firm Groom Lake for the investigation. Specialists identified two independent attackers who carried out three automated waves of attacks. The first withdrew funds from 171 wallets, the second from 203. Preliminary assessments suggest the main attack was conducted by a technically skilled and well-funded entity. Some indicators are being checked for possible overlap with the activity of the North Korean Lazarus group.

What's next: isolation and fund recovery

The vulnerability has been fixed, and new wallets created with the updated software are not considered affected. However, EMURGO has decided to completely shut down SecondFi and the Yoroi wallet. The application is currently operating in isolation mode: users can view balances and addresses but cannot send, exchange, or transfer assets.

A secure wallet export feature is planned for release in early August. It will allow assets to be transferred to a new wallet without reusing compromised data. A separate recovery portal based on zero-knowledge proofs is being developed for affected users.

EMURGO CEO Phillip Pon previously indicated an approximate two-week timeline for launching the fund recovery process.

My expert commentary. This incident is a serious blow to the reputation of the Cardano ecosystem. Yoroi was one of the network's most popular wallets, and its closure raises fundamental questions about the security of user funds in decentralized systems. The error in the Ed25519 implementation is not just a bug but an architectural oversight that could have been prevented with more thorough auditing. For investors, this is a reminder: even time-tested projects are not immune to fatal code errors.