SwapNet Hack

TOTAL LOST $17.0M
High Unlimited Approval Exploit / Other base ethereum

Summarize with AI

Affected Chain base 2 chains affected
Recovered - No recovery reported
All-Time Rank #251 By amount stolen
Protocol Type Exploit/Other Target category

Incident Overview

On January 25, 2026, SwapNet and Aperture Finance suffered a combined $17 million exploit across Ethereum, Arbitrum, Base, and BSC when attackers exploited an arbitrary call vulnerability in non-open-source contracts to abuse existing token approvals and execute transferFrom calls, draining $13.41M from SwapNet-related contracts and $3.67M from Aperture Finance-related contracts, with users who opted out of "One-Time Approvals" particularly at risk.

BlockSec Phalcon detected a series of coordinated attacks targeting victim contracts deployed by two creators across multiple chains. The attackers exploited an arbitrary call capability in non-open-source contracts that allowed them to abuse existing token approvals users had granted to these protocols. By leveraging this vulnerability, the attackers executed transferFrom calls to drain assets from any address that had previously approved these contracts.

The attack primarily targeted SwapNet's router contract (0x616000e3…23757e), with the vulnerability appearing to be an arbitrary call function that permitted unauthorized fund transfers. On Base alone, the attacker swapped approximately 10.5 million USDC for 3,655 ETH and began bridging funds to Ethereum. Users who had disabled Matcha Meta's "One-Time Approvals" feature were especially vulnerable, as their approvals persisted and could be exploited.

The two deployer addresses identified were 0x9cb8d9Ba…8514BA (associated with SwapNet, losing ~$13.41M) and 0xbeef63AE…0B3112 (associated with Aperture Finance, losing ~$3.67M). SwapNet immediately disabled their contracts upon discovery, and both Matcha Meta and security researchers urged users to revoke all approvals to these aggregator contracts, particularly those outside of 0x's One-Time Approval contracts.

Incident Report

Protocol / Project SwapNet
Date of Incident
Affected Chain(s) base ethereum
Attack Technique Unlimited Approval Exploit / Other
Classification Protocol Logic / Exchange (DEX)
Primary Source View Post-Mortem

Protocol Information

Protocol Type Exploit/Other
Smart Contract Language Solidity
Official Website www.swap-net.xyz/
Protocol Twitter/X @0xswapnet
Team Anonymous
Source Code Unverified

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Deep understanding of unlimited approval exploit / other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with base, ethereum smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in SwapNet's contract logic - root cause: protocol logic / exchange (dex)
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Likely — with a thorough Unlimited Approval Exploit / Other audit checklist and test coverage

If you're auditing a protocol with similar architecture to SwapNet, these are the critical security checks that could have prevented this incident (January 2026).

  • Verify all logic paths related to Unlimited Approval Exploit / Other are guarded by proper access controls and input validation
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Sources & References

Learn to Prevent the Next SwapNet

The SwapNet hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial