In May 2022, a stablecoin designed to hold a value of $1 collapsed to under a cent, erasing an estimated $45 billion of linked value in days. The token was not hacked. Its peg-holding arithmetic, the very mechanism that had powered its rise, simply reversed itself under selling pressure. That collapse is the emblematic failure of decentralized finance, a field that reproduces core financial functions—money, exchange, credit, and cross-ledger transfer—as autonomous programs running on programmable blockchains.
Finance as Code
Programmable blockchains arrived in 2015 and made it possible to deploy financial logic that no human operates. Everything in this domain is a program in that sense: stablecoins maintain a target value, automated market makers price and trade against pooled reserves, lending pools extend credit against posted collateral, and bridges move assets between different ledgers. The economic functions are centuries old, but every one of them now runs unattended, 24 hours a day, with the only referee being the code’s own arithmetic.
Traditional finance distributes its trust across charters, audits, capital requirements, and regulators. DeFi concentrates that trust in the code and the data feeds the code consumes. When both are right, the systems run exactly as designed. When either is wrong, the failures do not wait for business hours or for anyone’s approval to happen.
The only referee is the arithmetic.
The research document states this as its whole risk thesis, and the documented failure modes are accordingly code-shaped: bad collateral logic, manipulated price feeds, and single-transaction exploits.

The Four Primitives
Stablecoins hold a target value—conventionally $1—through two designs. Collateralized issuance backs every token with a reserve of assets, while algorithmic issuance adjusts the supply itself to hold the peg by contract arithmetic. Their documented fates diverge sharply. During March 2023 banking-sector stress, a large fully-collateralized token broke to roughly $0.87 before its reserve was confirmed and it restored within days. In the 2020 market crash, the largest decentralized-collateral token dipped toward $0.90 before its auction mechanics corrected it. The flagship algorithmic design, by contrast, collapsed to roughly $0.02 in May 2022 and never restored. A second algorithmic design, xUSD, fell to roughly $0.08 in November 2025 and likewise did not recover.
Automated market makers price swaps by a published invariant: the product of two pooled reserves stays constant through any trade. The formula is compact— x * y = k —and anyone can verify the pricing against any pool’s on-chain numbers. The same invariant produces impermanent loss, the cost AMM liquidity providers bear when prices diverge from their entry point. Lending pools lend against collateral and liquidate automatically when its value falls below a set factor. Bridges move assets across chains by locking tokens on one ledger and minting a representation on another, relying on a validator set to attest the lock.
Each failure is the code doing exactly what it was written to do in conditions its authors priced badly.
The research document records this as the field’s real lesson, and the Ronin bridge loss in 2022—compromise of a bridge’s validator set rather than the code itself—shows how code-shaped failures become human-shaped ones at the perimeter.

Composability and Cascade Risk
The primitives are individually analyzable, but the field’s documented crises mostly happen between them. DeFi’s composability means protocols call protocols, and assets pledged as collateral inside other assets’ lending markets create links through which a single instrument’s failure propagates by design. When a token that functions as collateral loses its value, every position collateralized by it breaches its threshold simultaneously. Automated liquidations then sell the collateral into thin markets, depressing prices further and breaching more thresholds in a feedback loop that runs at chain speed with no human in the loop to slow it.
The November 2025 cascade followed the same anatomy in miniature. A fund loss at a collateral provider fed through a yield token that fell from its dollar target to roughly $0.08 within hours, and the resulting bad debt propagated through lending protocols holding it. Specialist risk-monitoring coverage documented aggregate losses in the hundreds of millions and forced emergency protocol governance responses. Protocols with diversified reserves and segmented collateral weathered the cascade, while badly connected ones suffered. Automated circuit breakers and adaptive thresholds entered design practice as a direct consequence.
Reading a Protocol
For any protocol under analysis, the research document prescribes a sequence: identify the invariant the code promises to hold, locate the oracle that supplies its price, compute the liquidation threshold for any collateralized position, and inspect the validator set for any bridge. The order moves from code to data to position to people, mapping where each kind of failure lives. A feed sourced from one pool’s spot price is the classic vulnerability, and time-weighted or wide-quorum feeds reduce but do not eliminate manipulation risk.
Position-level checks are necessary and insufficient. The portfolio question is not whether a single position can survive a price move, but what the asset holds and what holds what the asset holds. Diligence across collateral composition, reserve attestations, and upstream protocols is the cascade-era answer, and post-2022 design practice treats reserve transparency and third-party audits as ordinary expectations rather than features.
Photo: Someone Not Awful, CC BY-SA 4.0, via Wikimedia Commons; Photo: Someone Not Awful, CC BY-SA 4.0, via Wikimedia Commons