Pawnfi, Midas, Hashflow: Borrowing Blind, Rounding Wrong, and Mis
Four DeFi exploits are described: Pawnfi allowed borrowing against NFTs that were not actually transferred, Midas Capital suffered a rounding error that inflated the exchange rate, Hashflow lacked authorization checks on token transfers, and Ara's token price was manipulated via a large swap. Attackers could profit by exploiting these logic flaws, with losses ranging from $124K to $820K.
These four exploits showcase the full spectrum of DeFi negligence: Pawnfi let attackers borrow against NFTs they didn’t own. Midas got drained by a one-wei rounding error.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the common root cause is missing or insufficient validation of user actions and state changes, such as not verifying NFT transfers, incorrect rounding in share calculations, and absent authorization checks.
Impact
Attackers could steal funds; the total losses across the four incidents were approximately $2.1 million, though some funds may have been returned.
What the attacker needed
Access to DeFi protocols; ability to execute flash loans; knowledge of smart contract logic
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
These are bugs in smart contracts, which are programs on a blockchain that handle money. In each case, the code made a wrong assumption—like trusting that a user actually owns what they claim, or that a tiny rounding error won't matter—and attackers used that to steal funds.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.