Jaypeggerz Hack

TOTAL LOST $18K
Low Flash Loan Attack

Summarize with AI

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

Incident Overview

Jaypeggerz project was exploited via a flash loan attack, resulting in the loss of 18384 $USD.

Jaypeggerz ($JAY) is an ERC-20 token trading on Uniswap. Jaypeggerz experienced a flash loan exploit. The attacker borrowed $ETH from Balancer using their smart contract and used it

to manipulate the price of $JAY tokens on Uniswap by buying them up at low prices and selling them back at inflated prices. The attacker then returned the borrowed funds after completing these transactions.

The exploiter appears to have gained 15.32 $ETH, which were sent to TornadoCash and Aztec Network for anonymity purposes.

Attacker address:

https://etherscan.io/address/0x0348d20b…ac213b

Malicious transaction:

https://etherscan.io/tx/0xd4fafa12…db61f6

Malicious contract:

https://etherscan.io/address/0xed42cb11…f37340

Incident Report

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

Protocol Information

Protocol Type Yield
Affected Token JAY
Official Website jaypeggers.com
Protocol Twitter/X @jaypeggerz
Team Anonymous
Source Code Verified On-Chain

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 Jaypeggerz'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 Jaypeggerz, these are the critical security checks that could have prevented this incident (December 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 Jaypeggerz

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