• News
    • Bitcoin
    • Altcoins
    • Blockchain
    • DeFi
    • Regulation
    • Scams
  • NFT
  • Metaverse
  • Analysis
  • Learn
  • Videos
  • Blogs
  • Market Cap
  • Shop
What's Hot

You’re Hired! North Korea’s new crypto scam starts with a job offer

2025-06-20

PurpleBitcoin, Sleepcoin & Fartbook secured the bloodline while BTC maintains it!!!

2025-06-19

SUI vs SEI: Most SAVAGE Layer 1 Showdown Ever ⚔️🔥

2025-06-18

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

Facebook Twitter Instagram
Crypto Investor News Network
  • News
    • Bitcoin
    • Altcoins
    • Blockchain
    • DeFi
    • Regulation
    • Scams
  • NFT

    All Eyes on Art: Upcoming Collections to Watch the Week of February 4

    2025-02-05

    Creator of rabbit AI assistant has hidden NFT past

    2024-05-02

    Ethereum tops daily NFT sales at US$7 mln, ends weakest month of 2024

    2024-05-02

    Top NFT Airdrops and Giveaways for May 2024

    2024-05-02

    Casio Launches NFT Collection Celebrating 50th Anniversary

    2024-05-01
  • Metaverse

    Shib: The Metaverse – Part of the Expanding Shiba Inu Ecosystem

    2025-01-03

    Experience to Earn: Everdome’s Metaverse Frontier

    2024-12-30

    Beyond Bots: Meta Motivo and the Dawn of Humanlike Digital Life

    2024-12-13

    Exploring NetVRk: What Is Behind This AI-Driven Virtual Universe?

    2024-10-28

    Council of Europe Highlights Metaverse’s Impact on Privacy and Democracy

    2024-09-05
  • Analysis

    Crypto Exchange Coinbase Lists New DeFi Altcoin Project Built on Base Blockchain

    2023-12-13

    Ethereum Price Bears Keep Pushing, Why Decline Isn’t Over Yet

    2023-12-13

    Trader Bullish on Cosmos (ATOM), Says One Dogecoin Rival Setting Up for Next Leg Up – Here’s His Outlook

    2023-12-13

    AVAX Price Pumps 50% and Dumps 15%, Why Uptrend Is Still Strong

    2023-12-13

    Top Trader Predicts Parabolic Rally for Solana Competitor – Here’s His Upside Target

    2023-12-13
  • Learn

    What Is Fully Diluted Valuation (FDV) in Crypto?

    2025-06-12

    What Does FUD Mean in Crypto? The Fear, Uncertainty, and Doubt Effect

    2025-06-09

    What Is Crypto Staking? How to Earn Crypto by Holding It

    2025-06-05

    What Are Liquidity Pools? A Guide to DeFi Explained Simply

    2025-06-05

    What Is Yield Farming in Crypto? A Beginner’s Guide to DeFi Income

    2025-06-02
  • Videos

    PurpleBitcoin, Sleepcoin & Fartbook secured the bloodline while BTC maintains it!!!

    2025-06-19

    SUI vs SEI: Most SAVAGE Layer 1 Showdown Ever ⚔️🔥

    2025-06-18

    Elon Musk Quits DOGE—What’s Next for Tesla Stock?

    2025-06-18

    US Gold Found In The Quantum Realm

    2025-06-18

    😵 OCTA: The Crypto FOMO Storm Is HERE! 🌪️💎

    2025-06-17
  • Blogs
  • Market Cap
  • Shop
Facebook Twitter Instagram TikTok
Crypto Investor News Network
Home»DeFi»Platypus attack exploited incorrect ordering of code, auditor claims
DeFi

Platypus attack exploited incorrect ordering of code, auditor claims

2023-02-20No Comments3 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest Email

Disclaimer: The article has been updated to reflect that Omniscia did not audit a version of the MasterPlatypusV4 contract. Instead, the company audited a version of the MasterPlatypusV1 contract from Nov. 21 to Dec. 5, 2021.

The $8 million Platypus flash loan attack was made possible because of code that was in the wrong order, according to a post-mortem report from Platypus auditor Omniscia. The auditing company claims the problematic code didn’t exist in the version they audited.

In light of the recent @Platypusdefi incident the https://t.co/30PzcoIJnt team has prepared a technical post-mortem analysis describing how the exploit unravelled in great details.

Be sure to follow @Omniscia_sec to receive more security updates!https://t.co/cf784QtKPK pic.twitter.com/egHyoYaBhn

— Omniscia (@Omniscia_sec) February 17, 2023

According to the report, the Platypus MasterPlatypusV4 contract “contained a fatal misconception in its emergencyWithdraw mechanism,” which made it perform “its solvency check before updating the LP tokens associated with the stake position.”

