MPC-lab

Market Prices

Coin Price 24h
BTC Bitcoin
$62,773.5 -0.33%
ETH Ethereum
$1,844.05 -1.06%
SOL Solana
$71.82 -1.48%
BNB BNB Chain
$575.8 -1.99%
XRP XRP Ledger
$1.06 -0.31%
DOGE Dogecoin
$0.0691 -0.77%
ADA Cardano
$0.1738 +3.27%
AVAX Avalanche
$6.19 -3.19%
DOT Polkadot
$0.7799 +2.66%
LINK Chainlink
$8.06 -1.31%

Fear & Greed

27

Fear

Market Sentiment

Event Calendar

{{年份}}
15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

18
03
unlock Sui Token Unlock

Team and early investor shares released

12
05
halving BCH Halving

Block reward halving event

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

28
03
unlock Arbitrum Token Unlock

92 million ARB released

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

Altseason Index

44

Bitcoin Season

BTC Dominance Altseason

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

Market Cap

All →
1
Bitcoin
BTC
$62,773.5
1
Ethereum
ETH
$1,844.05
1
Solana
SOL
$71.82
1
BNB Chain
BNB
$575.8
1
XRP Ledger
XRP
$1.06
1
Dogecoin
DOGE
$0.0691
1
Cardano
ADA
$0.1738
1
Avalanche
AVAX
$6.19
1
Polkadot
DOT
$0.7799
1
Chainlink
LINK
$8.06

🐋 Whale Tracker

🟢
0xd24e...a755
5m ago
In
2,801 ETH
🟢
0x5806...e80a
30m ago
In
4,844,513 USDT
🟢
0x6dd4...16c1
1h ago
In
953,528 USDC

💡 Smart Money

0x312d...e6f6
Arbitrage Bot
+$2.6M
63%
0x16a4...eab6
Market Maker
-$4.7M
78%
0x1395...7f31
Market Maker
+$4.5M
84%

🧮 Tools

All →
Layer2

SecondFi, 374 Wallets, and the Key-Generation Flaw That Killed a Protocol

