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

💼 Tesla to Launch “Digital Optimus” — Elon Says Could Replace Companies 🤖

2026-03-12

Bitcoin Won’t Break Even With $200 Oil Fears

2026-03-12

What Is Contract Trading in Crypto and How Does It Work?

2026-03-11

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

    What Is Contract Trading in Crypto and How Does It Work?

    2026-03-11

    What Is a Token Swap? A Beginner’s Guide to How Crypto Swaps Work

    2026-03-11

    What is Token Gating? Your Guide to Blockchain Access Control

    2026-03-09

    What Is Composability in DeFi? How Decentralized Apps Work Together

    2026-03-09

    How Many Crypto Wallets Should You Really Have? A Step-by-Step Guide

    2026-03-09
  • Videos

    💼 Tesla to Launch “Digital Optimus” — Elon Says Could Replace Companies 🤖

    2026-03-12

    Bitcoin Won’t Break Even With $200 Oil Fears

    2026-03-12

    🚨 95% of ALL BITCOIN IS GONE!

    2026-03-11

    Only 1 Million Bitcoin Left… Then That’s It

    2026-03-11

    A War Just Proved Crypto’s Whole Point

    2026-03-11
  • 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

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

Coinbase claims arrest in the $355 million insider extortion scheme that targeted nearly 70,000 customers

2025-12-28
Add A Comment

Leave A Reply Cancel Reply

Top Posts
Videos

TOP 3 PRESALES TO BUY BEFORE DOGE DAY!!! (50-100X Potential?!)

2024-04-11

In todays video we look at the top presales to buy before doge day! -…

Bitcoin

First ETF Trading Day Could Blast Bitcoin Price Past $50,000

2024-01-11

The crypto space witnessed a historic moment yesterday with the approval of 11 spot Bitcoin…

DeFi

Balancer Employs Chainlink’s Price Feeds for Enhanced Security in ETH Stable Pools

2023-09-06

Balancer, a recognized player in the DeFi domain and a decentralized exchange, has recently combined…

Subscribe to Updates

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

Editors Picks

💼 Tesla to Launch “Digital Optimus” — Elon Says Could Replace Companies 🤖

2026-03-12

Bitcoin Won’t Break Even With $200 Oil Fears

2026-03-12

What Is Contract Trading in Crypto and How Does It Work?

2026-03-11

🚨 95% of ALL BITCOIN IS GONE!

2026-03-11
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) $ 72,257.00
ethereum
Ethereum (ETH) $ 2,121.72
tether
Tether (USDT) $ 1.00
bnb
BNB (BNB) $ 666.71
xrp
XRP (XRP) $ 1.42
usd-coin
USDC (USDC) $ 0.999904
solana
Solana (SOL) $ 90.31
tron
TRON (TRX) $ 0.288854
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.01
staked-ether
Lido Staked Ether (STETH) $ 2,265.05