2125 29511 110 30076 13 61801 57152 186 36493
111871 14118 200 17539 790 527941
145951 635657 3084

Phantom Functions and the Billion-Dollar No-Op

We disclosed a major vulnerability to the Multichain project (formerly "AnySwap"). The threat was one of the largest, if not the largest, in crypto history, and the attack vector is novel. It turns out that some ERC20 tokens, most notably WETH, that has a permissive fallback function will allow arbitrary function calls to succeed. The reasons for this are complex, but have to do with low-level EVM semantics, the Ethereum ABI standard, and the way the Solidity compiler works. The article describes how an attacker could steal > $1B worth of WETH from Multichain and Fantom, after responsibly disclosing this issue to the Multichain team.

Read more
(in Chinese)