Velocore V2 Hack

TOTAL LOST $6.8M
Medium Fee Overflow Exploit / Other linea zksync era

Summarize with AI

Affected Chain linea 2 chains affected
Recovered - No recovery reported
All-Time Rank #380 By amount stolen
Protocol Type Dexs Target category

Incident Overview

On June 2 Velocore was exploited and loss worth $6.8 million.

On June 2, 2024, Velocore experienced a security breach that resulted in the loss of approximately $6.8 million in ETH. The breach was due to vulnerabilities within the Balancer-style CPMM pool contract, particularly faulty logic in the velocore__execute() function and issues with the fee rate calculation logic that allowed effectiveFee1e9 to exceed 100%. Additionally, there was a potential underflow issue during single-token withdrawals and a lack of caller verification in the velocore__execute() function.

The attacker used funds from Tornado Cash, executed the exploit, bridged the funds through Across Bridge, and redeposited them back into Tornado Cash. While all volatile pools in Linea and zkSyncEra Velocore were affected, stable pools and the Telos Velocore pools were not impacted as the issue was mitigated beforehand. The Blade fork of Velocore, which uses a different pool structure, was also unaffected.

The team acknowledged the critical assistance from Hexagate, Hypernative, and Ironblock in identifying and addressing the exploit. Further updates and a detailed post-mortem are forthcoming.

Final Fund Destination Address:

0xe4062fca…ee02b3

Exploiter EOAs:

0x8cdc37ed…3716bf

0xd8c465ec…59d274

Exploiter Contracts:

0xed4e130f…e12cec

0xb7f6354b…4ae91a

0xc030fba4…fc9dae

0xf7f76b30…2B9267

Attack txs:

https://lineascan.build/tx/0xed11d5b0…cdbed1

https://lineascan.build/tx/0x37434e67…e35eb0

https://explorer.zksync.io/tx/0x4156d73c…11ba17

Incident Report

Protocol / Project Velocore V2
Date of Incident
Affected Chain(s) linea zksync era
Attack Technique Fee Overflow Exploit / Other
Classification Protocol Logic / Exchange (DEX)
Primary Source View Post-Mortem

Protocol Information

Protocol Type Dexs
Smart Contract Language Solidity
Official Website velocore.xyz/
Protocol Twitter/X @velocorexyz
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 fee overflow 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 linea, zksync era smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Velocore V2'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 Fee Overflow Exploit / Other audit checklist and test coverage

If you're auditing a protocol with similar architecture to Velocore V2, these are the critical security checks that could have prevented this incident (June 2024).

  • Verify all logic paths related to Fee Overflow Exploit / Other are guarded by proper access controls and input validation - see the Arithmetic Overflows Underflows attack class for patterns
  • 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

Related Attack Classes

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

See all Arithmetic Overflows Underflows examples →

Proof-of-Concept Exploits

1 PoC available
poc-exploits - velocore v2

On-Chain Evidence & References

Sources & References

Learn to Prevent the Next Velocore V2

The Velocore V2 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