ElasticSwap Hack

TOTAL LOST $854K
Low Price Oracle Attack / Other avalanche ethereum

Summarize with AI

Affected Chain avalanche 2 chains affected
Recovered - No recovery reported
All-Time Rank #867 By amount stolen
Auditors 1 Prior security audit

Incident Overview

On the 13th of December, 2022, Elastic Swap was hacked on the Avalanche and Ethereum Chain using a calculation issue. The malicious actor stole worth around 850k USD.

The attack was possible in the reason of using two different logic of calculation in the exploited smart contracts. Functions addLiquidity and removeLiquidity have different logic of accounting. While the first one uses constant variables the second one is using dynamic pool balance calculation.

This led to the possibility of price manipulation after the pool unbalancing.

Avalanche:

Attacker address:

https://snowtrace.io/address/0x3bdf01ed…5743cd

https://snowtrace.io/address/0x25fde76a…103c56

https://snowtrace.io/address/0xdd8429b8…d60cbd

Exploit tx:

https://snowtrace.io/tx/0x782b2410…cd9b18

Ethereum:

Exploit tx:

https://etherscan.io/tx/0xc2d86035…f5cbda

Front-run tx:

https://t.co/YGMaRQj6Lk

Incident Report

Protocol / Project ElasticSwap
Date of Incident
Affected Chain(s) avalanche ethereum
Attack Technique Price Oracle Attack / Other
Classification Ecosystem / Exchange (DEX)
Primary Source View Post-Mortem

Protocol Information

Protocol Type Dexs
Affected Token TIC
Official Website elasticswap.org/
Protocol Twitter/X @ElasticSwap
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Art Content Creation Music Web3 BNB Chain Ecosystem Real World Assets Protocols Binance Alpha Binance Alpha Airdrops

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 price oracle attack / other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with avalanche, ethereum smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in ElasticSwap's contract logic - root cause: ecosystem / 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? Yes — skilled auditors routinely flag Price Oracle Attack / Other vulnerabilities in code review
Audited by Audit Report 1 — still lost $854K. Prior audits don't guarantee safety, especially after post-audit code changes.

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

  • Verify all logic paths related to Price Oracle Attack / Other are guarded by proper access controls and input validation - see the Oracle Manipulation & Price Manipulation attack class for patterns
  • Audit oracle price feeds for manipulation risks - ensure time-weighted average prices (TWAPs) or multi-source aggregators are used, not spot prices
  • 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

Security Audit History

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Oracle Manipulation & Price Manipulation examples →

Proof-of-Concept Exploits

1 PoC available
poc-exploits - elasticswap

Sources & References

Learn to Prevent the Next ElasticSwap

The ElasticSwap 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