- Home
- Regulations
- Dexible Finance Loses $2 Million in Access Control Exploit Targeting Smart Contract Router
Dexible Finance Loses $2 Million in Access Control Exploit Targeting Smart Contract Router

Decentralized exchange aggregator Dexible Finance suffered a significant security breach on February 17, 2023, when an attacker exploited a critical vulnerability in the platform's v2 smart contracts, siphoning approximately $2 million worth of tokens from user accounts. The incident underscores the persistent risks lurking in DeFi protocols, even those that have undergone prior security audits, and raises urgent questions about the adequacy of access control mechanisms in decentralized trading platforms.
Table of Contents
The Exploit Mechanics
The attack targeted the selfSwap function within Dexible's v2 smart contracts. This function is designed to enable users to perform token swaps without the involvement of an affiliate or automatic discounts. The vulnerability lay in the absence of proper validation for the router address (routerID) provided in the swap request object. Because the contract did not verify the router on-chain, the attacker was able to pass their own malicious contract address as the router, effectively hijacking the swap execution path.
Once the attacker supplied their custom router, the fill function performed a delegate call using the attacker's provided routerData. This allowed the malicious contract to execute a transferFrom operation, moving approved tokens directly from victim accounts to the attacker's wallet. The exploit required minimal capital — only enough gas to execute the transactions — making it an exceptionally efficient attack vector.
Affected Systems
The breach impacted a total of 17 user accounts across multiple chains. On the Ethereum mainnet, four users lost a combined 930.6 ETH, valued at approximately $1.5 million at the time. According to on-chain analysis, all of the Ethereum losses originated from a single address belonging to BlockTower Capital, a prominent cryptocurrency investment firm. An additional $450,000 in tokens was drained from accounts on Arbitrum and Binance Smart Chain.
With Bitcoin trading around $24,565 and Ethereum near $1,694 on the day of the attack, the broader crypto market was in a recovery phase, making the losses particularly painful for affected users who had positioned themselves for potential upside.
The Mitigation Strategy
Upon detecting the exploit, Dexible took immediate action by pausing all affected smart contracts and publicly urging users to revoke token authorizations granted to the platform. The team posted instructions across social media channels, advising anyone who had previously approved Dexible to manage their tokens to immediately revoke those permissions using tools like Revoke.cash or Etherscan's token approval checker.
The attacker laundered the stolen funds through Tornado Cash, the privacy-focused mixer protocol, before transferring them to unknown wallets on the BNB Chain. This obfuscation made recovery virtually impossible, highlighting the challenges DeFi platforms face in tracing and recovering stolen assets.
Lessons Learned
The Dexible hack offers several critical takeaways for the DeFi ecosystem. First, the vulnerability was an access control issue — one of the most common yet preventable exploit categories. The selfSwap function should have validated the router address against a whitelist of approved DEX routers before executing any delegate call. This single check would have neutralized the attack entirely.
Second, the incident highlights the danger of unlimited token approvals. Users who had granted Dexible broad permission to manage their tokens suffered maximum losses. Limited approvals, where users authorize only the exact amount needed for each transaction, would have constrained the damage significantly.
Third, despite Dexible having been audited by Solidified in August 2021, the vulnerability was introduced in the v2 contracts after the audit. This pattern — post-audit code changes introducing new vulnerabilities — is a recurring theme in DeFi exploits and underscores the need for continuous security review processes.
User Action Required
If you have ever interacted with Dexible or any DeFi platform and granted token approvals, take immediate steps to review and revoke unnecessary permissions. Use dedicated tools like Revoke.cash, Etherscan's Token Approvals, or similar services on the chains you use. Consider adopting hardware wallets for storing significant holdings and limiting smart contract approvals to the minimum amounts required for each transaction. The DeFi landscape rewards vigilance — complacency can be costly.
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.
25 Comments