logo
  • menu
  • Markets
  • ETFs
  • Live
  • Spot
  • Futures
  • Bots
  • Learn
  • Sign In
  • Sign Up
  • Downloads
  • English
  • |
  • USD
  • |
Sign Up
Crypto PricesLearnLatest NewsDownloadsMarketsSpotAnnouncements
Home/
Latest News/
Industry

ZenGo Discovers 'Red Pill Attack' Vulnerability in Popular Web3 Apps

By James Dean
Mar 27, 2023
3.9 
★
★
★
★
★
★
★
★
★
★
 357 User Rating
Share

According to a blog post published by the developer of crypto wallet ZenGo, the company said it discovered a security flaw in a transaction simulation solution used by popular decentralized applications, or dApps. Dubbed a "red pill attack," the vulnerability allows malicious dApps to steal user assets based on opaque transaction approvals that are presented to and approved by users. The bug gets its name from the iconic "red pill" scene in the Matrix movie series.

"If malware can detect that it's actually executing in a simulated environment or living in the Matrix, it can behave in a benign way that tricks anti-malware solutions, only revealing it when actually executing in a real environment. A truly hostile environment."

ZenGo claims its research shows that many leading providers, including Coinbase Wallet, were at one time vulnerable to such attacks. "All vendors were very receptive to our reports," ZenGo said, "and most of them fixed their buggy implementations very quickly."

The vulnerability may be due to a programming oversight in a "special variable" in the smart contract that stores general information about blockchain functionality, such as the timestamp of the current block. However, during the simulation, ZenGo stated that the special variables did not have the correct values, and claimed that the developers "cut corners" and set them to arbitrary values.

"For example, the "COINBASE" instruction contains the address of the miner for the current block. Since there is no real block during the simulation, and thus no miner, some simulation implementations just set it to an empty address (address of all zeros)."

In a video, ZenGo developers demonstrate how a smart contract simulation on Polygon (MATIC) requiring users to send their native token in exchange for another token could be compromised by this method: "When a user actually sends a transaction on-chain, the COINBASE [Wallet] is actually filled with the non-zero address of the current miner, and the contract only receives the coins sent."

ZenGo said the bug's fix was straightforward: "Simulation needs to populate these vulnerable variables with meaningful values, rather than filling them with arbitrary values." The company showed edited screenshots of the bug bounty, apparently by Granted by Coinbase to address this issue. The Ethereum Foundation also awarded ZenGo a $50,000 grant for its research in transaction simulation.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of BitKan. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. BitKan shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. Products mentioned in this article may not be available in your region.

Related News

  • Brazil’s CVM Launches 60-Day Sprint to Tokenize Securities

    Brazil’s CVM Launches 60-Day Sprint to Tokenize Securities

    The Brazilian Securities and Exchange Commission (CVM) has officially established a dedicated task force to develop an experimental regulatory framework for tokenized securities, providing a fast-tracked timeline for the digital capital market.
    Martha Grizzard
    Jul 21, 2026
  • Hyperliquid Enables Permissionless Markets With HIP-4 Plan

    Hyperliquid Enables Permissionless Markets With HIP-4 Plan

    Hyperliquid has announced a forthcoming enhancement to its HIP-4 upgrade that will allow for the permissionless deployment of decentralized prediction markets.
    Christopher Smith
    Jul 21, 2026
  • DTCC Launches Live Tokenized Asset Trading for Wall Street

    DTCC Launches Live Tokenized Asset Trading for Wall Street

    The DTCC successfully transitioned from pilot testing to live production trades on July 15, 2026, marking the largest-scale institutional tokenization initiative to date.
    Cornell Rachel
    Jul 16, 2026

Latest News

Industry

Cryptocurrency

Airdrop

