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

Jan 2024 SEC’s X account hacker got 14 months in prison for cyber fraud

2025-05-17

A Beginner’s Guide to Crypto

2025-05-15

How an insider-led breach sparked a costly scam at Coinbase

2025-05-15

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

    A Beginner’s Guide to Crypto

    2025-05-15

    10 Years of Steadfast Support and Compliance

    2025-05-15

    What Is Proof-of-Work (PoW) in Blockchain? A Beginner-Friendly Guide

    2025-05-12

    What is Proof-of-Authority (POA) Consensus in Blockchain?

    2025-05-09

    What Is Proof-of-Stake (PoS)? Guide to Blockchain Consensus for Beginners

    2025-05-09
  • Videos

    Can SOL Ignite a Decentralized Wall Street 🔥

    2025-05-15

    Bitcoin Investors…These are the 3 Crypto Projects I am DCAing Into

    2025-05-14

    Bitcoin’s Parabolic Phase Is Just Getting Started

    2025-05-14

    Bitcoin’s Bullish Move Sets the Stage for These Must-Watch Crypto Projects

    2025-05-13

    Bitcoin Winding Up for an Epic Bull Run

    2025-05-13
  • 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  Crypto Hacker Strikes Web3 Platform Galxe With Domain Attack, Appears To Have Stolen Around $200,000

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

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

BloFin Crypto Exchange HONEST review and Bonus Code – No KYC!!

2024-10-23
Add A Comment

Leave A Reply Cancel Reply

Top Posts
Bitcoin

Why Bitcoin is not threatened by a rising dollar

2023-09-28

Journalist Posted: September 29, 2023 The U.S. dollar index reached its highest level since November…

Bitcoin

I asked ChatGPT if Bitcoin can brave the bear market, it affirmed…

2023-07-09

Disclaimer: The information presented does not constitute financial, investment, trading, or other types of advice…

Analysis

Ethereum Price Bearish Breakdown – Why Drop Isn’t Over Yet

2023-06-06

Ethereum price gained bearish momentum below $1,860 against the US Dollar. ETH is showing a…

Subscribe to Updates

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

Editors Picks

Jan 2024 SEC’s X account hacker got 14 months in prison for cyber fraud

2025-05-17

A Beginner’s Guide to Crypto

2025-05-15

How an insider-led breach sparked a costly scam at Coinbase

2025-05-15

Can SOL Ignite a Decentralized Wall Street 🔥

2025-05-15
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) $ 103,344.69
ethereum
Ethereum (ETH) $ 2,484.82
tether
Tether (USDT) $ 1.00
xrp
XRP (XRP) $ 2.37
bnb
BNB (BNB) $ 642.84
solana
Solana (SOL) $ 167.27
usd-coin
USDC (USDC) $ 1.00
dogecoin
Dogecoin (DOGE) $ 0.21654
cardano
Cardano (ADA) $ 0.744082
tron
TRON (TRX) $ 0.271478
bitcoin
Bitcoin (BTC) $ 103,344.69
ethereum
Ethereum (ETH) $ 2,484.82
tether
Tether (USDT) $ 1.00
xrp
XRP (XRP) $ 2.37
bnb
BNB (BNB) $ 642.84
solana
Solana (SOL) $ 167.27
usd-coin
USDC (USDC) $ 1.00
dogecoin
Dogecoin (DOGE) $ 0.21654
cardano
Cardano (ADA) $ 0.744082
tron
TRON (TRX) $ 0.271478