The Cardano ecosystem has suffered a serious blow: the SecondFi team (formerly known as Yoroi wallet) has announced the cessation of operations following a major security incident. As a result of an attack that lasted from June 21 to 23, attackers withdrew 16.1 million ADA, valued at approximately $2.6 million at the time of the events. The incident affected 374 wallets, and it turned out that the vulnerability was critical—it allowed private keys to be recovered.

Root of the Problem: Error in Ed25519 Implementation

Contrary to possible concerns, the Cardano blockchain was not compromised. The issue lay in the software of the SecondFi wallet itself. Analysts from Beosin linked the incident to an incorrect implementation of the Ed25519 digital signature algorithm. The essence of the vulnerability was in the generation of the "nonce"—a one-time value used when creating a signature. Instead of relying on secret data, the SecondFi software generated this nonce based on the public hash of the transaction. This meant that an attacker, by analyzing just one published signature, could recover the private key and sign a transfer on behalf of the wallet owner. Additionally, it was discovered that a copy of the vulnerable code was unauthorizedly posted on GitHub, although the team does not claim that the attack originated from there.

Two Attackers and a "North Korean Trail"

An investigation conducted by blockchain analytics firm Groom Lake, involving EMURGO (one of the founding organizations of Cardano), revealed a complex picture of the attack. It turned out that at least two independent attackers were involved. The first, described by analysts as a technically skilled and well-funded external entity, withdrew funds from 171 wallets. The second attacker acted separately and targeted 203 other addresses. A total of three automated waves of attacks were carried out. The most alarming signal: some indicators point to a possible overlap with the activity of the infamous North Korean hacker group Lazarus Group.

End of an Era: Service Goes into Isolation

Despite the vulnerability being fixed and new wallets unaffected, EMURGO has made a radical decision. The company is completely shutting down the SecondFi and Yoroi wallet projects. The team's operational activity is now limited exclusively to returning funds and safely transferring remaining client assets. Currently, the application operates in isolation mode: users can only view balances but cannot send or exchange assets. A secure wallet export feature is planned for release in early August, and a separate recovery portal based on zero-knowledge proofs (ZK-proofs) is being developed for those affected by the attack.

My Analysis: This incident is a stark example of how a seemingly minor coding error can destroy trust in an entire project and lead to its complete liquidation. For the Cardano ecosystem, this is a painful lesson: the loss of one of its primary wallets, backed by one of the three founding organizations, not only undermines SecondFi's reputation but also raises questions about the quality of security audits in a broader context. The link to Lazarus Group, if confirmed, only underscores that the crypto industry remains a prime target for well-organized state-sponsored hacker groups.