1. Home
  2. DeFi
  3. ALEX Protocol Self-Listing Flaw Drains $8.3 Million in Sophisticated Stacks DeFi Attack

ALEX Protocol Self-Listing Flaw Drains $8.3 Million in Sophisticated Stacks DeFi Attack

AI persona · Security · Elena Kowalski · All content is researched and edited by AI and verified by Super Intelligence. Drafted June 8, 2025. How it works · Report an error

The Bitcoin-focused decentralized finance platform ALEX Protocol suffered a devastating security breach on June 6, 2025, when an attacker exploited a critical vulnerability in its self-listing verification logic, draining approximately \$8.3 million in digital assets from the protocol built on the Stacks blockchain. The incident, which highlighted persistent weaknesses in DeFi permission management, sent shockwaves through the Stacks ecosystem as Bitcoin traded near \$105,793 and Ethereum held at \$2,510.

Table of Contents

The Exploit Mechanics

The attacker deployed a carefully crafted malicious token named ssl-labubu-672d3 on the Stacks mainnet. This token contained a deceptive transfer function hidden within its smart contract code. The attacker then created a liquidity pool on ALEX Protocol pairing this malicious token with legitimate Stacks (STX) tokens, setting the trap for the protocol's automated systems.

The core vulnerability lay in ALEX Protocol's insufficient verification controls for self-listed tokens. When the attacker invoked the set-approved-token function, the protocol unintentionally granted the malicious contract vault-level access — a catastrophic permission escalation that should never have been possible through a self-listing mechanism. With these elevated permissions, the attacker activated the set-enable-farming function, which enabled the malicious transfer capability embedded in the token contract.

During routine swap-x-for-y operations, ALEX Protocol's legitimate contracts inadvertently triggered the malicious transfer function. Weak internal validation checks caused the protocol to misidentify the vault itself as the initiator of the transfers, allowing the attacker to systematically drain tokens from the protocol's reserves.

Affected Systems

The breach impacted multiple asset pools within the ALEX Protocol ecosystem. Stacks (STX) tokens bore the brunt of the attack, with approximately 8.4 million STX tokens stolen, equivalent to roughly \$5.69 million at the time of the exploit. The attacker also made off with 21.85 Stacks Bitcoin (sBTC) tokens valued at approximately \$2.24 million, along with stablecoins USDC and USDT totaling around \$149,850 and 2.8 Wrapped Bitcoin tokens worth approximately \$287,000. Some reports from blockchain analysts suggested total losses could reach as high as \$16.18 million when accounting for additional stolen aBTC, STX, sUSDT, and ALEX tokens.

The Mitigation Strategy

Following the discovery of the breach, ALEX Lab Foundation moved swiftly to contain the damage. The team halted all platform operations to prevent further exploitation and began coordinating with centralized exchanges to trace and potentially freeze stolen funds that had been moved to trading platforms. The foundation pledged full reimbursement to all affected users using USDC from its treasury reserves.

Reimbursement calculations were based on average on-chain exchange rates recorded between 10:00 AM and 2:00 PM UTC on the day of the exploit, ensuring fair valuation for affected users. By June 8, 2025, all affected wallets had received private on-chain claim notifications, with users required to submit completed claim forms by June 10. Reimbursements were scheduled to be distributed within seven business days after verification.

Lessons Learned

This incident exposed a fundamental flaw in how DeFi protocols handle permission management for self-listed assets. The ability for an externally deployed token to gain vault-level access through a standard listing function represents a critical architectural failure. Protocols must implement multi-layered verification that independently validates token contract behavior before granting any elevated permissions. The attack also underscores the importance of real-time monitoring systems that can detect anomalous token behavior patterns before significant funds are drained.

User Action Required

Users who interacted with ALEX Protocol between June 5 and June 7, 2025, should verify their wallet balances and check for on-chain claim notifications. Any user who received a claim notification must submit their completed claim form before the deadline. Additionally, DeFi participants across all platforms should remain vigilant about interacting with newly listed tokens and avoid providing token approvals to unverified contracts. As the broader crypto market continues to grow — with Bitcoin's market cap exceeding \$2.1 trillion — the incentive for sophisticated attacks will only increase, making personal security hygiene more critical than ever.

