OneRing Hack

TOTAL LOST $1.5M
Medium Flash Loan Attack

Summarize with AI

Affected Chain 2022 Incident surface
Recovered - No recovery reported
All-Time Rank #731 By amount stolen
Protocol Type Yield Target category

Incident Overview

The attacker's wallet:

https://ftmscan.com/address/0x12efed35…ce905e

The exploit contract:

https://ftmscan.com/address/0x6a6d593e…0b5a58

The transaction behind the attack:

https://ftmscan.com/tx/0xca8dd338…a70145

The attack was enabled via a flash loan-assisted price manipulation of the LP tokens, which resulted in a greater quantity of OShare tokens being removed from the protocol.

After the contract deployment, the hacker borrowed $80m USDC utilizing Solidly flash loans to boost the price of our underlying LP tokens in a single block, changing the price of OShare and driving a huge number of OShare tokens out of the protocol.

Stolen funds were bridged to Ethereum and deposited into Tornado Cash mixer:

https://etherscan.io/address/0x12efed35…ce905e

Incident Report

Protocol / Project OneRing
Date of Incident
Attack Technique Flash Loan Attack
Classification Yield Aggregator

Protocol Information

Protocol Type Yield
Affected Token RING
Official Website www.onering.finance/
Protocol Twitter/X @Onering_Finance
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Fantom 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 flash loan attack and Solidity and EVM internals
Capital Required Flash loan capital (borrowed atomically, zero upfront cost)
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in OneRing's contract logic - root cause: yield aggregator
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 Flash Loan Attack vulnerabilities in code review

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

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

Sources & References

Learn to Prevent the Next OneRing

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