OSN Token Hack

TOTAL LOST $110K
Low Flash Loan Attack

Summarize with AI

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

Incident Overview

On May 6th, OSN Token contract was exploited with a hacker's profit of about 110k USD.

On May 6th, the address 0x835B4 exploited the OSN token via the unverified exploiter contract 0x4a5ac. During multiple transactions, the exploiter repeatedly added liquidity using flashloan from the Pancake V3 pool and then performed buy-sell operations, which generated rewards for LP holders via the OSNLpDividendTracker contract, followed by removing liquidity. This allowed the attacker to gain unfair rewards worth approximately $110,000 USD.

Attacker:

https://bscscan.com/address/0x835b45d3…5bc502

Attacker contract:

https://bscscan.com/address/0x4a5acac3…8dafc2

Example of exploit tx:

https://bscscan.com/tx/0x03db9050…ee6681

Incident Report

Protocol / Project OSN Token
Date of Incident
Attack Technique Flash Loan Attack
Classification Token
Primary Source View Post-Mortem

Protocol Information

Protocol Type Yield
Official Website token.oswap.io
Protocol Twitter/X @ObyteOrg
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Ethereum 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 OSN Token's contract logic - root cause: token
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 OSN Token, these are the critical security checks that could have prevented this incident (May 2024).

  • 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 OSN Token

The OSN Token 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