The report emphasized that the code for the emergencyWithdraw function had all of the necessary elements to prevent an attack, but these elements were simply written in the wrong order, as Omniscia explained:

“The issue could have been prevented by re-ordering the MasterPlatypusV4::emergencyWithdraw statements and performing the solvency check after the user’s amount entry has been set to 0 which would have prohibited the attack from taking place.”

Omniscia audited a version of the MasterPlatypusV1 contract from Nov. 21 to Dec. 5, 2021. However, this version “contained no integration points with an external platypusTreasure system” and therefore did not contain the misordered lines of code.

It is important to note that the code that was exploited did not exist at the time of Omniscia’s audit. Omniscia’s point of view implies that the developers must have deployed a new version of the contract at some point after the audit was made.

See also  Pendle Finance Transforms from Failed Business to $7B DeFi Giant

Related: Raydium announces details of hack, proposes compensation for victims

The auditor claims that the contract implementation at Avalanche C-Chain address 0xc007f27b757a782c833c568f5851ae1dfe0e6ec7 is the one that was exploited. Lines 582–584 of this contract appear to call a function called “isSolvent” on the PlatypusTreasure contract, and lines 599–601 appear to set the user’s amount, factor and rewardDebt to zero. However, these amounts are set to zero after the “isSolvent” function has already been called.

The Platypus team confirmed on Feb. 16 that the attacker exploited a “flaw in [the] USP solvency check mechanism,” but the team did not initially provide further detail. This new report from the auditor sheds further light on how the attacker may have been able to accomplish the exploit.

The Platypus team announced on Feb. 16 that the attack had occurred. It has attempted to contact the hacker and get the funds returned in exchange for a bug bounty. The attacker used flashed loans to perform the exploit, which is similar to the strategy used in the Defrost Finance exploit on Dec. 25, 2022.

Attack auditor claims code exploited Incorrect ordering Platypus
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Terrorist Attack Coming To The US?

2025-06-17

Bitcoin 6102 Attack?

2025-03-25

Bitcoin Is Under ATTACK – How BlackRock Could Change Bitcoin FOREVER

2025-01-12

Crypto Under Attack: Global Regulator’s Secret Plan Revealed!

2024-10-24
Add A Comment

Leave A Reply Cancel Reply

Top Posts
Learn About Crypto

Bombcrypto (BCOIN) Price Prediction 2023 2024 2025

2023-03-04

beginner Bombcrypto Price Chart Bombcrypto Overview Price $0.01 Price Change 24h -1.9% Price Change 7d…

NFT

NFTs unlock physical biodegradable vinyl records

2023-04-05

NFT Hype around nonfungible tokens (NFTs) has cooled down, however innovative use cases for these…

Analysis

Bitcoin Flashing Bullish Signal That Previously Preceded a 214% Rally, According to Macro Guru Raoul Pal

2023-08-30

Former Goldman Sachs executive Raoul Pal says he’s looking at one signal that has preceded…

Subscribe to Updates

Get the latest news and Update from CINN about Crypto, Metaverse and NFT.

Editors Picks

You’re Hired! North Korea’s new crypto scam starts with a job offer

2025-06-20

PurpleBitcoin, Sleepcoin & Fartbook secured the bloodline while BTC maintains it!!!

2025-06-19

SUI vs SEI: Most SAVAGE Layer 1 Showdown Ever ⚔️🔥

2025-06-18

Elon Musk Quits DOGE—What’s Next for Tesla Stock?

2025-06-18
Crypto Investor News Network
Facebook Twitter Instagram TikTok
  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Disclouser
© 2025 - All rights are reserved.

Type above and press Enter to search. Press Esc to cancel.

bitcoin
Bitcoin (BTC) $ 106,048.41
ethereum
Ethereum (ETH) $ 2,554.61
tether
Tether (USDT) $ 1.00
xrp
XRP (XRP) $ 2.17
bnb
BNB (BNB) $ 648.18
solana
Solana (SOL) $ 148.59
usd-coin
USDC (USDC) $ 1.00
tron
TRON (TRX) $ 0.274674
dogecoin
Dogecoin (DOGE) $ 0.17059
staked-ether
Lido Staked Ether (STETH) $ 2,554.87
bitcoin
Bitcoin (BTC) $ 106,048.41
ethereum
Ethereum (ETH) $ 2,554.61
tether
Tether (USDT) $ 1.00
xrp
XRP (XRP) $ 2.17
bnb
BNB (BNB) $ 648.18
solana
Solana (SOL) $ 148.59
usd-coin
USDC (USDC) $ 1.00
tron
TRON (TRX) $ 0.274674
dogecoin
Dogecoin (DOGE) $ 0.17059
staked-ether
Lido Staked Ether (STETH) $ 2,554.87