Skip to content

About

Pump.fun deployment evidence and byte-exact reconstruction research (incomplete)

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

pumpfun-source

Deployment evidence and reconstruction tooling for the official Pump.fun Solana programs. Byte-for-byte source reconstruction is not complete. Experimental executables now contain recovered handlers with pinned candidate build recipes, but the implementations remain partial and all whole-program comparisons differ.

Verified captures include Pump, PumpSwap, Pump Fees and Mayhem, plus five separately deployed dependencies. Each capture preserves the entire account payload, including allocation padding, with SHA-256, finalized observation slots and available loader metadata. See scope and hashes.

python3 scripts/verify_evidence.py
python3 scripts/test_tooling.py

A partial Rust fee-tier selector now matches the original instruction sequence except for unresolved relocations with platform-tools v1.43, and passes 1,215 local differential cases. Recovered quote-mint routing additionally passes 9,428 original-program queries, but its compiled instructions still differ. All 31 Fees instruction bodies pass 17,441 SBF comparison receipts; forty-eight recovered Pump handlers plus five partial creation/trading paths pass 9,237. Thirty-seven PumpSwap handlers pass 17,462 comparisons, and twenty-four Mayhem handlers pass 9,595. These 53,735 saved comparisons cover 140 implemented handlers and five partial paths, not the complete programs. The Fees total includes 69 repeated-input checks with stronger log or signature assertions. Two Fees handlers are deprecated dispatches that always reject. The current Pump48 two-curve checkpoint adds the bounded ordinary-token routes SOL→A→B and B→A→SOL while retaining the prior single-curve branch. Its 20 new comparisons include 18 calls reaching Pump and 16 successes; broader routing remains partial. The complete 1,840-byte BondingCurve serializer and all 25 direct calls still match under the documented normalization. The same executable passes 1,024 additional Surfpool comparisons with 2,048 signed transactions. The current Pump sell_v2 has a confirmed quote transfer-fee minimum-output and event mismatch; its saved passes do not cover that boundary. The current PumpSwap checkpoint corrects the earlier zero-fee cashback event mismatch; the signed negative probe preserves evidence against the prior executable. A separate native accounting fragment is tested against 206 original Pump sell cases. See the recovery experiment.

The controlled compiler comparison favors platform-tools v1.44 among the tested Fees builds: two complete runtime helper bodies match the capture exactly. The current Fees candidate uses that compiler. The previous retained Fees build also passed 112 independent Surfpool comparisons with 224 signed local transactions. The current Fees inline initializer checkpoint restores the original inline Pump Global account layout. Its complete handler, account parser and wrapper match under the documented normalization, while the prior social-v2 and Pubkey helper matches remain satisfied. All 17,441 comparison receipts and ten donation sequence steps pass again. Current Fees compilation uses v1.44; the retained SDK strips with v1.52. These results do not prove the complete historical build configuration.

Recovery status separates observed evidence from unresolved work. The completion and remaining-work ledger enumerates all 150 instruction dispositions: 140 bounded implementations (93.3%), five partial and five unrecovered. Whole-binary completion remains 0/4; this is not a 93.3% overall completion estimate. Parallel worker results and concurrency configuration document the 16 completed CLI tasks and their remaining follow-ups. Tooling covers recapture, disassembly and strict candidate comparison. The security assessment remains incomplete. Local validation includes 393 malformed-input checks and 30 signed offline lifecycle transactions; these bounded checks do not establish full security or differential coverage. Zero confirmed findings does not establish security.

The SPL Token dependency now has a fresh Linux source build matching the entire captured 108,600-byte payload. Build evidence is separate from the still-unmatched four Pump.fun programs. Token2022 also has a verified fresh source build, including explicitly regenerated zero allocation padding.

Original bytes live under evidence/, never as rebuilt artifacts. This project contains no on-chain deployment or transaction-broadcast tooling; the imported signed test harness submits only to offline loopback simulators. Upstream IDLs retain their original authorship; this repository does not assert a license over Pump's materials.

The integrated research lab supplies pinned Pump.fun lifecycle fixtures, signed offline replay harnesses, receipt verifiers and an explicitly incomplete 31-handler Fees scaffold. Its import provenance and validation status are separate from source-reconstruction claims.

About

Pump.fun deployment evidence and byte-exact reconstruction research (incomplete)

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages