Back to Blog

Newsletter - December 2025

Code Auditing
December 31, 2025

Top 3 DeFi Incidents in December

Yearn Finance: ~$9M

On December 1, Yearn Finance’s yETH pool on Ethereum was exploited, resulting in total losses exceeding $9 million. With assistance from external security teams, about $2.39 million (857.49 pxETH) was successfully rescued on the same day.

The vulnerability resided in the _calc_supply() function, which used an iterative method to calculate new supply approximations. Unsafe math operations caused rounding errors and underflow issues. While the vulnerability itself appeared relatively straightforward, the attacker executed sophisticated steps to exploit it, manipulating the pool's supply down to zero before extracting profits.

Sixteen days later, the protocol suffered a second breach as an outdated contract from its legacy version (iEarn) was compromised. This incident exploited a known misconfiguration vulnerability previously identified in 2023. The second incident resulted in $300k in losses, bringing the protocol's total monthly impact to nearly $10 million.

Read official post-mortem for detailed attack analysis

Trust Wallet: ~$7M

On Christmas Day, Trust Wallet suffered a critical security breach in its Chrome extension (v2.68), resulting in the theft of approximately $7 million in user funds.

The root cause was a malicious backdoor injected into the codebase, suspected to have originated from a social engineering attack targeting the development team. This backdoor method uploads user memonics to an attacker-controlled server, compromising any memonics generated or imported using this specific version of the extension. The attacker subsequently drained user funds on multiple chains and routed them to non-KYC exchanges.

Following the incident, the Trust Wallet team released an emergency update to remove the backdoor and committed to a compensation plan for affected users. This breach serves as a stark reminder that security must span the entire protocol lifecycle. Beyond on-chain code audits, securing off-chain infrastructure and maintaining continuous monitoring are essential to safeguarding user assets.

Ribbon Finance: ~$2.7M

On December 12, Ribbon Finance on Ethereum was attacked, resulting in a loss of $2.7 million.

The root cause was improper access control in the setAssetPricer() function within the Oracle contract, allowing anyone to arbitrarily set asset prices. The attacker exploited this by first setting a legitimate-looking price oracle to avoid detection, as the protocol only settles options on whole-week intervals. After creating and purchasing a call option position, the attacker waited until the exercise date to upgrade the contract and replace the benign oracle with a malicious one that set an artificially inflated asset price, then exercised the option to extract profit.

This incident highlights that access control remains a critical aspect of smart contract security. A single oversight in permission management can expose protocols to significant risks. Comprehensive security audits that examine all administrative functions are essential before deployment to identify and address such vulnerabilities.

The information above is based on data as of 00:00 UTC, December 30, 2025.

This concludes the December security incidents brief

You can learn more in our Security Incidents Library.

Stay informed and stay secure!

Sign up for the latest updates
COLDCARD Incident: When a Wallet's "Random" Seed Wasn't Random
Security Insights

COLDCARD Incident: When a Wallet's "Random" Seed Wasn't Random

A silent build-and-integration bug in COLDCARD firmware routed Bitcoin seed generation onto a software RNG fallback, whose weak randomness left wallet seeds recoverable offline. Because the weakness is in the seed itself, a firmware update cannot undo it; verified sweeps reached 1,405 BTC (~$91M) by 7 August 2026, with private-channel estimates as high as 2,055 BTC.

~$88M Lost: COLDCARD & LULA Exploits | BlockSec Weekly
Security Insights

~$88M Lost: COLDCARD & LULA Exploits | BlockSec Weekly

During the week of July 27 to August 2, 2026, two notable security incidents caused roughly $88M in losses across Bitcoin and BNB Chain. The highlighted COLDCARD incident was a hardware-wallet firmware entropy failure: a build guard that checked whether an RNG configuration macro existed rather than whether it was enabled routed seed generation to a deterministic software fallback, enabling an attacker to recover affected seeds and sweep at least 1,370 BTC (~$88M) across a series of on-chain waves. The LULA token on BNB Chain lost ~$578K to a business-logic flaw where an attacker-reachable path could trigger its privileged `recycle()` function, pulling LULA out of a PancakeSwap V2 pair, resyncing its reserves to the manipulated balance, and draining its liquidity.

Newsletter - July 2026
Security Insights

Newsletter - July 2026

July 2026's three largest DeFi incidents totaled approximately $67.9M in losses across Arbitrum and Solana. AFX Trade lost ~$24.15M after a supply chain attack compromised validator signing authority. Ostium's OLP vault was drained of ~$23.75M through compromised oracle infrastructure that submitted attacker-controlled prices. BonkDAO lost ~$20M when an attacker spent $4.4M to acquire enough voting power to pass a malicious treasury transfer with no timelock. All three incidents demonstrate that a protocol's security boundary extends far beyond smart contract code.

Best Security Auditor for Web3

Validate design, code, and business logic before launch. Aligned with the highest industry security standards.

BlockSec Audit