Vee Finance Hack

TOTAL LOST $36.0M
High #156 All-Time Flashloan Price Oracle Attack / Other avalanche

Summarize with AI

Affected Chain avalanche Incident surface
Recovered - No recovery reported
All-Time Rank #156 By amount stolen
Auditors 2 Prior security audits

Incident Overview

A malicious smart contract was deployed to interact with one of the protocol smart contracts, leading to the withdrawal of funds.

The attacker deployed a smart contract with malicious logic that interacted with one of the protocol smart contracts. Both contracts are unverified. The funds were then withdrawn through a series of transactions.

The stolen WBTC and WETH were bridged to Ethereum and are still held on the attacker's address.

The attacker's address:

https://cchain.explorer.avax.network/address/0xeeeE458C…0595BA/transactions

The contract behind the attack:

https://cchain.explorer.avax.network/address/0x490D25A3…E70B82/transactions

The list of transactions where the funds were withdrawn:

https://cchain.explorer.avax.network/address/0x490D25A3…E70B82/token-transfers

The Ethereum address where the stolen WBTC and WETH are held:

https://etherscan.io/address/0xeeee458c…0595ba

Incident Report

Protocol / Project Vee Finance
Date of Incident
Affected Chain(s) avalanche
Attack Technique Flashloan Price Oracle Attack / Other
Classification Ecosystem / Borrowing and Lending
Primary Source View Post-Mortem

Protocol Information

Protocol Type Lending
Affected Token VEE
Smart Contract Language Solidity
Official Website vee.finance/
Protocol Twitter/X @VeeFinance
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Avalanche Ecosystem

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 flashloan 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 smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Vee Finance's contract logic - root cause: ecosystem / borrowing and lending
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 Flashloan Price Oracle Attack / Other vulnerabilities in code review
Audited by Certik, SlowMist — still lost $36.0M. Prior audits don't guarantee safety, especially after post-audit code changes.

If you're auditing a protocol with similar architecture to Vee Finance, these are the critical security checks that could have prevented this incident (September 2021).

  • Verify all logic paths related to Flashloan Price Oracle Attack / Other are guarded by proper access controls and input validation - see the Flash Loans Attacks 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 Flash Loans Attacks examples →

Sources & References

Learn to Prevent the Next Vee Finance

The Vee Finance 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