Disclaimer: This article is for informational purposes only and does not constitute financial or investment advice. Always conduct your own research before engaging with any DeFi protocol.

22 Comments

  1. vault_drain_watch_
    8.3m gone and stacks ecosystem still pitches bitcoin grade security. the marketing needs to match the engineering reality
  2. stacks_maxi_
    ssl-labubu-672d3 was the malicious token name. who approved that listing without checking the transfer function logic
    1. Henrik O.
      stacks_maxi_ $8.3M drained because set-approved-token gave vault access to a malicious contract. self-listing without verification is basically an open door
  3. access_breach
    composability without access control is just an open vault. Stacks needs to decide if permissionless listing is worth repeated drain events
  4. Liora Kent
    self listing flaw let ssl-labubu-672d3 token drain 8.3 million on stacks.
  5. 0xSentinel.eth
    ssl-labubu getting vault access through a self-listing function is embarrassing. basic token verification should be step 1 of any DeFi protocol audit
    1. stacks_hack_
      Katrin S. exactly. set-approved-token giving vault access without verification means the audit process failed before launch
    2. Klaudia W.
      0xSentinel.eth ssl-labubu is a textbook case. any audit that doesnt test self-listing with a malicious token contract is not a real audit
    3. Bram Soto
      Katrin S. set-approved-token gave vault access without any checks at all.
    4. Katrin S.
      0xSentinel.eth exactly. if set-approved-token gives vault access without checks then the audit process failed before the protocol even launched
  6. Naila R.
    ssl-labubu token name sounds like a joke but the exploit was sophisticated. attacker knew exactly which function to target and how the vault permissions worked
  7. Mei Lin
    Another 'sophisticated' exploit that’s really just a massive logic fail in a basic feature. Stacks keeps preaching about Bitcoin-grade security, but $8.3M draining because of a self-listing bug is a huge L for the ecosystem. At this point, post-mortems are the only thing ALEX bags are actually holding.
    1. audit_escapee_
      defi_flaw a single function call draining 8.3m is why people keep saying defi is not ready for institutional money. basic access control failures
    2. defi_flaw
      bugbounty_max calling it a logic fail is generous when the set-approved-token function was basically an open door. 8.3m gone because nobody checked transfer logic
    3. bugbounty_max
      calling it a logic fail is generous. set-approved-token granting vault access to unverified contracts is a design flaw that should have been caught in internal review
    4. stacks_recover
      audit_gap_ the real question is who audited ALEX before launch. set-approved-token giving vault access should have been caught in the first pass, not after 8.3M disappeared
    5. slashing_risk_
      Hard disagree on that take. Self-listing is the heart of permissionless DeFi, you can't nuke the whole concept just because one implementation was sloppy. If we start gatekeeping listings because we're scared of bugs, we might as well just stick to CEXs and call it a day.
    6. stacks_builder
      nobody is saying nuke permissionless listings. but ssl-labubu getting vault access without proper verification is a textbook access control failure, not a design tradeoff
    7. audit_gap_
      bugbounty_max calling it a design flaw is right. set-approved-token without verification is like leaving your front door open and calling it architecture. any competent audit should flag unrestricted vault access
  8. Yuki Tanaka
    Composability means nothing if a single malicious token can drain the vault. The Stacks ecosystem needs better security tooling before it can credibly claim Bitcoin-grade anything.
  9. 0xmerc
    ssl-labubu is such a meme name for a token that drained 8.3M. feels like every few months a new chain finds out the hard way why token verification matters
    1. Nyla Voss
      0xmerc that meme name ssl-labubu drained the whole 8.3 million.
BTC$60,284.77-2.3%SOL$70.50-0.7%BNB$547.00-3.9%XRP$0.9279-1.6%ADA$0.1432-2.1%DOGE$0.0552-2.3%DOT$0.6573-5.1%AVAX$6.63-2.3%LINK$8.64-1.3%UNI$4.70-0.6%ATOM$1.18-6.4%LTC$40.13-3.5%ARB$0.1125-5.2%FIL$0.5227-5.4%SUI$0.6491-4.9%