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

Bitcoin Reacts as Trump and Xi Strike New Deals

2026-05-15

Win up to 200 USDT

2026-05-14

How to Invest for the “Age of Abundance” 💰 – 10-Yr AI Plan

2026-05-14

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

    Bitcoin Just Hit an All-Time High. Nobody Cares

    2025-09-11

    All Eyes on Art: Upcoming Collections to Watch the Week of May 27

    2025-09-11

    Bitcoin Vegas Belongs to the Suits Now

    2025-09-11

    NFC Summit Lisbon Founder on Evolving the Event and Weathering the Market

    2025-09-11

    All Eyes on Art: Upcoming Collections to Watch the Week of June 3

    2025-09-10
  • 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

    Win up to 200 USDT

    2026-05-14

    Automated Swaps and No-Code API Integration

    2026-05-13

    What Is Parabolic SAR in Crypto: How PSAR Works

    2026-05-13

    What Is ADX in Crypto? Average Directional Index Explained

    2026-05-13

    Mean Reversion Trading: Crypto Strategies & Risks

    2026-05-12
  • Videos

    Bitcoin Reacts as Trump and Xi Strike New Deals

    2026-05-15

    How to Invest for the “Age of Abundance” 💰 – 10-Yr AI Plan

    2026-05-14

    Bitcoin Bull Case Just Got Even STRONGER

    2026-05-14

    WHAT CRYPTO WILL MAKE YOU RICH QUICK?!?

    2026-05-14

    [CONFIRMED] Bitcoin Holders…This is BIG!

    2026-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  Platypus reveals compensation plan for users’ funds after attack

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

Trump’s $344M Crypto Attack Just Confirmed Only Bitcoin Survives The Global Reset

2026-04-24

The Hidden Attack On America’s Freedom Exposed by Dave Collum (ATTN Bitcoiners)

2026-02-28

“The Biggest Bitcoin Attack Since FTX” — MSTR, Binance, Tether MELTDOWN

2026-02-06

An Attack On Bitcoin Node Runners

2026-01-14
Add A Comment

Leave A Reply Cancel Reply

Top Posts
Altcoins

BlockApps’ Web3 marketplace pioneers access to real-world assets

2023-11-04

In today’s digital landscape, the rise of blockchain technology is adapting the way in which…

Bitcoin

BTC back below $30k: These holders could be ‘why’

2023-07-18

Bitcoin was back below $30k after the boost it witnessed as an outcome of the…

Bitcoin

Digital assets report: Outflows shoot up as traders hunt for profits

2023-08-01

Last week saw a 223% increase in outflows from digital asset products. Leading coins BTC…

Subscribe to Updates

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

Editors Picks

Bitcoin Reacts as Trump and Xi Strike New Deals

2026-05-15

Win up to 200 USDT

2026-05-14

How to Invest for the “Age of Abundance” 💰 – 10-Yr AI Plan

2026-05-14

Bitcoin Bull Case Just Got Even STRONGER

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

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

bitcoin
Bitcoin (BTC) $ 78,221.00
ethereum
Ethereum (ETH) $ 2,174.79
tether
Tether (USDT) $ 0.999538
bnb
BNB (BNB) $ 656.32
xrp
XRP (XRP) $ 1.42
usd-coin
USDC (USDC) $ 0.999776
solana
Solana (SOL) $ 86.59
tron
TRON (TRX) $ 0.353328
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.03
staked-ether
Lido Staked Ether (STETH) $ 2,265.05