Crypto Times Logo Black
Google News Follow Banner
  • News
    • Market
    • Bitcoin
    • Ethereum
    • Altcoins
    • Regulations & Policies
    • DeFi News
    • Blockchain News
    • Industry
  • Exclusive
    ExclusiveShow More
    From Demonetization to Digital Rupee India's Decade-Long Blockchain Journey
    From Demonetization to Digital Rupee: India’s Decade-Long Blockchain Journey
    The 7% Premium Trap Exposed How India Makes Crypto More Expensive Than Dollars
    The 7% Premium Trap Exposed: How India Makes Crypto More Expensive Than Dollars
    GENIUS Act Scorecard What US Regulators Have Done So Far
    GENIUS Act Scorecard: What US Regulators Have Actually Delivered
    The Final 30 Days Will America Get Its GENIUS Act Stablecoin Rulebook
    The Final 30 Days: Will America Get Its GENIUS Act Stablecoin Rulebook?
    Telegram Ban India Crypto, TON & Durov's Attack on Reliance
    Telegram Ban in India: Crypto, TON & Durov’s Attack on Reliance
  • Opinion
    OpinionShow More
    The Arthur Hayes Paradox Macro Prophet or Market Opportunist
    The Arthur Hayes Paradox: Macro Prophet or Market Opportunist?
    RBI Denies Gold Sale Amid Oil Crisis: Could It Speed Up India's Digital Rupee Push?
    RBI Denies Gold Sale Amid Oil Crisis: Could It Speed Up India’s Digital Rupee Push?
    The CLARITY Act War Starts Jamie Dimon Vs Armstrong
    The CLARITY Act War Starts: Jamie Dimon Vs Armstrong
    Is Crypto Dying, or Is Pump.fun Turning It Into an Attention Casino
    Is Crypto Dying, or Is Pump.fun Turning It Into an Attention Casino?
    CoinSwitch on TMKOC India Saw a ₹100 Crypto Pitch, But Not the Risks Behind It_
    CoinSwitch on TMKOC: India Saw a ₹100 Crypto Pitch, But Not the Risks Behind It
  • Learn
    • Explained
    • How To
    • Insights
  • Videos
  • More
    • About Us
    • Our Authors
    • Contact Us
    • Editorial Policy
The Crypto TimesThe Crypto Times
  • All News
  • Market
  • Bitcoin
  • Ethereum
  • Altcoins
  • Regulations & Policies
  • Blockchain
  • DeFi
  • Industry
  • Exclusive
  • Opinion
Search
  • News
    • Market
    • Bitcoin
    • Ethereum
    • Altcoins
    • Regulations & Policies
    • Blockchain
    • DeFi
    • Industry
    • Exclusive
    • Opinion
  • Learn
    • Explained
    • How To
    • Insights
  • Quick Links
    • About Us
    • Our Authors
    • Contact Us
    • Editorial Policy
    • AI Policy
    • Sponsored & Advertorial Policy
  • Podcasts
Follow US
© 2026 By Crypto Times. All Rights Reserved.
Industry

How a Custom Code Flaw Cost Secret Network $4.67 Million

A technical flaw in Secret Network’s modified CW20-ICS20 contract enabled attackers to mint unbacked tokens and drain $4.67 million.

Written By:
Sharmistha Suman

Reviewed By:
Shubham Soni

Last updated: 40 minutes ago
Published 1 hour ago
Share
How a Custom Code Flaw Cost Secret Network $4.67 Million

Key Highlights

  • Common Prefix identified missing channel validation checks in Secret Network’s customized CW20-ICS20 contract as the root cause of the exploit.
  • Attackers exploited the flaw to mint unbacked saTokens and drain approximately $4.67 million in bridged assets.
  • The vulnerable contract failed to verify packet source channels and escrow balances during IBC transfers.

A detailed technical analysis by Common Prefix, a team specialized in blockchain science consulting services, reveals how a subtle but critical flaw in Secret Network’s custom IBC bridge contract enabled a $4.67 million infinite-mint exploit on June 10, 2026.

According to the detailed technical analysis, the vulnerability centered on a modified CW20-ICS20 smart contract deployed on Secret Network (secret-4) specifically for the Axelar connection. 

We analyzed the Secret Network incident. An attacker exploited an infinite-mint bug in a modified CW20-ICS20 token contract on Secret to drain ≈$4.67M. The attacker minted arbitrary Secret-wrapped Axelar assets on Secret by spinning up a new Cosmos chain with 1 validator and… https://t.co/itCkRXjkkp

— Common Prefix (@CommonPrefix) June 19, 2026

This contract handled inbound IBC transfers and minted privacy-preserving “Secret Axelar Wrapped Tokens” (saTokens) such as saUSDC, saUSDT, saWBTC, and others. Unlike standard IBC implementations, it failed to enforce proper source channel validation when processing packets.

What was the attack’s breakdown 

Common Prefix’s breakdown highlights that the contract was a fork of Secret’s SNIP-20 ICS-20 implementation, further customized for Axelar integration. In the do_ibc_packet_receive function, developers had commented out two essential checks:

  • parse_voucher_denom(&msg.denom, &packet.src), which would have validated the denomination’s channel trace against the actual source of the packet.
  • reduce_channel_balance(…), which would have limited token releases to amounts genuinely escrowed on that specific channel.

Without these validations, the contract accepted bare token denominations (those without a /port/channel prefix) from any IBC channel as long as they matched its allow-list. This made tokens arriving over an attacker-controlled channel indistinguishable from those arriving over the legitimate Axelar channel (channel-69 on Axelar ↔ channel-61 on Secret).