LarkBear
On a June day in 2025, 374 Cardano wallets lost control of their funds. No phishing link. No malicious approval. No user error. The assets moved because the private keys that protected those wallets were generated in a way the attacker could predict, reconstruct, and spend from. The total loss was approximately $16.1 million in ADA. SecondFi, the Cardano DeFi protocol that operated those wallets, has renewed its bounty push and confirmed it will not resume operations. The ledger remembers what the market forgets: this was not a hack in the theatrical sense. It was a systematic key-generation failure. That distinction changes what the industry should learn from it. SecondFi is not a headline name. That is exactly why the event deserves attention. It was a middle-tier protocol on Cardano, serving a small but real user base. The attack occurred in June 2025. Security researchers at Groom Lake reported behavior with technical similarities to the Lazarus Group, the North Korean state-aligned threat actor. Official attribution has not been confirmed. Similar behavior is not identity proof. What has been confirmed is the protocol's decision to stop operating and its renewed invitation for the attacker or anyone with information to claim a bounty. Those two facts, together, tell us more than any attribution headline. From the outside, Cardano has often been cast as the 'slow' blockchain, focused on peer-reviewed research and formal methods. That reputation made the SecondFi event uncomfortable to process. The chain upheld its part. The application did not. In my view, this is the most important nuance in the entire story: the failure came from an area that formal methods and a rigorous L1 culture were never designed to protect. The culture of peer review must now extend beyond consensus mechanics and into the key lifecycle. Let's be precise about what the technical failure is. It is not a smart-contract logic bug in the same family as a reentrancy exploit or a broken price oracle. A smart-contract exploit generally requires the user to interact with a malicious function, or a protocol to hold funds in a contract that can be manipulated. A key-generation vulnerability is more severe. When private keys, seed phrases, or signing paths are generated with weak or predictable randomness, the attacker does not need a single signature from the victim. No 'Approve' popup. No phishing site. The wallet is already open. This is the most serious failure category that a wallet or protocol can experience. The number 374 is not noise. It is a fingerprint. A single compromised user could be explained by malware, a reused password, or a stray seed phrase. Three hundred and seventy-four compromised wallets point to a shared generation process. In a normal Cardano wallet, entropy should come from a robust random number generator and the private key should be derived through a well-defined path. When 374 wallets are drained in a coordinated way, the common point is probably one of three things: a flawed random number generator, a predictable derivation path, or a centralized key-generation service that silently reused entropy across users. SecondFi has not disclosed which one. Without that disclosure, the incident remains analytically incomplete. A credible cryptographic failure has one of these signatures. First, a weak RNG. Second, a deterministic wallet implementation that uses a low-entropy seed and a predictable derivation path. Third, a centralized wallet service that reuses an ephemeral key. The only way to distinguish these is to inspect the code and logs. SecondFi has not released that information. That silence is not neutral. In an incident of this scale, full technical disclosure is a public good. The absence of disclosure makes independent verification impossible. Based on my audit experience, the first place I would look is the layer below the user interface. Most teams buy a wallet library and assume the cryptography is correct. Some never verify the entropy source. Some use a single cloud server to generate unique mnemonics. I have reviewed projects where the 'randomness' was a timestamp plus a counter. When a service like that generates wallets for hundreds of users, the result is a series of keys an attacker can enumerate. Formal verification is the only truth in code. If the key-generation code is not formally verified, it is not auditable in any meaningful sense. In 2020, I wrote a Python simulation to stress-test Compound V1's interest rate model against 10,000 randomized liquidity events. The purpose was to see when the system broke, not to prove it would break. The same method applies here. Feed 10,000 wallet generations through a flawed RNG and collisions will surface. The 374 wallets are the real-world result of that test. Stress tests reveal the fractures before the flood. In this case, no stress test was published before June 2025. The flood arrived without a warning. The available mitigations are old, standard, and proven. Multi-party computation splits a private key into shares so that no single share can sign. A hardware security module stores keys in tamper-resistant hardware. Threshold signatures require m-of-n approvals before value moves. All three would have made this attack dramatically harder. On Ethereum and other ecosystems, MPC wallet infrastructure has been commercially available for years. Cardano's application layer has been slower to adopt these standards. That gap is not a chain-level failure. It is an application-level compliance failure. Let me isolate the key insight: a secure base layer cannot rescue an insecure application design. Cardano's settlement layer was never the subject of this attack. Blocks continued to be produced. Node operations were not disrupted. The layer-one consensus, staking, and address groups remain intact. The analogy is a bank with bomb-proof vaults but a single key left on the reception desk. The foundation did not fail. The key-management process did. Confusing the two will produce the wrong regulatory responses and the wrong security investments. The comparison to traditional finance is useful here. A bank is not considered 'secure' because its building has safety glass. It is considered secure because its cash vault has a dual-key policy, and its key management is reviewed by an external examiner. DeFi protocols rarely have that layer. In my audits, I routinely ask how the protocol's hot wallet is instantiated. The answer is often 'a library.' That is acceptable only if the library's randomness is independently verified. The assumption that a widely used library is secure is the kind of assumption that creates a 374-wallet incident. Most smart-contract audits will not catch a key-generation flaw. In my work, I rarely see wallet-generation code included in the scope of an audit. The auditor checks the obvious invariants: access control, arithmetic, reentrancy, and maybe the oracle. They do not generate ten thousand keys and test for collisions. They do not check whether the entropy source is the operating system's cryptographic random generator or a counter. They do not attempt to recover a client's private key from a memory dump. This event should create a new category of audit: cryptographic key-management review. It should sit next to, not inside, the smart-contract audit. SecondFi's renewed bounty is, on its face, a rational gesture. But the framing deserves scrutiny. A protocol that is dead is offering a reward for assets that were stolen from a system that no longer exists. That is not the same as a functioning protocol offering a bug bounty for undiscovered vulnerabilities. The renewed bounty preserves optionality and keeps the story in the news. It also signals that the team believes public appeal is the strongest enforcement tool it has left. For a sophisticated attacker, that is not a constraint. The bounty push also creates a strange incentive misalignment. For an attacker, returning 10% of funds for a bounty is rational only if the alternative is zero probability of getting caught. For a nation-state actor, the alternative is also the same: keep the funds and use them to evade sanctions. The bounty therefore selects for low-sophistication attackers who are unlikely to be the culprit. This is not a reason to abandon bounties. It is a reason to stop presenting them as a recovery mechanism. History supports the skepticism. State-aligned operators do not respond to bounty posters. They move funds through bridges, mixers, and exchange deposits that are themselves subject to delay. A bounty is a communication strategy, not a recovery mechanism. The market often reads the word 'bounty' as a positive action. In this case, it should be read as a confirmation that the stolen funds are likely gone. If recovery were realistic, the protocol would not have confirmed a full shutdown. The Lazarus Group attribution is a second distraction. Groom Lake's report says 'technical similarities.' That is a far lower bar than forensic proof. In the security research industry, there is a commercial incentive to attach a famous threat actor to an attack. Until a law-enforcement agency formally makes the attribution, the prudent position is to treat the event as the work of an unknown actor with sophisticated capabilities. The geopolitical label does not change the cryptographic lesson. Immutability is a promise, not a guarantee. The chain will keep the stolen assets, but the promise of a permanent record does not return them. Let's examine the likely blast radius. One of the unresolved questions is whether the vulnerable key-generation implementation was unique to SecondFi or shared with other Cardano projects. DeFi applications often rely on common libraries, common indexing services, and common wallet backends. If an underlying library or service contained the weakness, then other protocols using the same code are exposed through the same path. That is the second-order risk hidden by the SecondFi shutdown. One protocol closes, and the market breathes a sigh of relief. But the fault line may still run underneath neighboring projects. The compliance angle is more direct. If the attack is later attributed to a sanctioned entity, the movement of the stolen ADA becomes a sanctions matter. Exchanges may be pressured to block addresses associated with the theft. Law enforcement and national security agencies may become involved. But none of that helps the 374 wallet owners in the short term. Sanctions designations take time. Asset freezes take longer. The interval between the initial theft and any frozen asset is measured in months, not days. In the meantime, users should treat every recovery claim with maximum suspicion. Recovery scams are the next predictable chapter. Whenever a protocol announces a bounty, fake bounty pages and fake claim portals appear. The only safe way to evaluate a claim is to verify the domain, the signed announcement, and the block height referenced in the official message. No legitimate recovery process will ask for a private key or a seed phrase. If a form asks for either, it is a second attack. Chaos is just unverified data. The first line of defense is verified channels. Protocol economics matters less here, but it matters. SecondFi has confirmed it will not resume operations. That means any project token, if one exists, is stripped of its functional claim to revenue or governance value. History is unambiguous: a DeFi protocol in liquidation does not produce yield. Anyone buying a 'cheap' token in the hope of a reopening is buying a narrative without a ledger. The remaining value, if any, is a recovery claim, not a growth asset. This is not investment advice. It is arithmetic. For the Cardano ecosystem, the takeaway is not about layer one. It is about application-layer accountability. Cardano's L1 security remains intact. But the events of June 2025 remind us that users interact with protocols, not abstract chains. If a protocol chooses weak key generation, a secure chain becomes irrelevant to that protocol's users. The ecosystem should respond by demanding cryptographic key-generation audits, independent RNG validation, and public disclosure of wallet infrastructure. Verification precedes value. Until Cardano DeFi makes wallet-key verification a standard, the next failure is only a matter of time. The next few months will tell us whether this event is a boundary or a beginning. If the exploited key-generation path is isolated, the damage stays contained. If it is shared, expect a sequence of follow-on disclosures. The safest response for Cardano developers is to treat every key-generation function as a suspect until proven otherwise. For users, the safest response is to move to protocols that can show an independent audit of their wallet infrastructure. This is not over-simplification. It is the only way to convert chaos into verified data. The market's attention will move on. SecondFi's name will fade. The addresses will not. The ledger remembers what the market forgets. Stolen ADA will sit in monitored wallets, moving slowly through whatever laundering path the attackers choose. The teams at security research firms like Groom Lake will keep watching those addresses. The next time a Cardano protocol announces a 'security update' or a 'key management improvement,' ask one direct question: Where are the private keys generated, and can you prove the entropy source? If the team cannot answer, walk away.

SecondFi, 374 Wallets, and the Key-Generation Flaw That Killed a Protocol