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

  • TradFi Giants Embrace Crypto, Ending 'Short Bankers' Era

    TradFi Giants Embrace Crypto, Ending 'Short Bankers' Era

    Two major financial institutions managing over $1,000,000,000,000 each approved crypto products during the summer market period.
    Sherry Cantwell
    Aug 17, 2026
  • 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

Latest News

Industry

Cryptocurrency

Airdrop

Markets

  • TradFi Giants Embrace Crypto, Ending 'Short Bankers' Era

    TradFi Giants Embrace Crypto, Ending 'Short Bankers' Era

    Two major financial institutions managing over $1,000,000,000,000 each approved crypto products during the summer market period.
    Sherry Cantwell
    Aug 17, 2026
  • 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
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
Dent
DentDENT

$0.000117

+287.85%
STONK
STONKSTONK

$0.0119

+70.56%
Coinbase Man
Coinbase ManBRIAN

$0.001300

+57.99%
Thinking Cat
Thinking CatHMM

$0.0168

+57.53%
Non-Playable Coin
Non-Playable CoinNPC

$0.0106

+27.66%

Top Trending

View more
Bitcoin
BitcoinBTC

$77,372.70

+0.12%
Ethena
EthenaENA

$0.1653

+9.40%
Filecoin
FilecoinFIL

$0.7732

-1.06%
Litecoin
LitecoinLTC

$52.4500

-0.34%
Dogecoin
DogecoinDOGE

$0.0931

-0.08%

Recently added

View more
Aligned
AlignedALIGN

$0.0150

-15.86%
pipedog
pipedogPIPEDOG

$0.002143

-4.16%
Niu Lai
Niu Lai牛来

$0.0425

-16.77%
KiiChain
KiiChainKII

$0.0612

-6.92%
GameStop
GameStopGMEB

$18.3100

+0.05%

Learn

View more
  1. 1How to Set Up a BNB Chain Wallet: Step-by-Step Guide
  2. 2What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?
  3. 3What Is the Usual Protocol? How Does Its Tokenomics Work?
  4. 4What Are AI Agent Frameworks? How Do They Power Cryptocurrency?
  5. 5What Is JPYSC? How Japan’s Regulated Stablecoin Works
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