pump.fun Hack

TOTAL LOST $2.0M
Medium Private Key Compromised (Unknown Method) / Flash Loan Attack solana

Summarize with AI

Affected Chain solana Incident surface
Recovered - No recovery reported
All-Time Rank #643 By amount stolen
Protocol Type Launchpad Target category

Incident Overview

Pump.fun Exploited for ~$2M. 12,300 $SOL were stolen from its contracts, reportedly by project's former team member who had a private key to the service and executed a flash loan attack.

Pump.Fun, a memecoin launchpad, was exploited today through a flashloan attack, resulting in the theft of at least 12,300 SOL, worth roughly $2 million. The attacker leveraged a compromised private key to execute the exploit, where Pump.Fun’s service account cosigned the malicious transactions. Using flashloans from MarginFi, the hacker withdrew liquidity meant to be migrated to Raydium and repaid the flashloan, also donating leftover funds to Solana token holders.

The Pump.Fun team managed to upgrade their contracts to prevent further damage and assured that all user wallets and existing tokens on Raydium are secure. Trading on Pump.Fun was temporarily paused but has since resumed, and affected users will receive full liquidity restitution within 24 hours. The platform accused a former employee of exploiting their privileged position to access the withdraw authority, compromising the protocol’s internal systems.

The incident has been reported to law enforcement, and the investigation continues.

Incident Report

Protocol / Project pump.fun
Date of Incident
Affected Chain(s) solana
Attack Technique Private Key Compromised (Unknown Method) / Flash Loan Attack
Classification Infrastructure / Other
Primary Source View Post-Mortem

Protocol Information

Protocol Type Launchpad
Smart Contract Language Rust/Anchor
Official Website pump.fun/board
Protocol Twitter/X @pumpdotfun
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Launchpad Solana Ecosystem Pump Fun Ecosystem Binance Ecosystem Binance Listing

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 Operational-security tradecraft (phishing, malware, leaked seed phrases, or insider access) to obtain treasury signing authority
Capital Required Flash loan capital (borrowed atomically, zero upfront cost)
On-Chain Access Valid signing authority over the compromised stake accounts and treasury wallets, allowing direct transfer of funds or stake authorization
Target Reconnaissance Identification of pump.fun's high-value treasury accounts and the authority / multisig structure controlling them
Execution Speed Speed to drain the compromised accounts before the team detects the breach and revokes signing authority or freezes the assets
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? Hard to catch — private key / OpSec failures are outside smart contract audit scope

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

  • Verify all logic paths related to Private Key Compromised (Unknown Method) / Flash Loan Attack are guarded by proper access controls and input validation - see the Access Control 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 Access Control Attacks examples →

Sources & References

Learn to Prevent the Next pump.fun

The pump.fun 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