The Inter-Blockchain Communication (IBC) protocol relies on per-channel isolation. Tokens transferred across chains are escrowed on the source and represented by vouchers on the destination, with denomination paths ensuring they can only be redeemed over the originating channel. Opening new IBC channels is permissionless by design, allowing anyone to connect a new chain, run light clients, and transfer assets.

The attacker exploited this by spinning up a fake Cosmos chain with a single validator, opening a new IBC channel to Secret, and self-relaying forged IBC packets containing bare denominations that matched the allow list. The contract minted fully circulating supplies of unbacked saTokens. These were then redeemed over the legitimate Axelar IBC channel, draining the real escrowed assets on the Axelar side.

The affected contract (Code ID 2446 at secret1yxjmepvyl2c25vnt53cr2dpn8amknwausxee83) carried this flaw from its initial deployment in March 2023. A migration on March 5, 2026, updated the bytecode for new features but preserved the missing validation logic.

Exploit led millions in losses 

According to the analysis, approximately $4.67 million across saUSDT, saUSDC, saDAI, saWETH, saWBTC, saWBNB, and sawstETH was drained. The impact was confined to Secret-wrapped Axelar assets on this specific IBC connection. Axelar’s core protocol, other channels, assets, and escrow accounts remained unaffected.

Axelar’s firewalling functionality detected the anomaly early and prevented broader contagion. The Emergency Committee disabled the Secret connection, Squid removed Secret support from its frontend, and the Secret team was notified to address the contract.

This incident, as dissected by Common Prefix, demonstrates the risks of customizing IBC token-handling contracts without maintaining strict channel and denomination validation. While IBC’s trust-minimized and permissionless design powers seamless interoperability across Cosmos chains, it demands precise implementation of accounting rules to prevent such exploits. The analysis serves as a valuable reference for teams building similar bridges.

Also Read: Weaponizing Web3: Congress Pivots Crypto Policy Toward National Security

Disclaimer: The information researched and reported by The Crypto Times is for informational purposes only and is not a substitute for professional financial advice. Investing in crypto assets involves significant risk due to market volatility. Always Do Your Own Research (DYOR) and consult with a qualified Financial Advisor before making any investment decisions.

Follow The Crypto Times on Google News to Stay Updated!      Google News
Google News Banner

TAGGED:Blockchain
Share This Article
Whatsapp Whatsapp LinkedIn Telegram Copy Link
Sharmistha Suman - Crypto Journalist
By Sharmistha Suman
A crypto writer with a strong foundation in storytelling and digital media, Sharmistha holds a Bachelor’s degree in Creative Writing and a Master’s in Digital Journalism. Since entering the crypto industry in 2022, she has been actively covering developments across blockchain, digital assets, and emerging financial technologies. Her work focuses on breaking down complex topics into clear, engaging narratives, helping readers stay informed in a fast-evolving space.
Shubham Soni Crypto Content Editor
By Shubham Soni
Follow:
Shubham Soni is a veteran content editor and journalist with over three years of experience leading digital editorial strategies across the U.S. and Indian markets. With a background in high-pressure newsrooms, Shubham specializes in the rigorous fact-checking, structural editing, and narrative development of complex news and explainers. Throughout his career at prominent digital publications like Sportskeeda and Opoyi, he has managed fast-paced desks covering global politics, sports, and entertainment. His expertise lies in transforming technical information into accessible, high-impact reporting while maintaining strict adherence to editorial ethics and accuracy. At The Crypto Times, Shubham oversees the editorial workflow, mentoring writers to ensure all cryptocurrency research and analysis meets the highest standards of clarity and journalistic integrity.

Latest News

PancakeSwap Labubu Pool Exploited for $1.1M
PancakeSwap Labubu Pool Exploited for $1.1M: What Went Wrong
Weaponizing Web3 Congress Pivots Crypto Policy Toward National Security
Weaponizing Web3: Congress Pivots Crypto Policy Toward National Security
Chervinsky Says CME's CFTC Lawsuit Backfired, Exposing a 'Monopolist'
Chervinsky Says CME’s CFTC Lawsuit Backfired, Exposing a ‘Monopolist’
CZ Predicts Crypto and TradFi Will Eventually Merge Into One Industry
CZ Predicts Crypto and TradFi Will Eventually Merge Into One Industry
Michael Saylor Reflects on Bitcoin Strategy’s Turnaround Amid Fresh STRC Scrutiny
Michael Saylor Reflects on Bitcoin Strategy’s Turnaround Amid Fresh STRC Scrutiny

Find Us on Socials

You may also like

From Demonetization to Digital Rupee India's Decade-Long Blockchain Journey

From Demonetization to Digital Rupee: India’s Decade-Long Blockchain Journey

Venus Protocol Launches Tokenized U.S. Stock Lending on BNB Chain

Venus Protocol Launches Tokenized U.S. Stock Lending on BNB Chain

Base GitHub Changes Spark Debate Over Airdrop or Developer Demo

Base GitHub Changes Spark Debate Over Airdrop or Developer Demo

Schwab Joins Prediction Market Race With New Event Contracts

Schwab Joins Prediction Market Race With New Event Contracts

The Crypto Times Logo PNG

Providing real-time, accurate Crypto reporting. Your trusted source for Crypto News and Research.

Stay Updated

All News
Exclusive
Opinions
Learn
Videos

Company

About Us
Our Authors
Editorial Policy
AI Policy
Advertorial Policy

Get In Touch

Contact Us
Career

Find Us on Socials

X-twitter Linkedin Telegram Youtube Instagram

© 2026 The Crypto Times | A BITROCK TECHNOLOGIES L.L.C. Company.

DMCA.com Protection Status
  • Terms and Conditions
  • Disclaimer
  • Privacy Policy
  • Cookie policy
Do Not Sell or Share My Personal Information