The Cardano ecosystem is suffering a painful blow. The SecondFi team, previously known as the developer of one of the network's most popular wallets, Yoroi, has officially announced the cessation of its service. The reason is a large-scale attack in which attackers withdrew 16.1 million ADA, worth approximately $2.6 million at the time of the incident. This is not just a hack, but a complete collapse of trust in a key infrastructure unit.
The attack lasted from June 21 to 23 and affected 374 wallets. It is important to emphasize: the Cardano blockchain was not compromised. The vulnerability was rooted solely in the wallet's own software. Users of hardware wallets, as expected, were not affected — further proof that storing funds on cold devices remains the gold standard of security.
Specialists from Beosin conducted a detailed analysis and identified the root of the problem: an incorrect implementation of the Ed25519 digital signature algorithm. The signature creation process uses a one-time value (nonce) that should depend on secret data. However, in SecondFi's code, this nonce was generated based on the public transaction hash, without the necessary secret component. This was enough for an attacker, having one signed transaction, to recover the private key and gain full control over the wallet.
The situation was exacerbated by the fact that a copy of the vulnerable code was found in a public GitHub repository. Although the team does not claim that the attackers found the vulnerability there, the very fact of the source code leak raises serious questions about the developers' security culture.
Two attackers and three waves of attack
EMURGO, one of the three founding organizations of Cardano behind SecondFi, engaged the blockchain analytics firm Groom Lake for the investigation. The results of their work shed light on the complexity of the attack. It turned out that at least two independent attackers were involved. The first withdrew funds from 171 wallets, the second from 203. The attacks were carried out in three automated waves. Notably, no overlap was found between the affected addresses, indicating coordinated but independent work by the hackers. Moreover, some indicators point to the possible involvement of the North Korean Lazarus group, known for its sophisticated and well-funded operations.
The end of the Yoroi era
Despite the vulnerability being promptly fixed, and new wallets created after the update considered safe, EMURGO made an unprecedented decision. The SecondFi service and the Yoroi wallet are completely ceasing operations. The team is focusing exclusively on returning funds to affected users and securely transferring remaining assets. The app is currently operating in "isolation" mode: users can only view balances but cannot send or exchange assets.
A secure wallet export function is expected in early August. A separate recovery portal based on zero-knowledge proof (ZK-Proof) technology is being developed for victims, which is certainly the right but belated step. The head of EMURGO previously promised to start returning funds within two weeks, but now, with the complete closure of the project, the timeline may be revised.
My analysis: This event is a serious wake-up call for the entire industry. The SecondFi hack demonstrates that even projects at the foundation of major blockchains can be vulnerable at the level of basic cryptographic implementation. The departure of Yoroi leaves a noticeable void in the Cardano ecosystem, and restoring user trust in non-custodial solutions will require significant effort. The incident also highlights the growing activity of professional hacker groups, who do not hesitate to target mid-tier infrastructure projects, not just top-tier exchanges.