Pump.fun is adversarial by design. A significant share of activity on the platform is not organic price discovery — it is coordinated manipulation, bot noise, and deliberate traps set for retail participants. Alpha Leak runs a dedicated layer of adversarial detectors that identify these patterns and ensure the trading system never acts on manufactured signals. Each detection method feeds independently into both the ML feature vector and theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/alphaleaks60-maker/solvedocs2/llms.txt
Use this file to discover all available pages before exploring further.
AntiSignalEmitter, which is the final gate before any position is opened.
Threat Coverage
| Threat | Detection Method | Response |
|---|---|---|
| Bundle / coordinated buy | BundleDetector (5s time windows) | Token flagged, bundle_confidence ML feature raised |
| Bot noise | BotDetector (3 behavioral patterns) | Wallet capped at alpha 30, is_bot ML feature set |
| Serial rugger | CreatorRiskScorer (rug rate, lifetime, insiders) | creator_risk_score ML feature raised, anti-signal trigger |
| Copy-trade follower signal | CopyTradeDetector (directional consistency) | Signal downweighted, originator vs follower resolved |
| Wash trading | Token risk scorer (buy/sell pattern analysis) | wash_trade_pct ML feature, anti-signal trigger at >30% |
| Exit liquidity trap | AntiSignalEmitter (smart wallets selling into retail) | Anti-signal emitted, open position force-exited |
| Crowded trade | SignalCrowdingDetector (tracked SOL vs curve SOL) | Score penalty up to 50%, Redis cached per token |
Detection Mechanisms
- Bundle Detection
- Creator Risk Scoring
- Wash Trading
- Signal Crowding
Bundles are the most common form of coordinated manipulation on Pump.fun. A group of wallets — often controlled by the same operator — buys a token within the same few seconds at or near launch. This creates the appearance of organic momentum while actually front-running the curve for a later dump.The The confidence score (0.3–1.0) feeds into the ML model as
BundleDetector groups trades into 5-second time buckets and identifies clusters of 3+ wallets buying the same token in the same window. Each cluster is then scored on two independent dimensions:Amount uniformity (coefficient of variation < 0.3): Are the buy sizes suspiciously similar? Random wallets rarely buy the exact same SOL amount within the same window.Rank continuity (rank span ≤ wallet count): Are the buy ranks consecutive? Consecutive buy ranks in a tight time window indicate the wallets transacted in rapid succession from the same source.same_slot_coordinated
Both amount uniformity and rank continuity criteria met. The strongest form of bundle evidence.
similar_amounts
Similar buy sizes but non-consecutive ranks. Coordination is likely but less certain.
time_window
Only time proximity met. Weakest classification — flags for additional scrutiny.
token_bundle_confidence and into the AntiSignalEmitter as an independent trigger.Anti-Signal Logic
TheAntiSignalEmitter is the system’s last line of defense before capital is deployed. It scans every token with an active buy signal every 30 seconds, checking six independently computed risk signals. Any two triggers firing simultaneously is sufficient to emit an anti-signal.
The multi-trigger design is intentional. Any single metric can be noisy — a 70% bot buyer rate on a brand-new token might simply mean no humans have discovered it yet. When 3 or 4 triggers fire simultaneously, the evidence is overwhelming. Each anti-signal payload includes the full evidence object with the specific numbers, logged and stored for auditing.
trade:signals are consumed by the live trader, which immediately force-exits any open position in the flagged token.
Exit Liquidity Detection
The exit liquidity trigger is one of the most reliable indicators of a dump in progress, and it deserves particular attention because it exploits the system’s own signal history against it.Smart money established a position
A token has had smart-wallet buy signals in the last 15 minutes, creating the appearance of a high-conviction trade.
Smart money begins selling
Those same smart wallets are now selling — their exits are detected in the last 10-minute window.
Retail fills the gap
Simultaneously, retail wallets (not in the tracked set) are buying, absorbing the smart-money exits.