T
iTokenly

ALEX Protocol hack — June 2025

Verified — 4 sourcesLast checked August 1, 2026

Incident facts

Date of incident
Publicly disclosedJune 6, 2025
Target typeDecentralised exchange
Loss$8,373,227Published estimates range $8,373,227 to $16,180,000Price at time of incident
MethodAccess control flawFlaw in ALEX's self-listing verification logic on Stacks. The attacker registered a malicious token with a weaponised transfer function and approved it to the vault; because swap calls invoke the token's transfer via as-contract, the call presented as the vault itself and bypassed ALEX's access controls, allowing pool assets to be drained. ALEX attributed the underlying weakness to an inability to reliably detect failed transactions on Stacks.
ChainsOther
Audited beforehandYes
OutcomeUsers reimbursed

What happened

On 6 June 2025 an attacker drained several liquidity pools on ALEX Protocol, a decentralised exchange on the Bitcoin layer Stacks, by abusing the protocol's self-listing verification logic.

ALEX's own account is that the verification step could be defeated by referencing a failed transaction, which let a token that should have been rejected pass the listing checks. Halborn's analysis fills in the mechanism: the attacker deployed a token containing a weaponised transfer function, created a pool for it and called set-approved-token to grant its contract vault permissions. Because ALEX executes a token's transfer through as-contract during swap-x-for-y, the call appeared to originate from the vault, so the protocol's access controls did not stop it and pool assets could be moved out. ALEX said the underlying problem was an on-chain limitation of Stacks, namely the inability to reliably detect failed transactions.

ALEX published a breakdown totalling $8,373,227.13: 8,403,867.57 STX worth $5,691,255.93, 21.85 sBTC worth $2,244,751.87, 149,850 in USDC/USDT and 2.80 WBTC. That total is disputed. Halborn reports a figure of $16.18 million calculated by the researcher Crusader__btc, which adds aBTC and ALEX tokens moved in the same transaction that ALEX left out of its reimbursement scope.

The ALEX Lab Foundation committed to reimbursing affected users in full from foundation funds, priced at average on-chain rates between 10:00 and 14:00 UTC on 6 June, with claim forms due by 10 June. The ALEX token fell about 45% within a day. No arrests or fund recovery have been reported.

Sources

  1. ALEX Lab FoundationPrimary · retrieved 2026-08-01
  2. The BlockSecondary · retrieved 2026-08-01
  3. The Crypto TimesSecondary · retrieved 2026-08-01
  4. HalbornSecondary · retrieved 2026-08-01

Official post-mortem: https://x.com/ALEXLabBTC/status/1931014419133169734

Cite this

This data is published under CC BY 4.0. You may reuse it, including commercially, as long as you credit iTokenly and link back.

iTokenly Hack Registry, "ALEX Protocol hack — June 2025", iTokenly, accessed 2026-08-01, https://itokenly.com/hacks/alex-protocol
https://itokenly.com/hacks/alex-protocol

Permalinks never change. If an entry is renamed, the old address keeps working.

Spotted an error? Write to [email protected]. Corrections to published figures are logged on this page. See the methodology for how entries are checked.