Markets

  • Brazil’s CVM Launches 60-Day Sprint to Tokenize Securities

    Brazil’s CVM Launches 60-Day Sprint to Tokenize Securities

    The Brazilian Securities and Exchange Commission (CVM) has officially established a dedicated task force to develop an experimental regulatory framework for tokenized securities, providing a fast-tracked timeline for the digital capital market.
    Martha Grizzard
    Jul 21, 2026
  • Hyperliquid Enables Permissionless Markets With HIP-4 Plan

    Hyperliquid Enables Permissionless Markets With HIP-4 Plan

    Hyperliquid has announced a forthcoming enhancement to its HIP-4 upgrade that will allow for the permissionless deployment of decentralized prediction markets.
    Christopher Smith
    Jul 21, 2026
  • DTCC Launches Live Tokenized Asset Trading for Wall Street

    DTCC Launches Live Tokenized Asset Trading for Wall Street

    The DTCC successfully transitioned from pilot testing to live production trades on July 15, 2026, marking the largest-scale institutional tokenization initiative to date.
    Cornell Rachel
    Jul 16, 2026
  • South Korea Updates Asset Law to Include Cryptocurrency

    South Korea Updates Asset Law to Include Cryptocurrency

    The South Korean Ministry of Economy and Finance announced a transition from the 1950 State Property Act to a new National Asset Basic Act to better reflect modern digital resources.
    Martha Grizzard
    Jul 16, 2026
  • New SEC Crypto Rule to Cut Red Tape for Startup Fundraising

    New SEC Crypto Rule to Cut Red Tape for Startup Fundraising

    The U.S. Securities and Exchange Commission plans to introduce a major regulatory framework this month to simplify capital formation and reduce operational hurdles for cryptocurrency businesses.
    Martha Grizzard
    Jul 8, 2026
View more data 
BTCBTC(BTC)
$0
--(Last 24h)
SpotFutures

Top

View more
  1. 1S&P 500 Reclaims 200-Day Moving Average, Bitcoin Gains
  2. 2Trump Softens His Stance on Reciprocal Tariffs, US Stocks and Crypto Markets Rise
  3. 3Vitalik Buterin : The current price of ETH has not been affected by the merger event
  4. 4Vibhu Norby : Solana Spaces store to bring 100K people to Solana per month
  5. 5CZ: compared with the record high nine months ago, the current situation of the industry is much better

Top Gainers

View more
Biconomy
BiconomyBICO

$0.0192

+61.42%
Unibase
UnibaseUB

$0.1838

+28.77%
Rats
RatsRATS

$0.00006169

+25.18%
Portal To Bitcoin
Portal To BitcoinPTB

$0.001053

+24.51%
Cash Cat
Cash CatCASHCAT

$0.0487

+19.87%

Top Trending

View more
Sandisk
SandiskSNDK

$1,261.58

+1.97%
Biconomy
BiconomyBICO

$0.0192

+61.17%
Allora
AlloraALLO

$0.2552

-1.92%
Filecoin
FilecoinFIL

$0.7242

+0.63%
Hyperliquid
HyperliquidHYPE

$53.8140

+4.20%

Recently added

View more
Grvt
GrvtGRVT

$0.2642

+6.66%
Direxion Semiconductor Bear 3X ETF
Direxion Semiconductor Bear 3X ETFSOXSB

$55.2800

+5.92%
VanEck Semiconductor ETF
VanEck Semiconductor ETFSMHB

$541.310

-1.38%
PayPal
PayPalPYPLB

$57.8100

+0.40%
Goldman Sachs
Goldman SachsGSB

$1,018.15

-0.53%

Learn

View more
  1. 1What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?
  2. 2What Is the Usual Protocol? How Does Its Tokenomics Work?
  3. 3What Are AI Agent Frameworks? How Do They Power Cryptocurrency?
  4. 4What Is JPYSC? How Japan’s Regulated Stablecoin Works
  5. 5Are AI Agents Safe for Crypto? How to Secure Your Assets
About Us
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
English
About Us
+
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
+
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
+
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
+
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
+
  • Twitter
  • Facebook
  • Telegram
  • YouTube
  • Instagram
  • Medium
  • Linkedin
@2012-2026 BITKAN.com