Crypto Times Logo Black
Google News Follow Banner
  • News
    • Market
    • Bitcoin
    • Ethereum
    • Altcoins
    • Regulations & Policies
    • DeFi News
    • Blockchain News
    • Industry
  • Exclusive
    ExclusiveShow More
    Bitget exchange coin token set in front of a blurred FTX building backdrop.
    Is Bitget the Next FTX? What the $351.6 Million Hack Does and Doesn’t Have in Common
    Gold Bitcoin BTC coin standing vertically in front of a rising green financial candlestick chart
    Inside Bitcoin’s September 2026 Rally: BTC Reclaiming $87K, $2B in ETF Inflows and a Short Squeeze
    CLARITY Act Fails 49-50 in US Senate as SEC & CFTC Move Ahead on Crypto Rules Within 48 Hours
    CLARITY Act Fails 49-50 in US Senate as SEC & CFTC Move Ahead on Crypto Rules Within 48 Hours
    Illustrated collage featuring diverse people surrounded by crypto symbols and a corporate boardroom backdrop.
    Quiet Racism in Crypto Gets “Obvious” During Circle’s Arc Mainnet Launch
    3D Liquid Network logo with a hooded hacker shadow and computer code overlays in the background
    Liquid Network Exploit Explained: Unbacked L-BTC and the $320M Peg-Out
  • Opinion
    OpinionShow More
    Jackson Hole 2026: Crypto Is No Longer Outside the Fed’s Door
    Jackson Hole 2026: Crypto Is No Longer Outside the Fed’s Door
    The Architecture of Trust Same Routes, New Risks in Global Tokenisation
    The Architecture of Trust: Same Routes, New Risks in Global Tokenisation
    The Architecture of Trust What 4,000 Years of Trade Teach Us About RWA Tokenisation
    The Architecture of Trust: What 4,000 Years of Trade Teach Us About RWA Tokenisation
    One P2P Trade, Months of Limbo Why Innocent Indian Crypto Users Keep Paying the Price
    One P2P Trade, Months of Limbo: Why Innocent Indian Crypto Users Keep Paying the Price
    CLARITY Act The Bill Exists, the Deal Does Not, Trump Has to Wait
    CLARITY Act: The Bill Exists, the Deal Does Not, Trump Has to Wait
  • Learn
    • Explained
    • How To
    • Insights
  • IndicesNew
    • India USDT Premium Index
    • India USDC Premium Index
  • Videos
  • More
    • About Us
    • Our Authors
    • Contact Us
    • Editorial Policy
    • Daily Crypto Puzzles
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
  • IndicesNew
    • India USDT Premium Index
    • India USDC Premium Index
  • Quick Links
    • About Us
    • Our Authors
    • Contact Us
    • Editorial Policy
    • AI Policy
    • Sponsored & Advertorial Policy
    • Daily Crypto Puzzles
  • Videos
  • Glossary
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
Fact Checked by Jahnu Jagtap
Published 2026-06-20·Updated 3 months ago
Make The Crypto Times preferred on GoogleGoogle
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

Daily Crypto Puzzles
Tickerdle Tickerdle Crypto Connections Crypto Connections Crypto Crossword Crypto Crossword
TAGGED:Blockchain
Share This Article
Whatsapp Whatsapp LinkedIn Telegram Copy Link

Daily Crypto Puzzles

Tickerdle crypto game Tickerdle Crypto Connections game Crypto Connections Crypto Crossword game Crypto Crossword

Latest News

Bitget Withdrawals Resume September 28: Full Schedule After $387.5M Hack
Bitget Withdrawals Resume September 28: Full Schedule After $387.5M Hack
Hand holding a smartphone displaying the Dinari logo in front of a Sei Network wall sign.
Dinari Plans to Bring Tokenized S&P 500 Shares to Sei
Official U.S. Securities and Exchange Commission (SEC) seal mounted on a stone wall.
SEC Staff Clarifies Crypto Investment Contract Rules in New FAQs
Handcuffed individual standing behind physical crypto coins with the flag of Vietnam in the background.
Vietnamese Man Charged Over $16M Crypto Pig Butchering Scam
A row of major cryptocurrency tokens set against a falling red market chart backdrop.
Crypto Stocks ABTC, CRCL, COIN, MSTR Slide as BTC Trades Under $84K

Find Us on Socials

You may also like

Cronos corporate logo and typography mounted on a dark office wall.

Cronos Reveals v1.8 Timeline and Performance Gains

Gold Bitcoin (BTC) physical token positioned between Strive and MSCI corporate signs.

Strive Questions MSCI’s ‘Operating Asset’ Test in Bitcoin Index Review

Metallic XRP Ledger logo and typography mounted on a dark office wall.

XRPL Issues xrpld 3.4.1 Update for Node Operators

Illuminated glass blocks displaying Aave, Coinbase, and Base corporate logos lined up side-by-side.

Coinbase Tokenized Stocks Go Live on Aave V4 for USDC Borrowing

The Crypto Times Logo PNG

News

All News
Market News
Bitcoin News
Ethereum News
Altcoin News
Regulations & Policies
DeFi News
Blockchain News
Industry News

Sections

Exclusive
Opinions
Learn
Insights
Videos
Glossary

India Premium Indices

Stablecoins
USDT
USDC

Play

Daily Crypto Puzzles
Tickerdle
Crypto Connections
Crypto Crossword

Company

About Us
Our Authors
Editorial Policy
AI Policy
Advertorial Policy
Contact Us
Career

Follow Us

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