Quick Summary Seven of Rari's Fuse pools were drained due to re-entrancy attack. The total amount of losses is ~$80m. Details of the Exploit Rari enables the creation of so-called Fuse Pools permissionless lending pools that anyone with a wallet can access from anywhere to lend or borrow ERC-20 tokens. The attack drained Rari's pools while Rairy's pools were unaffected. Fei Rari uses a fork of the Compound code that doesn't follow the check-effect-interaction pattern which the attacker took advantage making a re-entrancy attack via CEther which uses call.value to send ETH. Attack flow: 1) Attacker flash loaned 150m USDC and 50k WETH 2) Deposited 150m USDC as collateral into fUSDC-127 contract for loans. This contract is a fork of vulnerable smart-contract of Compound protocol. 3) The attacker borrows 1,977 ETH via borrow() function 4) As the borrow() function does not follow the check-effect-interaction pattern and transfers ETH to the attacker’s contract before updating the attacker’s borrow records. 5) As the attacker’s borrow record not updated, the attacker made a re-entrant call to exitmarket() that allows the attacker to withdraw his collateral. The attacker repeated the following actions, repaid the flash loan, and kept the remaining profit for himself. Funds lost: ETH - 6 037.81 FEI - 20 251 603.11 DAI - 14 278 990.68 LUSD - 1 948 952.18 USDC - 10 055 556.33 USDT - 132 959.90 RAI - 31 615.87 FRAX - 13 101 364.94 UST - 2 765 891 Total lost in USD: 79 749 026$ Update 22.09.2022: Tribe DAO which is a conglomerate of Midas Capital, Rari Capital, Fei Protocol and Volt Protocol has passed an on-chain vote with 99% consent to fully reimburse the $80m in losses victims suffered in the Rari capital exploit. Block Data Reference Attacker Address: https://etherscan.io/address/0x6162759eDAd730152F0dF8115c698a42E666157F Attack transactions: ETH: https://etherscan.io/tx/0xab486012f21be741c9e674ffda227e30518e8a1e37a5f1d58d0b0d41f6e76530 Arbitrum: https://arbiscan.io/tx/0x3212d091792f81f18a31aab753de6b3128d79dcb5e8392167249595f813203ef Attacker contracts: 1) https://etherscan.io/address/0xE39f3C40966DF56c69AA508D8AD459E77B8a2bc1 2) https://etherscan.io/address/0x32075ba
Rari Fuse
אירוע שתועד ב-De.Fi REKT. הסיווג: חוזים חכמים ולוגיקת פרוטוקול.
הדיווחים על האירוע
| מקור | תאריך במקור | הערכת נזק | כספים שהוחזרו | שיטה כפי שדווחה |
|---|---|---|---|---|
| De.Fi REKT | 30 באפר׳ 2022 | $79.75M | $79.75M | Reentrancy |
מה ידוע על המתקפה?
הסיווג ושיטת התקיפה משקפים את דיווחי המקורות. תיאורים מפורטים מוצגים בשפת המקור; לקריאת התחקיר המלא ניתן לפתוח את הקישור המצורף.
תמונת המצב נאספה ב-17 בנוב׳ 2026. הסכומים נקובים בדולרים ומשקפים הערכות מקור. סכום לא ידוע אינו אפס; סכום שהוקפא אינו בהכרח כסף שהוחזר.
