Auditing your own system? Hackerbane runs smart contract audits. Request an audit.
Hackerbane
Pons Family
Assessment Report

Pons Family
V1 and V2 launchpad

Pons is a token launchpad on Robinhood Chain. V1 deploys a fixed-supply ERC-20, seeds a one-sided Uniswap V3 position, and locks the NFT. V2 mints into a bonding curve that graduates into a locked Uniswap V4 pool. This assessment covers the Blockscout-verified live V1 and V2 factory source. Review ran 3-13 September 2026. Git HEAD 79e99ef compiles a different V2 tree than the verified factory.

0Critical
2High
10Medium
16Low
12Info
DocumentHACK-AR-2026-PONS-FAMILY  /  Crypto review
Systemponsdotdev/ponsfamily / V1 factory 0xA5aAb3...1feB / V2 factory 0x7eD598...c7e
ScopeLive verified V1 and V2 first-party contracts (see 2.4)
Review commitNo matching git SHA. V2 verified 2026-08-04 (solc 0.8.35, 200 runs). V1 verified 2026-07-13 (solc 0.8.30, 300 runs). Live storage sampled 2026-09-13.
EngagementSeptember 3rd, 2026 - September 13th, 2026
AuthorHackerbane
hackerbane.com hello@hackerbane.com HACK-AR-2026-PONS-FAMILY
Hackerbane · Assessment Report HACK-AR-2026-PONS-FAMILY

Contents

  1. -Document revision history
  2. -Contacts
  3. 1Executive overview
  4. 1.1Introduction
  5. 1.2What we found
  6. 1.3How this review was done
  7. 2Scoring (BVSS)
  8. 2.1Exploitability
  9. 2.2Impact
  10. 2.3Severity coefficient
  11. 2.4Scope
  12. 3Findings overview
  13. 4Findings
  14. 4.1(HACK-01) OWNER CAN REDIRECT ANY LAUNCH'S CREATOR FEES AFTER A 3-DAY NOTICE
  15. 4.2(HACK-02) OWNER CAN TAKE A SWEPT LAUNCH'S RESERVES AFTER 7 DAYS
  16. 5Recommendations
  17. 6Fuzz testing
  18. 7Static analysis
  19. 8Remediation record
  20. 9Exhibit B

Document revision history

VersionModificationDate
0.4Draft Review09/13/2026
0.5Document ID changed from HB-AR-2026.2 to HACK-AR-2026-PONS-FAMILY. HB-AR-2026.2 was also used for the Baseten Truss report. No other changes.10/05/2026

No remediation plan (1.0) is included. Fixes were not in the live tree at report date.

Contacts

ContactCompanyEmail
HackerbaneHackerbanehello@hackerbane.com

1   Executive overview

1.1   Introduction

Pons Family operates a memecoin launchpad on Robinhood Chain. V1 (PonsLaunchFactory at 0xA5aAb3F0c6EeadF30Ef1D3Eb997108E976351feB) deploys a token, opens a one-sided Uniswap V3 position, and locks the position NFT. V2 (PonsV2LaunchFactory at 0x7eD598BcEf8bd9Edd8C97A195C6d13f40801EC7e) mints the full supply to a constant-product bonding curve that later graduates into a permanently locked Uniswap V4 pool with a shared hook, fee escrow, and five-year buyback vault.

Hackerbane reviewed those live contracts from 3 September 2026 to 13 September 2026. Report date is 13 September 2026. Scope is the Blockscout-verified source for the live factories. Git HEAD 79e99ef compiles a different V2 set than the verified factory. Commit hashes and file lists are in the Scope section.

1.2   What we found

The live V1 and V2 factories have owner-gated paths that can retarget creator fees and take swept graduation reserves. No patch was in the verified tree at report date. The rest of the list is chapter 3 and 5.

Open Highs

IDActionStatus on 13 Sep 2026
HACK-01Restrict owner creator-fee override; cancel on creator handoff.PENDING
HACK-02Rescue swept graduation to a published distributor or refund path.PENDING

1.3   How this review was done

The review was a line-by-line read of the Blockscout-verified V1 and V2 trees, with live storage sampled on Robinhood Chain (https://rpc.mainnet.chain.robinhood.com). Git HEAD 79e99ef was compared to the verified bytecode. That git tree compiles a different V2 factory than the one on chain. Work that actually ran:

Slither and Foundry fuzzing were not run against this tree. See chapters 6 and 7.

2   Scoring (BVSS)

Each finding gets a BVSS vector. Exploitability is Attack Origin, Attack Cost, and Attack Complexity. Impact is Confidentiality, Integrity, Availability, Deposit, and Yield. The coefficient is Reversibility times Scope. The printed score is min(10, E * I * C * 10), rounded up to one decimal.

S = min(10, E * I * C * 10)

2.1   Exploitability

E is the product of Attack Origin (AO), Attack Cost (AC), and Attack Complexity (AX).

MetricValueNumeric
Attack Origin (AO)Arbitrary (AO:A) / Specific (AO:S)1 / 0.2
Attack Cost (AC)Low / Medium / High1 / 0.67 / 0.33
Attack Complexity (AX)Low / Medium / High1 / 0.67 / 0.33

AO:A means any account can attempt the call. AO:S means a specific account must be compromised. AC is cost relative to one transaction on the target chain. AX is conditions beyond the attacker (liquidity, sequencer, third parties).

2.2   Impact

Confidentiality (C), Integrity (I), Availability (A), Deposit (D), and Yield (Y). Integrity and Availability exclude impact already counted under Deposit or Yield.

NoneLowMediumHighCritical
C / I / A / D / Y00.250.50.751

I = max(mI) + (sum(mI) - max(mI)) / 4

2.3   Severity coefficient

CoefficientValueNumeric
Reversibility (R)None / Partial / Full1 / 0.5 / 0.25
Scope (S)Changed / Unchanged1.25 / 1

C = R * S

BandScore
Critical9.0 - 10.0
High7.0 - 8.9
Medium4.5 - 6.9
Low2.0 - 4.4
Informational0.0 - 1.9

2.4   Scope

Code repositories:

1. Pons live verified source

Smart contracts in scope:

Live addresses used in this review (Robinhood Chain, chain id 4663):

ContractAddress
V1 factory0xA5aAb3F0c6EeadF30Ef1D3Eb997108E976351feB
V1 locker0x736D76699C26D0d966744cAe304C000d471f7F35
V2 factory0x7eD598BcEf8bd9Edd8C97A195C6d13f40801EC7e
Fee escrow0xd3AFEB2a57f70eF218Aa82451c51B2fb0416Ac9e
LaunchAndBuy0xe33E9E479dF8802cb0866d5d05258bEc4cF62948
Hook0xE5e702641Ea86F4ae6cC3cDaeD2B886f976Be044
V2 locker0x267444D099b10fB5Ed7c3Cc7B7c767AdcA574952
Buyback vault0x42df2a798f82289E177311362e8f5ccC45c1219c
Deployer0x3711ceA4feaDE896C913C68F01Eda97Cb06D1A42
Owner / fee recipient0x263ed295dAfaE1D9AAdd6E56c4B6F9F38EE019Dd

Out of scope:

3   Findings overview

CriticalHighMediumLowInformational
0 2 10 16 12
Security analysisRisk levelRemediation
(HACK-01) OWNER CAN REDIRECT ANY LAUNCH'S CREATOR FEES AFTER A 3-DAY NOTICEHigh (7.5)PENDING
(HACK-02) OWNER CAN TAKE A SWEPT LAUNCH'S RESERVES AFTER 7 DAYSHigh (7.5)PENDING
(HACK-03) LAUNCHANDBUY'S EXTRA SNIPE EXEMPTIONS LAND AFTER THE LAUNCH-FEE TRANSFERMedium (5.7)PENDING
(HACK-04) CURVE FEE AND HOOK FEE ARE NOT REQUIRED TO MATCHMedium (5.0)PENDING
(HACK-05) V1 MAX-WALLET AND MAX-TX ONLY APPLY TO BUYS FROM A DETECTED V3 POOLMedium (5.7)PENDING
(HACK-06) V1 INITIAL BUY HAS AMOUNTOUTMINIMUM 0 AND NO LEFTOVER SWEEPMedium (5.0)PENDING
(HACK-07) V1 POSITION RANGE IS NOT TICK-SPACING ALIGNED AND SITS ON THE IN-RANGE BOUND FOR TOKEN0Medium (5.0)PENDING
(HACK-08) SNIPE TAX IS KEYED ON RECIPIENT; THE EXEMPTION LIST IS A 32-WALLET UNTAXED SETMedium (5.0)PENDING
(HACK-09) NO PAUSE ON LIVE CURVE OR HOOK TRADINGMedium (5.7)PENDING
(HACK-10) A REVERTING PROTOCOLFEERECIPIENT BLOCKS EVERY NEW LAUNCHMedium (5.7)PENDING
(HACK-11) V1 COLLECTFEES PUSHES TO TWO RECIPIENTS AND REVERTS IF EITHER REJECTSMedium (5.0)PENDING
(HACK-12) CURVE AND ESCROW CREDIT FOT DELTAS; GRADUATION STILL REQUIRES EXACT DELIVERYMedium (5.7)PENDING
(HACK-13) LIVE SNIPE WINDOW IS 3 SECONDS; 99% ONLY LASTS THE LAUNCH TIMESTAMPLow (2.5)PENDING
(HACK-14) SNIPE TAX IS CREDITED AS TRADE FEELow (2.5)PENDING
(HACK-15) CROSSING BUY CAN STARVE AUTO-GRADUATION OF GASLow (2.5)PENDING
(HACK-16) RESCUEPOOLFEES SKIPS THE NATIVE QUOTE LEGLow (2.5)PENDING
(HACK-17) LAUNCHANDBUY LAUNCHED EVENT REPORTS THE OFFERED QUOTE AS SPENTLow (2.5)PENDING
(HACK-18) FEE ESCROW WILL CREDIT ANY ERC-20 TO ANY RECIPIENTLow (3.2)PENDING
(HACK-19) V1 LOCKER PROTOCOL SHARE IS PERCENT, OWNER-CAPPED AT 50%Low (2.5)PENDING
(HACK-20) OWNER SAFE STILL HOLDS THE LIVE OPERATIONAL KEYSLow (3.2)PENDING
(HACK-21) V2 FACTORY AND HOOK ACCEPT ETH WITH NO SWEEP OF UNACCOUNTED BALANCESLow (2.5)PENDING
(HACK-22) V1 FACTORY, V1 LOCKER, AND LAUNCHANDBUY CAN STILL RENOUNCE OWNERSHIPLow (2.5)PENDING
(HACK-23) EXPECTEDECONOMICS IS OPTIONAL; AN UNPINNED LAUNCH TAKES WHATEVER THE OWNER LAST SETLow (3.2)PENDING
(HACK-24) SNIPE-EXEMPTION WRITES ARE AN EXTERNAL CALL PER WALLET, UP TO 32Low (2.5)PENDING
(HACK-25) SNIPE TAX, VEST, AND FEE-RECIPIENT TIMELOCK ALL KEY OFF BLOCK.TIMESTAMPLow (2.5)PENDING
(HACK-26) V1 REVERTS INVALIDLAUNCHCONFIGID FOR A BAD INITIALTICKLow (2.5)PENDING
(HACK-27) FEE ESCROW CREDIT() IS NOT NONREENTRANTLow (2.5)PENDING
(HACK-28) HOOK NATSPEC STILL SAYS BUYBACK-AND-BURN; EXECUTOR NATSPEC STILL MENTIONS A SWAPLow (2.5)PENDING
(HACK-29) GIT HEAD IS NOT THE PRODUCTION COMPILEInformational (0.0)PENDING
(HACK-30) V1 FACTORY IS LIVE BUT PUBLIC LAUNCHES ARE OFFInformational (0.0)PENDING
(HACK-31) TRACKED RESERVES, CREATE2 SALT, AND HOOK BEFOREINITIALIZE HOLDInformational (0.0)PENDING
(HACK-32) FLOATING PRAGMA, AND V1/V2 DO NOT SHARE A VERSIONInformational (0.0)PENDING
(HACK-33) GRADUATION AND FEES DEPEND ON UNISWAP V4 POOLMANAGER, POSITIONMANAGER, AND PERMIT2Informational (0.0)PENDING
(HACK-34) V2 LAUNCHCONFIGADDED EMITS ONLY THE IDInformational (0.0)PENDING
(HACK-35) REALQUOTERESERVE IS PUBLIC BUT NEVER CALLED INTERNALLYInformational (0.0)PENDING
(HACK-36) BONDING CURVE IMPORTS PONSV2LAUNCHERTOKEN AND NEVER USES ITInformational (0.0)PENDING
(HACK-37) EXEMPTION LOOPS READ ARRAY.LENGTH ON EVERY ITERATIONInformational (0.0)PENDING
(HACK-38) BUYBACKBURNBPS NAMES A FIVE-YEAR VEST AS A BURNInformational (0.0)PENDING
(HACK-39) V1 TOKEN HAS REDUNDANT MAXWALLETAMOUNT / MAXTXAMOUNT WRAPPERSInformational (0.0)PENDING
(HACK-40) LAUNCH DEPLOYER REVERTS NOTFACTORY WHEN THE FACTORY ADDRESS IS ZEROInformational (0.0)PENDING

4   Findings

4.1 (HACK-01) OWNER CAN REDIRECT ANY LAUNCH'S CREATOR FEES AFTER A 3-DAY NOTICE

High (7.5)V2Trust / fee routingPF-01PENDING
Description

setCreatorFeeRecipient is onlyOwner and is not limited to lost-key recovery. It proposes a new recipient for any existing launch. After CREATOR_FEE_RECIPIENT_TIMELOCK (3 days) anyone may execute it during a further 3-day window. transferCreatorFeeRecipient (the creator's own handoff) does not cancel a pending override. The comments say that collision is deliberate: the override wins. Execution writes the factory record and forwards into the curve (pre-graduation) or the hook (post-graduation), and the vault follows via updateCreatorRecipient, including vested-unreleased tokens.

Creator revenue, including the snipe-tax slice that lands in the creator bucket, can be pointed at an address the creator does not control. The 3-day CREATOR_FEE_RECIPIENT_TIMELOCK only delays execution. Creators have no on-chain way to block it. A compromised or hostile owner Safe can harvest every live launch's fee stream.

Code location

Listing 1: v2-src/v2/PonsV2LaunchFactory.sol (Lines 924-963)

924 * @notice Proposes a protocol-owner override of a launch's creator fee
925 * recipient. Its motivating case is recovery when a creator loses access
926 * to their wallet, but the power is deliberately not conditioned on
927 * that: the owner may redirect the recipient of any launch. Takes effect
928 * only after `CREATOR_FEE_RECIPIENT_TIMELOCK` has elapsed and someone
929 * calls `executeCreatorFeeRecipientChange`, giving the community advance
930 * notice instead of applying instantly. A new proposal for the same
931 * token replaces any earlier pending one and resets the clock.
932 *
933 * @dev A matured proposal takes precedence over any creator transfer made
934 * while it was pending. `transferCreatorFeeRecipient` deliberately does
935 * not cancel it, so the timelock is a notice period rather than a window
936 * in which the creator can veto by moving the recipient themselves. The
937 * override is therefore a standing protocol power over creator fee
938 * routing, not a narrowly scoped lost-key recovery, and it is documented
939 * as such rather than left to whichever call lands last.
940 *
941 * The collision is observable without extra state: this function emits
942 * the recipient as it stood at proposal time, and `_setCreatorFeeRecipient`
943 * emits the recipient it actually replaced. A creator transfer landing in
944 * between shows up as a mismatch between the two.
945*/
946function setCreatorFeeRecipient(address token, address newRecipient) external onlyOwner {
947 LaunchedToken storage launch = _launchedTokens[token];
948 if (!launch.exists) revert TokenNotFound();
949 if (newRecipient == address(0)) revert ZeroAddress();
950
951 uint256 effectiveAt = block.timestamp + CREATOR_FEE_RECIPIENT_TIMELOCK;
952 uint256 expiresAt = effectiveAt + CREATOR_FEE_RECIPIENT_EXECUTION_WINDOW;
953 pendingCreatorFeeRecipient[token] =
954 PendingCreatorFeeRecipient({newRecipient: newRecipient, effectiveAt: effectiveAt, expiresAt: expiresAt});
955
956 emit CreatorFeeRecipientChangeProposed(token, launch.creatorFeeRecipient, newRecipient, effectiveAt, expiresAt);
957}
958
959/**
960 * @notice Applies a protocol-owner's proposed creator fee recipient
961 * change once its timelock has elapsed. Permissionless: anyone can
962 * execute an already-matured proposal.
963*/

Listing 2: v2-src/v2/PonsV2LaunchFactory.sol (Lines 888-897)

888function transferCreatorFeeRecipient(address token, address newRecipient) external {
889 LaunchedToken storage launch = _launchedTokens[token];
890 if (!launch.exists) revert TokenNotFound();
891 if (msg.sender != launch.creatorFeeRecipient) revert NotCreatorFeeRecipient();
892
893 _setCreatorFeeRecipient(token, launch, newRecipient);
894}
895
896/**
897 * @notice Enables or disables buyback-and-lock for one launch. Only the

Listing 3: v2-src/v2/PonsV2BondingCurve.sol (Lines 343-347)

343function setCreatorFeeRecipient(address newRecipient) external onlyFactory {
344 if (newRecipient == address(0)) revert ZeroAddress();
345 emit CreatorFeeRecipientUpdated(deployer, newRecipient);
346 deployer = newRecipient;
347}

Listing 4: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 390-397)

390function setCreatorFeeRecipient(PoolId poolId, address newRecipient) external onlyFactory {
391 LaunchInfo storage info = launches[poolId];
392 if (!info.registered) revert UnknownPool();
393 if (newRecipient == address(0)) revert ZeroAddress();
394
395 emit CreatorFeeRecipientUpdated(poolId, info.creator, newRecipient);
396 info.creator = newRecipient;
397}
Proof of concept
  1. The owner Safe calls setCreatorFeeRecipient(token, newRecipient) on PonsV2LaunchFactory for a live launch.
  2. CREATOR_FEE_RECIPIENT_TIMELOCK (3 days) elapses. Anyone may execute the proposal in the following 3-day window.
  3. If the creator called transferCreatorFeeRecipient during the wait, that handoff does not cancel the owner proposal. The override wins.
  4. Execution writes the factory record and forwards into the curve (pre-graduation) or the hook (post-graduation). The vault follows via updateCreatorRecipient, including vested-unreleased tokens.
  5. Creator fee streams, including the snipe-tax slice in the creator bucket, pay the new recipient.
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:H/R:N/S:U (7.5)

Recommendation

Gate the override on an explicit lost-key path (creator-signed request, or a pause that stops trading first). Make transferCreatorFeeRecipient cancel a pending proposal. Do not move vested-unreleased buyback tokens in the same call unless the creator asked.

Remediation plan

PENDING

4.2 (HACK-02) OWNER CAN TAKE A SWEPT LAUNCH'S RESERVES AFTER 7 DAYS

High (7.5)V2Trust / graduationPF-02PENDING
Description

graduate() is irreversible on the curve: it sets graduated, sweeps fees, and sends trackedQuote / trackedTokens to the factory. createGraduatedPool then seeds V4. If the seed preflight fails, only the owner can forceSweptGraduation (already required to be unseedable) and, after GRADUATION_RESCUE_DELAY (7 days), rescueSweptGraduation sends the whole quote and token pile to an arbitrary recipient. There is no on-chain split back to curve buyers. The comments say off-chain distribution. Seeding stays permissionless during the wait, so a still-viable launch can be saved by anyone calling createGraduatedPool. forceSweptGraduation reverts if the guard still likes the seed, and the guard is immutable.

When a quote asset later cannot deliver exactly (the case this path exists for), every holder's graduation capital sits behind one owner call. The recipient is unconstrained. A hostile Safe can wait out 7 days on an unseedable launch and keep the ETH and the tokens.

Code location

Listing 5: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1096-1123)

1096/**
1097 * @notice Sweeps a curve whose seed the preflight refuses, moving its
1098 * reserves into this factory so the delayed rescue path can return them.
1099 * @dev The preflight in `graduate` runs before the irreversible sweep, so
1100 * a launch it refuses stays in NotGraduated. Trading is already closed at
1101 * that point, because the curve shuts its sell side the moment it is ready
1102 * to graduate, and `rescueSweptGraduation` keys off the Swept phase, so
1103 * without this the reserves would have no exit at all. Restricted to
1104 * launches the preflight genuinely refuses: while a seed is still viable
1105 * anyone can call `graduate` and this reverts, so it cannot be used to
1106 * take a healthy launch's reserves in place of seeding its pool. The
1107 * rescue timelock still runs from the sweep recorded here.
1108*/
1109function forceSweptGraduation(address token) external onlyOwner nonReentrant {
1110 LaunchedToken storage launch = _launchedTokens[token];
1111 if (!launch.exists) revert TokenNotFound();
1112 if (launch.phase != GraduationPhase.NotGraduated) revert WrongGraduationPhase();
1113 PonsV2BondingCurve curve = PonsV2BondingCurve(launch.curve);
1114 if (!curve.readyToGraduate()) {
1115 revert PonsV2BondingCurve.NotReadyToGraduate();
1116 }
1117 if (_graduationSeedable(token, launch, curve.realQuoteReserve(), curve.tokenReserve())) {
1118 revert GraduationStillViable();
1119 }
1120
1121 _sweepCurve(token, launch, curve);
1122 emit LaunchForceSwept(token);
1123}

Listing 6: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1254-1285)

1254function rescueSweptGraduation(address token, address recipient) external onlyOwner nonReentrant {
1255 LaunchedToken storage launch = _launchedTokens[token];
1256 if (!launch.exists) revert TokenNotFound();
1257 if (launch.phase != GraduationPhase.Swept) revert WrongGraduationPhase();
1258 if (recipient == address(0)) revert ZeroAddress();
1259
1260 uint256 availableAt = launch.sweptAt + GRADUATION_RESCUE_DELAY;
1261 if (block.timestamp < availableAt) revert GraduationRescueTooEarly(availableAt);
1262
1263 uint256 quoteAmount = launch.sweptQuote;
1264 uint256 tokenAmount = launch.sweptTokens;
1265 address pairToken = launch.pairToken;
1266
1267 launch.sweptQuote = 0;
1268 launch.sweptTokens = 0;
1269 launch.sweptAt = 0;
1270 launch.phase = GraduationPhase.Rescued;
1271
1272 if (quoteAmount != 0) {
1273 if (pairToken == address(0)) {
1274 (bool sent,) = payable(recipient).call{value: quoteAmount}("");
1275 if (!sent) revert FeeTransferFailed();
1276 } else {
1277 IERC20(pairToken).safeTransfer(recipient, quoteAmount);
1278 }
1279 }
1280 if (tokenAmount != 0) {
1281 IERC20(token).safeTransfer(recipient, tokenAmount);
1282 }
1283
1284 emit LaunchGraduationRescued(token, recipient, quoteAmount, tokenAmount);
1285}

Listing 7: v2-src/v2/PonsV2BondingCurve.sol (Lines 598-637)

598function graduate(address recipient) external onlyFactory returns (uint256 quoteOut, uint256 tokenOut) {
599 if (graduated) revert AlreadyGraduated();
600 if (recipient == address(0)) revert ZeroAddress();
601 if (!readyToGraduate()) revert NotReadyToGraduate();
602
603 // Halt trading before the sweep, not after. The sweep pays the escrow,
604 // and a quote asset with a transfer callback can re-enter buy() or
605 // sell() from inside that payment. This function is deliberately not
606 // nonReentrant so it stays callable from within buy()'s own guarded
607 // scope, so the flag is the only thing closing that window. Reentering
608 // while it was still false repopulated the fee buckets after they had
609 // been zeroed, leaving balances with no quote behind them once the
610 // reserve was handed over, and no way to ever sweep them.
611 //
612 // Safe to set here: readyToGraduate() is already evaluated above, and
613 // the private _sweepFees never reads the flag.
614 graduated = true;
615
616 // Graduation may be triggered by any caller or by the threshold-
617 // crossing buyer. Skip the buyback rather than execute a predictable
618 // market order without the sweep operator's minimum output.
619 _sweepFees(0, false);
620
621 // Hand over only the tracked trading reserves. Any quote asset or
622 // launch token force-sent to this curve is deliberately left stranded
623 // here rather than folded into the graduated pool's seed, so a
624 // donation cannot move the price the pool opens at.
625 quoteOut = trackedQuote;
626 trackedQuote = 0;
627 tokenOut = trackedTokens;
628 trackedTokens = 0;
629
630 if (quoteOut != 0) {
631 _sendQuote(recipient, quoteOut);
632 }
633 if (tokenOut != 0) {
634 IERC20(token).safeTransfer(recipient, tokenOut);
635 }
636
637 emit CurveCompleted(recipient, quoteOut, tokenOut);
Proof of concept
  1. graduate() runs on a launch whose seed preflight later fails. The curve is marked graduated and trackedQuote / trackedTokens sit on the factory.
  2. createGraduatedPool cannot seed. Only the owner can call forceSweptGraduation (required to be unseedable).
  3. After GRADUATION_RESCUE_DELAY (7 days), the owner calls rescueSweptGraduation with an arbitrary recipient.
  4. The whole quote and token pile is sent to that recipient. There is no on-chain split back to curve buyers.
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:H/Y:N/R:N/S:U (7.5)

Recommendation

Rescue to a dedicated distributor, or back to a burn/refund contract with a published split. Drop the arbitrary recipient argument from that function. Consider a second timelock + guardian for the actual transfer.

Remediation plan

PENDING

4.3 (HACK-03) LAUNCHANDBUY'S EXTRA SNIPE EXEMPTIONS LAND AFTER THE LAUNCH-FEE TRANSFER

Medium (5.7)V2Ordering / same-tx MEVPF-03PENDING
Description

launchTokenFor deploys, initialize() (snipe clock starts), exempts originalDeployer and creatorFeeRecipient, records the launch, then _payLaunchFee() which does protocolFeeRecipient.call{value: launchFee}. Only after that returns does it apply the extra exemption list. LaunchAndBuy appends the buy recipient to that list, then buys. So during the fee call the curve is live, trading is open, and the bundled wallets (including the atomic-buy recipient, if they are not the launcher or fee recipient) are not yet exempt. Live protocolFeeRecipient is 0x263e... , a 171-byte Gnosis-style proxy. A stock Safe receive() does not trade. A recipient whose fallback calls curve.buy() would trade first. Same-block snipers still pay currentSnipeTaxBps; live that is 99% in the launch second.

LaunchAndBuy.buy runs after _payLaunchFee returns. If the fee recipient's fallback calls curve.buy(), that buy sees a public curve first. At 99% tax the inner buy still needs substantial ETH, and it can still take sellable inventory. Direct launchToken() has the same fee-then-return shape, then the caller has to send a second tx to buy unless they use LaunchAndBuy.

Code location

Listing 8: v2-src/v2/PonsV2LaunchFactory.sol (Lines 730-750)

730function launchTokenFor(
731 TokenParams calldata params,
732 uint256 launchConfigId,
733 address pairToken,
734 address originalDeployer,
735 address[] calldata snipeTaxExemptions
736) external payable nonReentrant returns (address token, address curve) {
737 if (msg.sender != launchForwarder) revert NotLaunchForwarder();
738 (token, curve) = _launchToken(params, launchConfigId, pairToken, originalDeployer);
739 _exemptFromSnipeTax(curve, snipeTaxExemptions);
740}
741
742/**
743 * @dev Applies the bounded opening-buy exemption list shared by direct and
744 * forwarded launches.
745*/
746function _exemptFromSnipeTax(address curve, address[] calldata snipeTaxExemptions) private {
747 if (snipeTaxExemptions.length > MAX_SNIPE_TAX_EXEMPTIONS) revert ExemptionListTooLong();
748 for (uint256 i = 0; i < snipeTaxExemptions.length; ++i) {
749 PonsV2BondingCurve(curve).exemptFromSnipeTax(snipeTaxExemptions[i]);
750 }

Listing 9: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1438-1444)

1438function _payLaunchFee() private {
1439 if (launchFee == 0) return;
1440 address recipient = memeHook.protocolFeeRecipient();
1441 if (recipient == address(0)) revert ZeroAddress();
1442 (bool sent,) = payable(recipient).call{value: launchFee}("");
1443 if (!sent) revert FeeTransferFailed();
1444}

Listing 10: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 148-171)

148// The dev buy lands in the launch second, exactly when the snipe tax
149// peaks, so its recipient joins the exemption list whether or not
150// the caller declared them.
151address[] memory exemptions = new address[](snipeTaxExemptions.length + 1);
152for (uint256 i = 0; i < snipeTaxExemptions.length; ++i) {
153 exemptions[i] = snipeTaxExemptions[i];
154}
155exemptions[snipeTaxExemptions.length] = recipient;
156
157(token, curve) =
158factory.launchTokenFor{value: launchFee}(params, launchConfigId, pairToken, msg.sender, exemptions);
159
160if (nativeQuote) {
161 tokensOut = PonsV2BondingCurve(payable(curve)).buy{value: quoteIn}(quoteIn, minTokensOut, recipient);
162} else {
163 IERC20(pairToken).forceApprove(curve, quoteIn);
164 tokensOut = PonsV2BondingCurve(payable(curve)).buy(quoteIn, minTokensOut, recipient);
165 // A clamped fill leaves the unused allowance standing.
166 IERC20(pairToken).forceApprove(curve, 0);
167}
168
169_refund(pairToken, nativeQuote, balanceBefore);
170
171emit Launched(token, curve, recipient, msg.sender, quoteIn, tokensOut);

Listing 11: v2-src/v2/PonsV2BondingCurve.sol (Lines 315-335)

315function currentSnipeTaxBps(address recipient) public view returns (uint256) {
316 if (snipeTaxExempt[recipient]) return 0;
317 uint256 startBps = snipeTaxStartBps;
318 if (startBps == 0) return 0;
319 uint256 elapsed = block.timestamp - launchedAt;
320 uint256 window = snipeTaxSeconds;
321 if (elapsed >= window) return 0;
322 return startBps >> ((elapsed * 14) / window);
323}
324
325/**
326 * @notice Marks `account` as exempt from the snipe tax. Called by the
327 * factory during the launch transaction for the creator, their fee
328 * recipient, and any bundle wallets the creator declared, so a team's
329 * own opening buys clear at the untaxed price while sniper bots in the
330 * same window do not.
331*/
332function exemptFromSnipeTax(address account) external onlyFactory {
333 snipeTaxExempt[account] = true;
334 emit SnipeTaxExempted(account);
335}
Proof of concept
  1. Caller uses LaunchAndBuy so the buy recipient is on the extra exemption list.
  2. launchTokenFor deploys, initialize() starts the snipe clock, then _payLaunchFee runs protocolFeeRecipient.call{value: launchFee} before those extra exemptions are written.
  3. If that recipient's fallback calls curve.buy() for a non-exempt wallet, the buy sees a live public curve. Live snipe tax in the launch second is 99%.
  4. Only after the fee call returns does launchTokenFor apply the extra list and LaunchAndBuy.buy run.
BVSS

AO:A/AC:L/AX:L/C:N/I:M/A:L/D:N/Y:N/R:N/S:U (5.7)

Recommendation

Apply the exemption list before _payLaunchFee, or pay the fee after LaunchAndBuy.buy returns (pull the fee from the router at the end). Or make the fee recipient a plain push that cannot callback (WETH-style).

Remediation plan

PENDING

4.4 (HACK-04) CURVE FEE AND HOOK FEE ARE NOT REQUIRED TO MATCH

Medium (5.0)V2Fee policyPF-04PENDING
Description

A launch snapshots config.curveFeeBps onto the curve and policy.hookFeeBps onto the graduated pool. Both are checked against creatorTaxBps + 2000 bps combined, separately. Nothing requires curveFeeBps == hookFeeBps. Live hookFeeBps is 100 (1%). Curve fee is per launch config. After graduation, afterSwap uses the frozen info.hookFeeBps. The curve's feeBps stays on the curve. Traders who learned the price on the curve can hit a different take the moment the pool opens.

Graduation is sold as the same market with the same fee policy. If a config is 0.3% on the curve and the hook is 1%, the pool is strictly worse for takers. The reverse leaves protocol revenue on the table. Neither is a theft, both are a bait-and-switch if the UI quotes one number.

Code location

Listing 12: v2-src/v2/PonsV2LaunchFactory.sol (Lines 801-806)

801if (config.curveFeeBps + params.creatorTaxBps > MAX_TOTAL_TRADE_FEE_BPS) {
802 revert CombinedFeeTooHigh();
803}
804if (policy.hookFeeBps + params.creatorTaxBps > MAX_TOTAL_TRADE_FEE_BPS) {
805 revert CombinedFeeTooHigh();
806}

Listing 13: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1371-1384)

1371FeePolicySnapshot memory policy = _launchFeePolicies[token];
1372// Passing the curve's own creator recipient keeps this pool's vest in
1373// the same vault epoch as any tranche the curve locked before
1374// graduation. Later rotations still redirect the vest, through
1375// _setCreatorFeeRecipient's call into the vault.
1376memeHook.registerPool(
1377 key,
1378 token,
1379 launch.creatorFeeRecipient,
1380 PonsV2BondingCurve(launch.curve).buybackCreatorRecipient(),
1381 launch.creatorTaxBps,
1382 launch.buybackEnabled,
1383 policy
1384);

Listing 14: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 251-255)

251function setHookFeeBps(uint256 bps) external onlyOwner {
252 if (bps > MAX_HOOK_FEE_BPS) revert InvalidBps();
253 hookFeeBps = bps;
254 emit HookFeeBpsUpdated(bps);
255}
BVSS

AO:A/AC:L/AX:L/C:N/I:M/A:N/D:N/Y:N/R:N/S:U (5.0)

Recommendation

Require curveFeeBps == policy.hookFeeBps at launch, or snapshot the curve's feeBps into registerPool instead of the live hook policy's hookFeeBps.

Remediation plan

PENDING

4.5 (HACK-05) V1 MAX-WALLET AND MAX-TX ONLY APPLY TO BUYS FROM A DETECTED V3 POOL

Medium (5.7)V1Anti-snipe bypassPF-05PENDING
Description

_update applies maxWallet / cumulative maxTx only when from is a pair pool (_isPairPool). Transfers wallet-to-wallet, router-to-wallet that are not the canonical factory pool, and any other DEX skip the limits. Launch-block buys from the pool are blocked except the factory's atomic initial-buy recipient. After that block, a buyer can hit maxTx from the pool, transfer to a fresh wallet, and buy again. _isPairPool treats any Uniswap V3 factory pool for this pair at any fee tier as a pool source, so extra fee-tier pools are restricted too. Pools on a different factory are not.

The restriction window does not cap a motivated sniper's inventory. It slows direct pool buys per wallet. V1 is still the live factory at 0xA5aAb3F0c6EeadF30Ef1D3Eb997108E976351feB. launchEnabled is currently false, so only whitelisted launchers can create new V1 tokens, but every already-launched V1 token keeps this _update for its restrictionBlocks.

Code location

Listing 15: v1-src/PonsLauncherToken.sol (Lines 174-205)

174function _update(address from, address to, uint256 value) internal override {
175 if (from != address(0) && to != address(0) && block.number <= restrictionEndBlock) {
176 bool isRestrictedBuy = _isPairPool(from);
177 if (!isRestrictedBuy) {
178 super._update(from, to, value);
179 return;
180 }
181
182 bool isAtomicLaunchBuy =
183 block.number == launchBlock && _initialBuyRecipient != address(0) && to == _initialBuyRecipient;
184 if (!isAtomicLaunchBuy && block.number == launchBlock) {
185 revert LaunchBlockBuyBlocked(to);
186 }
187
188 if (!isAtomicLaunchBuy) {
189 uint256 walletLimit = maxWalletLimit();
190 uint256 resultingBalance = balanceOf(to) + value;
191 if (resultingBalance > walletLimit) {
192 revert MaxWalletExceeded(to, resultingBalance, walletLimit);
193 }
194
195 uint256 cumulative = _restrictedPoolBuys[to] + value;
196 uint256 cumulativeLimit = maxTxLimit();
197 if (cumulative > cumulativeLimit) {
198 revert MaxTxExceeded(to, cumulative, cumulativeLimit);
199 }
200 _restrictedPoolBuys[to] = cumulative;
201 }
202 }
203
204 super._update(from, to, value);
205}

Listing 16: v1-src/PonsLauncherToken.sol (Lines 211-222)

211function _isPairPool(address candidate) private view returns (bool) {
212 address canonicalPool = liquidityPool();
213 if (candidate == canonicalPool && canonicalPool != address(0)) return true;
214 if (candidate.code.length == 0) return false;
215
216 (bool feeRead, bytes memory feeData) =
217 candidate.staticcall(abi.encodeCall(IUniswapV3PoolImmutablesLike.fee, ()));
218 if (!feeRead || feeData.length < 32) return false;
219
220 uint24 candidateFee = abi.decode(feeData, (uint24));
221 return IUniswapV3FactoryLike(dexFactory).getPool(address(this), pairToken, candidateFee) == candidate;
222}

Listing 17: v1-src/PonsLaunchFactory.sol (Lines 384-423)

384uint256 initialBuyAmount = msg.value - launchFee;
385uint256 restrictionEndBlock = PonsLauncherToken(token).restrictionEndBlock();
386_launchedTokens[token] = LaunchedToken({
387 token: token,
388 deployer: msg.sender,
389 pairedToken: config.pairToken,
390 positionManager: dex.positionManager,
391 positionId: positionId,
392 dexId: dexId,
393 launchConfigId: launchConfigId,
394 restrictionsEndBlock: restrictionEndBlock,
395 supply: config.supply,
396 isToken0: isToken0,
397 poolFee: dex.poolFee,
398 exists: true,
399 initialBuyAmount: initialBuyAmount
400 });
401_graduationThresholds[token] = config.graduationThreshold;
402
403manager.safeTransferFrom(address(this), locker, positionId);
404IPonsLaunchLocker(locker).lockPosition(token);
405// Wire Advanced creator wallet to fee payouts, not only the developer buy.
406if (params.feeWallet != address(0)) {
407 IPonsLaunchLocker(locker).setFeeRedirect(token, params.feeWallet);
408}
409
410emit TokenLaunched(
411 token,
412 msg.sender,
413 dex.factory,
414 config.pairToken,
415 pool,
416 dexId,
417 launchConfigId,
418 positionId,
419 restrictionEndBlock,
420 initialBuyAmount
421);
422
423if (initialBuyAmount != 0) {
BVSS

AO:A/AC:L/AX:L/C:N/I:M/A:N/D:L/Y:N/R:N/S:U (5.7)

Recommendation

If V1 is still sold as having wallet caps, cap balanceOf(to) on every transfer in the window, including wallet-to-wallet transfers. Or drop the claim and document 'pool-buy throttle only'.

Remediation plan

PENDING

4.6 (HACK-06) V1 INITIAL BUY HAS AMOUNTOUTMINIMUM 0 AND NO LEFTOVER SWEEP

Medium (5.0)V1Slippage / stuck ETHPF-06PENDING
Description

msg.value must be at least launchFee. The rest is the optional initial buy. _payLaunchFee runs before deploy. _executeInitialBuy then calls exactInputSingle with amountOutMinimum: 0 and sqrtPriceLimitX96: 0, sending amountIn = msg.value - launchFee. The factory has no receive() and no withdraw. A router that refunds unused ETH would revert on the refund. A swap that fills at any price is accepted. The mint itself also uses amount0Min/amount1Min 0.

The atomic buy cannot be sandwiched by another transaction, but it can still clear at a terrible price against the just-minted one-sided position (empty-pool to minted liquidity in the same tx, so the first price is the configured tick). More practically, any ETH that lands on the factory later is stuck. There is no admin sweep either.

Code location

Listing 18: v1-src/PonsLaunchFactory.sol (Lines 569-603)

569function _executeInitialBuy(
570 DexConfig memory dex,
571 LaunchConfig memory config,
572 address token,
573 address recipient,
574 uint256 amountIn
575) private {
576 if (config.routerRequiresDeadline) {
577 ISwapRouterV3Like(dex.swapRouter).exactInputSingle{value: amountIn}(
578 ISwapRouterV3Like.ExactInputSingleParams({
579 tokenIn: config.pairToken,
580 tokenOut: token,
581 fee: dex.poolFee,
582 recipient: recipient,
583 deadline: block.timestamp,
584 amountIn: amountIn,
585 amountOutMinimum: 0,
586 sqrtPriceLimitX96: 0
587 })
588 );
589 return;
590 }
591
592 ISwapRouter02Like(dex.swapRouter).exactInputSingle{value: amountIn}(
593 ISwapRouter02Like.ExactInputSingleParams({
594 tokenIn: config.pairToken,
595 tokenOut: token,
596 fee: dex.poolFee,
597 recipient: recipient,
598 amountIn: amountIn,
599 amountOutMinimum: 0,
600 sqrtPriceLimitX96: 0
601 })
602 );
603}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:M/Y:N/R:N/S:U (5.0)

Recommendation

Pass a caller-supplied minOut. Add receive() + an owner sweep, or reject msg.value above launchFee + documented buy size after quoting.

Remediation plan

PENDING

4.7 (HACK-07) V1 POSITION RANGE IS NOT TICK-SPACING ALIGNED AND SITS ON THE IN-RANGE BOUND FOR TOKEN0

Medium (5.0)V1Liquidity / launch configPF-07PENDING
Description

_validateLaunchConfig checks initialTick in [MIN_TICK, MAX_TICK] and != 0. It does not require initialTick % tickSpacing == 0. Uniswap V3 mint reverts on unaligned ticks, so a bad owner config fails the whole launchToken (fee payment rolls back with the tx). _positionRange for isToken0 returns (initialTick, maxUsableTick) while the pool is initialized at poolTick = initialTick. Liquidity is in range when tickLower <= current < tickUpper, so token0 launches open exactly on the lower bound while minting only token0 (amount1Desired 0). The token1 case uses (minUsableTick, -initialTick) with current = -initialTick, so the position is out of range on the upper bound and all token1, which matches a memecoin-only seed. The token0 case is the awkward one.

A token whose address sorts below the pair token can mint a barely-in-range position instead of a clean one-sided ask. Depending on NPM's liquidity math at exactly tickLower, the mint may take less than supply or leave the leftover tokens on the factory (no sweep). Unaligned ticks revert and brick that config until the owner fixes it.

Code location

Listing 19: v1-src/PonsLaunchFactory.sol (Lines 504-519)

504function _positionRange(bool isToken0, int24 initialTick, int24 tickSpacing)
505private
506pure
507returns (int24 tickLower, int24 tickUpper)
508{
509 // Truncation toward zero is required to derive V3's usable boundary ticks.
510 // forge-lint: disable-next-line(divide-before-multiply)
511 int24 minUsableTick = (MIN_TICK / tickSpacing) * tickSpacing;
512 // forge-lint: disable-next-line(divide-before-multiply)
513 int24 maxUsableTick = (MAX_TICK / tickSpacing) * tickSpacing;
514
515 if (isToken0) {
516 return (initialTick, maxUsableTick);
517 }
518 return (minUsableTick, -initialTick);
519}

Listing 20: v1-src/PonsLaunchFactory.sol (Lines 530-543)

530function _validateLaunchConfig(LaunchConfig calldata config) private pure {
531 if (config.pairToken == address(0)) revert ZeroAddress();
532 if (config.maxWalletBps > BASIS_POINTS || config.maxTxBps > BASIS_POINTS) {
533 revert InvalidBasisPoints();
534 }
535 uint16 expectedMaxTxBps = _tokenMaxTxBps(config.maxWalletBps);
536 if (config.maxTxBps != expectedMaxTxBps) {
537 revert InvalidMaxTxBasisPoints();
538 }
539 if (config.supply < 1 ether) revert SupplyTooLow();
540 if (config.initialTick < MIN_TICK || config.initialTick > MAX_TICK || config.initialTick == 0) {
541 revert InvalidLaunchConfigId();
542 }
543}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:M/D:N/Y:N/R:N/S:U (5.0)

Recommendation

Require initialTick % tickSpacing == 0. For isToken0, set tickLower = initialTick + tickSpacing so the position is strictly above spot and all token0.

Remediation plan

PENDING

4.8 (HACK-08) SNIPE TAX IS KEYED ON RECIPIENT; THE EXEMPTION LIST IS A 32-WALLET UNTAXED SET

Medium (5.0)V2Anti-snipePF-08PENDING
Description

currentSnipeTaxBps(recipient) returns 0 if snipeTaxExempt[recipient]. buy() keys the tax on recipient. It ignores msg.sender. The factory always exempts originalDeployer and creatorFeeRecipient. The overload / launchTokenFor then exempts up to 32 more addresses. LaunchAndBuy always appends the token recipient so the atomic buy is untaxed. Any later buy that names an exempt recipient also pays zero snipe tax, including a searcher buying 'for' a bundled wallet they control.

This is the sanctioned team-bundle path. It also means the 99% window only applies to recipients who were not declared. A team that puts searcher wallets on the list gets the full curve at the untaxed price in the launch second. Outside that list the tax works.

Code location

Listing 21: v2-src/v2/PonsV2BondingCurve.sol (Lines 315-335)

315function currentSnipeTaxBps(address recipient) public view returns (uint256) {
316 if (snipeTaxExempt[recipient]) return 0;
317 uint256 startBps = snipeTaxStartBps;
318 if (startBps == 0) return 0;
319 uint256 elapsed = block.timestamp - launchedAt;
320 uint256 window = snipeTaxSeconds;
321 if (elapsed >= window) return 0;
322 return startBps >> ((elapsed * 14) / window);
323}
324
325/**
326 * @notice Marks `account` as exempt from the snipe tax. Called by the
327 * factory during the launch transaction for the creator, their fee
328 * recipient, and any bundle wallets the creator declared, so a team's
329 * own opening buys clear at the untaxed price while sniper bots in the
330 * same window do not.
331*/
332function exemptFromSnipeTax(address account) external onlyFactory {
333 snipeTaxExempt[account] = true;
334 emit SnipeTaxExempted(account);
335}

Listing 22: v2-src/v2/PonsV2LaunchFactory.sol (Lines 713-750)

713function launchToken(
714 TokenParams calldata params,
715 uint256 launchConfigId,
716 address pairToken,
717 address[] calldata snipeTaxExemptions
718) external payable nonReentrant returns (address token, address curve) {
719 (token, curve) = _launchToken(params, launchConfigId, pairToken, msg.sender);
720 _exemptFromSnipeTax(curve, snipeTaxExemptions);
721}
722
723/**
724 * @notice Launches for the initiating user of the trusted atomic
725 * launch-and-buy router, with its declared opening-buy exemptions.
726 * @dev Only the configured `launchForwarder` may supply `originalDeployer`.
727 * This preserves the real caller without `tx.origin`, which breaks through
728 * account-abstraction relayers and must never be used for authorization.
729*/
730function launchTokenFor(
731 TokenParams calldata params,
732 uint256 launchConfigId,
733 address pairToken,
734 address originalDeployer,
735 address[] calldata snipeTaxExemptions
736) external payable nonReentrant returns (address token, address curve) {
737 if (msg.sender != launchForwarder) revert NotLaunchForwarder();
738 (token, curve) = _launchToken(params, launchConfigId, pairToken, originalDeployer);
739 _exemptFromSnipeTax(curve, snipeTaxExemptions);
740}
741
742/**
743 * @dev Applies the bounded opening-buy exemption list shared by direct and
744 * forwarded launches.
745*/
746function _exemptFromSnipeTax(address curve, address[] calldata snipeTaxExemptions) private {
747 if (snipeTaxExemptions.length > MAX_SNIPE_TAX_EXEMPTIONS) revert ExemptionListTooLong();
748 for (uint256 i = 0; i < snipeTaxExemptions.length; ++i) {
749 PonsV2BondingCurve(curve).exemptFromSnipeTax(snipeTaxExemptions[i]);
750 }

Listing 23: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 102-107)

102 * @param snipeTaxExemptions Additional wallets to exempt from the
103 * launch-window snipe tax, for teams bundling their opening buys across
104 * several addresses. `recipient` is appended automatically, so the dev
105 * buy below always clears untaxed; pass an empty array when there is no
106 * bundle. At most 31 entries: the factory bounds the combined list at
107 * 32 including the appended recipient.
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:M/R:N/S:U (5.0)

Recommendation

Key the tax on msg.sender, or on both sender and recipient. If the list is meant for LaunchAndBuy only, exempt inside that one buy (a one-shot flag) rather than permanently.

Remediation plan

PENDING

4.9 (HACK-09) NO PAUSE ON LIVE CURVE OR HOOK TRADING

Medium (5.7)V2+V1Missing or broken pausePF-20PENDING
Description

launchEnabled only gates new launches. Once a V2 curve exists, buy() and sell() have no pause. Graduated pools take hook fees in afterSwap with no pause either. V1 has the same shape: setLaunchEnabled(false) does not freeze already-launched pools or collectFees. There is no Pausable, no circuit breaker, and no owner function that stops trading on a live token. The closest hatches are owner fee rescue and the 7-day graduation rescue, which do not stop swaps.

A bad pair token, a hook bug, or a fee-recipient incident has to be waited out at market speed. Owner can stop new launches in one tx and cannot stop the ones already taking quotes.

Code location

Listing 24: v2-src/v2/PonsV2LaunchFactory.sol (Lines 432-438)

432/**
433 * @notice Opens or closes launches to non-whitelisted callers.
434*/
435function setLaunchEnabled(bool enabled) external onlyOwner {
436 launchEnabled = enabled;
437 emit LaunchEnabledUpdated(enabled);
438}

Listing 25: v2-src/v2/PonsV2LaunchFactory.sol (Lines 456-458)

456function canLaunch(address launcher) public view returns (bool) {
457 return launchEnabled || whitelistedLaunchers[launcher];
458}

Listing 26: v2-src/v2/PonsV2BondingCurve.sol (Lines 438-477)

438function buy(uint256 quoteIn, uint256 minTokensOut, address recipient)
439external
440payable
441nonReentrant
442onlyInitialized
443returns (uint256 tokensOut)
444{
445 if (graduated) revert CurveGraduated();
446 if (recipient == address(0)) revert ZeroAddress();
447
448 uint256 received = _receiveQuote(quoteIn);
449 if (received == 0) revert ZeroAmount();
450 // graduate() is deliberately not nonReentrant and the factory's
451 // trigger is permissionless, so a quote asset that yields control
452 // during transferFrom can drain this curve between the check above
453 // and the reserve reads below. Re-checking here rather than relying
454 // on the downstream arithmetic to happen to revert.
455 if (graduated) revert CurveGraduated();
456
457 uint256 quoteReserveBefore = phantomQuote + trackedQuote - quoteFeeBalance - creatorTaxBalance;
458 uint256 tokenReserveBefore = trackedTokens;
459
460 // The snipe tax rides the quote leg like the base fee and creator
461 // tax, but is bounded so the combined take always nets the buyer at
462 // least 1% of their spend and the gross-up below never divides by
463 // zero. It deliberately ignores MAX_TOTAL_TRADE_FEE_BPS: a 99% take
464 // in the launch second is the entire point. The bound only matters
465 // to a nonzero tax, so the common untaxed buy skips it.
466 uint256 snipeTaxBps = currentSnipeTaxBps(recipient);
467 if (snipeTaxBps != 0) {
468 uint256 maxSnipeTaxBps = BASIS_POINTS - feeBps - creatorTaxBps - 100;
469 if (snipeTaxBps > maxSnipeTaxBps) snipeTaxBps = maxSnipeTaxBps;
470 }
471
472 uint256 spent = received;
473 uint256 fee = (spent * feeBps) / BASIS_POINTS;
474 uint256 tax = (spent * creatorTaxBps) / BASIS_POINTS;
475 uint256 snipeTax = (spent * snipeTaxBps) / BASIS_POINTS;
476 tokensOut = PonsV2BondingCurveMath.getAmountOut(
477 spent - fee - tax - snipeTax, quoteReserveBefore, tokenReserveBefore, 0

Listing 27: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 444-483)

444function _afterSwap(address, PoolKey calldata key, SwapParams calldata params, BalanceDelta delta, bytes calldata)
445internal
446override
447returns (bytes4, int128)
448{
449 // The conversion and buyback legs swap against this same pool, but
450 // they are never taxed here: v4-core skips a pool's hooks when the
451 // hook itself is the caller (Hooks.afterSwap). Were that not so, the
452 // skim would come out of the buyback before it reached the vault.
453 PoolId poolId = key.toId();
454 LaunchInfo memory info = launches[poolId];
455 if (!info.registered) return (IHooks.afterSwap.selector, 0);
456 if (info.hookFeeBps == 0 && info.creatorTaxBps == 0) return (IHooks.afterSwap.selector, 0);
457
458 bool specifiedIsCurrency0 = (params.amountSpecified < 0) == params.zeroForOne;
459 (Currency feeCurrency, int128 unspecifiedAmount) =
460 specifiedIsCurrency0 ? (key.currency1, delta.amount1()) : (key.currency0, delta.amount0());
461 if (unspecifiedAmount < 0) unspecifiedAmount = -unspecifiedAmount;
462 if (unspecifiedAmount == 0) return (IHooks.afterSwap.selector, 0);
463
464 uint256 unspecified = uint256(uint128(unspecifiedAmount));
465 uint256 feeAmount = (unspecified * info.hookFeeBps) / BASIS_POINTS;
466 uint256 taxAmount = (unspecified * info.creatorTaxBps) / BASIS_POINTS;
467 uint256 totalAmount = feeAmount + taxAmount;
468 if (totalAmount == 0) return (IHooks.afterSwap.selector, 0);
469
470 address feeCurrencyAddr = Currency.unwrap(feeCurrency);
471 _takeExact(feeCurrency, feeCurrencyAddr, totalAmount);
472 if (feeAmount != 0) {
473 pendingFees[poolId][feeCurrencyAddr] += feeAmount;
474 if (info.buybackEnabled) {
475 // The buyback comes out of the creator's bucket alone, so it
476 // is measured against what remains after the protocol's share.
477 uint256 creatorSlice = feeAmount - (feeAmount * info.protocolFeeShareBps) / BASIS_POINTS;
478 pendingBuyback[poolId][feeCurrencyAddr] += (creatorSlice * info.buybackBurnBps) / BASIS_POINTS;
479 }
480 }
481 if (taxAmount != 0) pendingCreatorTax[poolId][feeCurrencyAddr] += taxAmount;
482
483 emit HookFeeCollected(poolId, feeCurrencyAddr, feeAmount, taxAmount);
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:M/D:N/Y:N/R:N/S:U (5.7)

Recommendation

Add a global or per-launch pause that buy/sell/afterSwap honour, with a timelock on unpause if they are worried about abuse of the pause itself.

Remediation plan

PENDING

4.10 (HACK-10) A REVERTING PROTOCOLFEERECIPIENT BLOCKS EVERY NEW LAUNCH

Medium (5.7)V2+V1DoS with failed call / pull-over-pushPF-21PENDING
Description

Both factories pay the launch fee with recipient.call{value: launchFee} and revert the whole launch on failure. Live recipient is 0x263e... (Safe-style proxy). A stock Safe accept()s ETH. If that recipient is later a contract whose fallback reverts, runs out of gas, or is a token contract with no receive, launchToken and launchAndBuy fail for everyone until the owner rotates the recipient. V2 reads the recipient live from memeHook.protocolFeeRecipient() each launch, so a setter can fix it. V1 reads it from the locker the same way.

The fee sink is a single point of failure for the product. Pushing the launch fee reverts the whole launch if the recipient rejects. Escrow is pull for trading fees. This one payment is push.

Code location

Listing 28: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1438-1444)

1438function _payLaunchFee() private {
1439 if (launchFee == 0) return;
1440 address recipient = memeHook.protocolFeeRecipient();
1441 if (recipient == address(0)) revert ZeroAddress();
1442 (bool sent,) = payable(recipient).call{value: launchFee}("");
1443 if (!sent) revert FeeTransferFailed();
1444}

Listing 29: v1-src/PonsLaunchFactory.sol (Lines 492-498)

492function _payLaunchFee() private {
493 if (launchFee == 0) return;
494 address recipient = IPonsLaunchLocker(locker).protocolFeeRecipient();
495 if (recipient == address(0)) revert ZeroAddress();
496 (bool sent,) = payable(recipient).call{value: launchFee}("");
497 if (!sent) revert FeeTransferFailed();
498}
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:M/D:N/Y:N/R:N/S:U (5.7)

Recommendation

Credit the launch fee through PonsV2FeeEscrow instead of a raw call, or swallow a failed fee payment into a pending bucket the owner can claim.

Remediation plan

PENDING

4.11 (HACK-11) V1 COLLECTFEES PUSHES TO TWO RECIPIENTS AND REVERTS IF EITHER REJECTS

Medium (5.0)V1Pull-over-push / DoS with failed callPF-22PENDING
Description

collectFees pulls the V3 NFT fees to the locker, then safeTransfer's protocol slice and creator slice in one transaction. If protocolFeeRecipient or the creator redirect is a contract that reverts on transfer (or a token that blacklists them), the collect reverts and the fees stay on the NFT. There is no per-recipient claim. Owner can rotate protocolFeeRecipient globally, and the deployer can setFeeRedirect, which is the recovery path. V2 sends the same value through the escrow pull ledger instead.

One hostile or broken recipient can freeze fee collection for that token until someone changes the address. The NFT itself stays locked. Trading continues.

Code location

Listing 30: v1-src/PonsLaunchLocker.sol (Lines 118-157)

118function collectFees(address token) external nonReentrant returns (uint256 amount0, uint256 amount1) {
119 IPonsLaunchFactory.LaunchedToken memory launched = getLaunchedToken(token);
120 if (!launched.exists || !_lockedTokens[token]) revert TokenNotFound();
121
122 address recipient = feeRedirects[token];
123 if (recipient == address(0)) recipient = launched.deployer;
124 if (
125 msg.sender != owner() && msg.sender != launched.deployer && msg.sender != recipient
126 && !feeCollectors[msg.sender]
127 ) {
128 revert NotAuthorized();
129 }
130
131 INonfungiblePositionManagerLike manager = INonfungiblePositionManagerLike(launched.positionManager);
132 address token0;
133 address token1;
134 (,, token0, token1,,,,,,,,) = manager.positions(launched.positionId);
135
136 (amount0, amount1) = manager.collect(
137 INonfungiblePositionManagerLike.CollectParams({
138 tokenId: launched.positionId,
139 recipient: address(this),
140 amount0Max: type(uint128).max,
141 amount1Max: type(uint128).max
142 })
143 );
144 if (amount0 == 0 && amount1 == 0) revert NoFeesToCollect();
145
146 uint256 tokenProtocolFeeShare = tokenProtocolFeeShares[token];
147 uint256 protocolAmount0 = (amount0 * tokenProtocolFeeShare) / 100;
148 uint256 protocolAmount1 = (amount1 * tokenProtocolFeeShare) / 100;
149 uint256 recipientAmount0 = amount0 - protocolAmount0;
150 uint256 recipientAmount1 = amount1 - protocolAmount1;
151
152 _transferIfPositive(token0, protocolFeeRecipient, protocolAmount0);
153 _transferIfPositive(token1, protocolFeeRecipient, protocolAmount1);
154 _transferIfPositive(token0, recipient, recipientAmount0);
155 _transferIfPositive(token1, recipient, recipientAmount1);
156
157 emit FeesClaimed(
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:M/D:N/Y:N/R:N/S:U (5.0)

Recommendation

Pay both legs through a pull escrow, matching V2.

Remediation plan

PENDING

4.12 (HACK-12) CURVE AND ESCROW CREDIT FOT DELTAS; GRADUATION STILL REQUIRES EXACT DELIVERY

Medium (5.7)V2Fee-on-transfer / rebasing token incompatibilityPF-23PENDING
Description

Buy, escrow creditToken, and vault lock all credit the observed balance delta. Graduation funding does the opposite: _transferExact reverts unless the executor receives the full nominal amount. Hook _payOut does the same for ERC-20 quote into escrow. setPairTokenApproved checks code.length and decimals. It does not check fee-on-transfer or rebase. An approved quote asset that later takes a fee, or rebases down, can trade on the curve (delta accounting) and then fail the seed. forceSweptGraduation plus the 7-day owner rescue (HACK-02) is the documented backstop.

Holders can fill a curve in a token the factory cannot graduate. Funds sit in Swept until the owner rescues them. Native ETH launches are not in this class.

Code location

Listing 31: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1427-1436)

1427 * @dev Rejects non-exact ERC-20 transfers before a V4 position can be
1428 * minted with a smaller balance than its accounting expects.
1429*/
1430function _transferExact(address token, address recipient, uint256 amount) private {
1431 uint256 balanceBefore = IERC20(token).balanceOf(recipient);
1432 IERC20(token).safeTransfer(recipient, amount);
1433 uint256 balanceAfter = IERC20(token).balanceOf(recipient);
1434 uint256 received = balanceAfter > balanceBefore ? balanceAfter - balanceBefore : 0;
1435 if (received != amount) revert InexactTransfer(token, amount, received);
1436}

Listing 32: v2-src/v2/PonsV2BondingCurve.sol (Lines 646-657)

646function _receiveQuote(uint256 amount) private returns (uint256) {
647 if (isNativeQuote()) {
648 if (msg.value != amount) revert NativeValueMismatch(msg.value, amount);
649 return amount;
650 }
651
652 if (msg.value != 0) revert UnexpectedNativeValue();
653 IERC20 quote = IERC20(pairToken);
654 uint256 balanceBefore = quote.balanceOf(address(this));
655 quote.safeTransferFrom(msg.sender, address(this), amount);
656 return quote.balanceOf(address(this)) - balanceBefore;
657}

Listing 33: v2-src/v2/PonsV2FeeEscrow.sol (Lines 57-66)

57function creditToken(address recipient, address token, uint256 amount) external nonReentrant {
58 if (recipient == address(0) || token == address(0)) revert ZeroAddress();
59 if (amount == 0) return;
60 uint256 balanceBefore = IERC20(token).balanceOf(address(this));
61 IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
62 uint256 received = IERC20(token).balanceOf(address(this)) - balanceBefore;
63 if (received == 0) return;
64 _tokenBalances[recipient][token] += received;
65 emit CreditedToken(recipient, token, msg.sender, received);
66}
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:M/Y:N/R:N/S:U (5.7)

Recommendation

Reject FoT at approval time with a probe transfer, or make the seed path use the same delta accounting the curve already uses and mint whatever actually arrived.

Remediation plan

PENDING

4.13 (HACK-13) LIVE SNIPE WINDOW IS 3 SECONDS; 99% ONLY LASTS THE LAUNCH TIMESTAMP

Low (2.5)V2Config / decay mathPF-09PENDING
Description

Decay is startBps >> ((elapsed * 14) / window). Source defaults are 9900 bps and 15 seconds. Live storage is still 9900 but snipeTaxSeconds = 3. For window 3: elapsed 0 -> 9900, elapsed 1 -> 618, elapsed 2 -> 19, elapsed 3 -> 0. Same-block buys (timestamp == launchedAt) pay 99%. The next second is already ~6%. setSnipeTaxStartBps rejects any nonzero value <= 2000 or > 9900, so a mild 1-20% tax cannot be configured; it is 0 or at least 20.01%.

Docs that still describe a 5-second or 15-second 99% window are wrong for production. Cross-block snipers on a ~1s block time mostly miss the 99% band. The mechanism is a same-block penalty plus a short tail. Cannot tune a 10% tax without a new factory.

Code location

Listing 34: v2-src/v2/PonsV2BondingCurve.sol (Lines 315-323)

315function currentSnipeTaxBps(address recipient) public view returns (uint256) {
316 if (snipeTaxExempt[recipient]) return 0;
317 uint256 startBps = snipeTaxStartBps;
318 if (startBps == 0) return 0;
319 uint256 elapsed = block.timestamp - launchedAt;
320 uint256 window = snipeTaxSeconds;
321 if (elapsed >= window) return 0;
322 return startBps >> ((elapsed * 14) / window);
323}

Listing 35: v2-src/v2/PonsV2LaunchFactory.sol (Lines 564-582)

564function setSnipeTaxStartBps(uint256 bps) external onlyOwner {
565 if (bps != 0 && (bps <= MAX_TOTAL_TRADE_FEE_BPS || bps > MAX_SNIPE_TAX_START_BPS)) {
566 revert InvalidBasisPoints();
567 }
568 snipeTaxStartBps = bps;
569 emit SnipeTaxStartBpsUpdated(bps);
570}
571
572/**
573 * @notice Sets the decay window new launches snapshot at creation, in
574 * seconds. Capped at one minute so a misconfiguration cannot leave a
575 * launch effectively closed to the public for minutes; disabling the
576 * tax is done through `setSnipeTaxStartBps`, so a zero window is
577 * refused rather than overloaded to mean off.
578*/
579function setSnipeTaxSeconds(uint256 secondsWindow) external onlyOwner {
580 if (secondsWindow == 0 || secondsWindow > MAX_SNIPE_TAX_SECONDS) revert InvalidSnipeTaxWindow();
581 snipeTaxSeconds = secondsWindow;
582 emit SnipeTaxSecondsUpdated(secondsWindow);
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Publish the live 3-second window. If they want a longer 99% band, raise snipeTaxSeconds or change the shift schedule. Allow start bps anywhere in (0, 9900] if a milder tax is actually desired.

Remediation plan

PENDING

4.14 (HACK-14) SNIPE TAX IS CREDITED AS TRADE FEE

Low (2.5)V2Fee destinationPF-10PENDING
Description

snipeTax is computed on the quote input, then _accrueFees(fee + snipeTax, tax). It joins quoteFeeBalance and is split protocol / buyback / creator on sweep. SnipeTaxCharged is a separate event so indexers can see it, but the money is the ordinary fee path. At 99% in the launch second, almost all of a sniper's ETH is protocol+creator revenue. The buyer still nets at least ~1% of spend into the curve because of the maxSnipeTaxBps clamp (BASIS_POINTS - feeBps - creatorTaxBps - 100).

Anti-snipe doubles as a launch-second fee harvest. That may be intended. The tax is credited as a trade fee. It is not added to trackedQuote as extra virtual liquidity. Snipers who pay it are funding the same people the hook pays later.

Code location

Listing 36: v2-src/v2/PonsV2BondingCurve.sol (Lines 711-718)

711function _accrueFees(uint256 fee, uint256 tax) private {
712 quoteFeeBalance += fee;
713 creatorTaxBalance += tax;
714 if (buybackEnabled && fee != 0) {
715 uint256 creatorSlice = fee - (fee * protocolFeeShareBps) / BASIS_POINTS;
716 buybackQuoteBalance += (creatorSlice * buybackBurnBps) / BASIS_POINTS;
717 }
718}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:L/R:N/S:U (2.5)

Recommendation

If the product is a penalty, burn or keep the tax in trackedQuote as extra reserve. If the product is a fee, say so on the site instead of 'snipe protection'.

Remediation plan

PENDING

4.15 (HACK-15) CROSSING BUY CAN STARVE AUTO-GRADUATION OF GAS

Low (2.5)V2AvailabilityPF-11PENDING
Description

_tryAutoGraduate wraps factory.graduate(token) in try/catch and emits AutoGraduationFailed. The 63/64 rule means the crossing buyer chooses how much gas the inner call gets. A failed auto-grad leaves readyToGraduate() true and graduated false. sell() already refuses that state. factory.graduate is permissionless, so anyone can finish it. The comments describe this.

A launch can sit bought-out on the curve until a keeper calls graduate. Trading is halted on both sides until a keeper finishes graduate. Holders cannot exit through sell() in that state. Keepers need the event.

Code location

Listing 37: v2-src/v2/PonsV2BondingCurve.sol (Lines 685-703)

685 * @dev Attempts to graduate the instant a buy crosses the threshold, so
686 * the crossing trade itself triggers the migration atomically. Wrapped in
687 * try/catch: if graduation reverts for any reason (for example a pool the
688 * factory cannot yet seed), the underlying buy must still succeed, and
689 * graduation stays permissionlessly retryable via the factory.
690 *
691 * A failure is announced rather than swallowed silently. The crossing
692 * buyer sets their own gas limit and can starve this call under the 63/64
693 * rule, pushing graduation's cost onto whoever calls next, so the event is
694 * what lets a keeper notice a launch sitting ready but ungraduated.
695*/
696function _tryAutoGraduate() private {
697 if (readyToGraduate()) {
698 try IPonsV2LaunchFactoryGraduation(factory).graduate(token) {}
699 catch {
700 emit AutoGraduationFailed(token, gasleft());
701 }
702 }
703}

Listing 38: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1084-1094)

1084function graduate(address token) external nonReentrant {
1085 LaunchedToken storage launch = _launchedTokens[token];
1086 if (!launch.exists) revert TokenNotFound();
1087 if (launch.phase != GraduationPhase.NotGraduated) revert WrongGraduationPhase();
1088 PonsV2BondingCurve curve = PonsV2BondingCurve(launch.curve);
1089 if (!curve.readyToGraduate()) {
1090 revert PonsV2BondingCurve.NotReadyToGraduate();
1091 }
1092 _assertGraduationSeedable(token, launch, curve.realQuoteReserve(), curve.tokenReserve());
1093 _sweepCurve(token, launch, curve);
1094}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:L/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Require a minimum gas stipend for the inner call, or drop auto-grad and make the crossing buyer's tx include an explicit graduate with its own gas.

Remediation plan

PENDING

4.16 (HACK-16) RESCUEPOOLFEES SKIPS THE NATIVE QUOTE LEG

Low (2.5)V2Rescue coveragePF-12PENDING
Description

rescuePoolFees only _rescueCurrency on the quote token when quoteToken != address(0). Native-quote pools skip ETH pendingFees and only rescue memecoin buckets. The comment says ETH cannot fail exact delivery, so it has nothing to rescue. Memecoin fees on a native pool are still rescued. Curve-side rescueFees (factory.rescueCurveFees) does pay native quote directly.

If a native pool's ETH fees are ever stuck behind a different bug (escrow claim failing, recipient reverting), this hatch does not move them. Ordinary sweep still can, if the operator can call it. Narrow, and documented.

Code location

Listing 39: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 555-572)

555function rescuePoolFees(PoolId poolId)
556external
557onlyOwner
558nonReentrant
559returns (uint256 protocolAmount, uint256 creatorAmount)
560{
561 LaunchInfo memory info = launches[poolId];
562 if (!info.registered) revert UnknownPool();
563 address quoteToken = info.quoteToken;
564
565 if (quoteToken != address(0)) {
566 (protocolAmount, creatorAmount) = _rescueCurrency(poolId, info, quoteToken);
567 }
568 (uint256 memecoinProtocol, uint256 memecoinCreator) = _rescueCurrency(poolId, info, info.memecoin);
569 if (protocolAmount == 0 && creatorAmount == 0 && memecoinProtocol == 0 && memecoinCreator == 0) {
570 revert NothingToRescue();
571 }
572}

Listing 40: v2-src/v2/PonsV2BondingCurve.sol (Lines 850-871)

850function rescueFees() external onlyFactory returns (uint256 protocolAmount, uint256 creatorAmount) {
851 uint256 pending = quoteFeeBalance;
852 uint256 tax = creatorTaxBalance;
853 if (pending == 0 && tax == 0) revert ZeroAmount();
854
855 protocolAmount = (pending * protocolFeeShareBps) / BASIS_POINTS;
856 creatorAmount = pending - protocolAmount + tax;
857
858 quoteFeeBalance = 0;
859 // Symmetrical with the sweep. This pays the creator their whole
860 // bucket, earmark included, so leaving the earmark behind would let a
861 // settled claim survive into the next accrual and divert fees the
862 // creator has not earned yet into the vest.
863 buybackQuoteBalance = 0;
864 creatorTaxBalance = 0;
865 trackedQuote -= protocolAmount + creatorAmount;
866
867 if (protocolAmount != 0) _sendQuote(protocolFeeRecipient, protocolAmount);
868 if (creatorAmount != 0) _sendQuote(deployer, creatorAmount);
869
870 emit FeesRescued(protocolFeeRecipient, deployer, protocolAmount, creatorAmount);
871}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:L/Y:N/R:N/S:U (2.5)

Recommendation

Offer an explicit native rescue that pays protocolFeeRecipient / creator with a raw call, matching rescueCurveFees, if they ever need it.

Remediation plan

PENDING

4.17 (HACK-17) LAUNCHANDBUY LAUNCHED EVENT REPORTS THE OFFERED QUOTE AS SPENT

Low (2.5)V2AccountingPF-13PENDING
Description

A buy that exceeds sellableTokens is clamped and refunded. The router refunds the excess to the caller. The Launched event still logs quoteIn as quoteSpent. Indexers that treat that field as the curve fill will over-count on a fill-or-kill-the-curve buy.

Wrong off-chain accounting for the opening trade. On-chain balances are correct.

Code location

Listing 41: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 160-171)

160if (nativeQuote) {
161 tokensOut = PonsV2BondingCurve(payable(curve)).buy{value: quoteIn}(quoteIn, minTokensOut, recipient);
162} else {
163 IERC20(pairToken).forceApprove(curve, quoteIn);
164 tokensOut = PonsV2BondingCurve(payable(curve)).buy(quoteIn, minTokensOut, recipient);
165 // A clamped fill leaves the unused allowance standing.
166 IERC20(pairToken).forceApprove(curve, 0);
167}
168
169_refund(pairToken, nativeQuote, balanceBefore);
170
171emit Launched(token, curve, recipient, msg.sender, quoteIn, tokensOut);

Listing 42: v2-src/v2/PonsV2BondingCurve.sol (Lines 483-518)

483if (tokensOut > sellable) {
484 tokensOut = sellable;
485 // Price the clamped fill from the token side, then gross the
486 // result back up so the fee legs still come out of the input.
487 uint256 net = PonsV2BondingCurveMath.getAmountIn(sellable, quoteReserveBefore, tokenReserveBefore, 0);
488 spent = Math.min(
489 Math.mulDiv(net, BASIS_POINTS, BASIS_POINTS - feeBps - creatorTaxBps - snipeTaxBps, Math.Rounding.Ceil),
490 received
491 );
492 fee = (spent * feeBps) / BASIS_POINTS;
493 tax = (spent * creatorTaxBps) / BASIS_POINTS;
494 snipeTax = (spent * snipeTaxBps) / BASIS_POINTS;
495}
496
497// Price bound rather than quantity bound, so a partial fill honours
498// the caller's terms instead of failing them. Identical to
499// `tokensOut >= minTokensOut` whenever `spent == received`.
500if (spent * minTokensOut > received * tokensOut) revert SlippageExceeded(tokensOut, minTokensOut);
501
502// The snipe tax joins the base fee bucket, so it splits between
503// protocol, creator, and buyback under the launch's frozen policy
504// through the ordinary sweep path instead of needing accounting of
505// its own.
506_accrueFees(fee + snipeTax, tax);
507trackedQuote += spent;
508trackedTokens -= tokensOut;
509IERC20(token).safeTransfer(recipient, tokensOut);
510
511uint256 refund = received - spent;
512if (refund != 0) {
513 emit CurveBuyRefunded(msg.sender, refund);
514 _sendQuote(msg.sender, refund);
515}
516
517if (snipeTax != 0) emit SnipeTaxCharged(recipient, snipeTax);
518emit CurveBuy(msg.sender, recipient, spent, tokensOut, fee + snipeTax, tax);
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Log the curve's spent amount or the received refund in Launched. The offered quoteIn over-counts a clamped fill.

Remediation plan

PENDING

4.18 (HACK-18) FEE ESCROW WILL CREDIT ANY ERC-20 TO ANY RECIPIENT

Low (3.2)V2Grief / claim UXPF-14PENDING
Description

credit and creditToken are permissionless. Native credit only increases a balance by msg.value, so it cannot print ETH. creditToken credits the observed delta, so it cannot print a token the contract does not hold. A third party can still push a hostile token into a recipient's token ledger. The comments already warn that a full-balance claim could then revert on a token with a per-transfer cap, which is why claimToken has an amount argument. Native claim is CEI and nonReentrant; credit() itself is not.

Cannot steal someone else's ETH or real quote credits. Can clutter a recipient's token map and, for pathological tokens, make a careless full claim revert. Recipients who always claim a chosen amount are fine.

Code location

Listing 43: v2-src/v2/PonsV2FeeEscrow.sol (Lines 40-66)

40function credit(address recipient) external payable {
41 if (recipient == address(0)) revert ZeroAddress();
42 if (msg.value == 0) return;
43 _balances[recipient] += msg.value;
44 emit Credited(recipient, msg.sender, msg.value);
45}
46
47/**
48 * @notice Pulls `amount` of `token` from the caller and credits it to `recipient`.
49 * @dev Permissionless by design: the caller can only credit tokens they
50 * already hold and approve, so there is no privilege to gate. Credits
51 * the actual balance delta rather than the nominal `amount`, so a
52 * fee-on-transfer or deflationary pairToken can never make this
53 * contract record more credited liability than it actually holds,
54 * which would otherwise starve whichever recipient claims that token
55 * last.
56*/
57function creditToken(address recipient, address token, uint256 amount) external nonReentrant {
58 if (recipient == address(0) || token == address(0)) revert ZeroAddress();
59 if (amount == 0) return;
60 uint256 balanceBefore = IERC20(token).balanceOf(address(this));
61 IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
62 uint256 received = IERC20(token).balanceOf(address(this)) - balanceBefore;
63 if (received == 0) return;
64 _tokenBalances[recipient][token] += received;
65 emit CreditedToken(recipient, token, msg.sender, received);
66}

Listing 44: v2-src/v2/PonsV2FeeEscrow.sol (Lines 90-102)

90 * @notice Pays out `amount` of the caller's claimable balance of `token`.
91 * @dev A recipient's balance aggregates credits from every launch, curve,
92 * hook and buyback release, and `creditToken` is permissionless, so a
93 * third party can enlarge that figure at will. Against a token with a
94 * fixed maximum per transfer, a single full-balance claim would then
95 * revert and leave the recipient unable to draw any of it. Choosing the
96 * amount keeps the aggregate from being a single point of failure, and
97 * lets a recipient work around any per-transfer limit its quote asset
98 * imposes.
99*/
100function claimToken(address token, uint256 amount) external nonReentrant returns (uint256) {
101 return _claimToken(token, amount);
102}
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:L/D:N/Y:N/R:N/S:U (3.2)

Recommendation

Optional: only accept tokens the factory has approved as pair tokens. Not required for solvency.

Remediation plan

PENDING

4.19 (HACK-19) V1 LOCKER PROTOCOL SHARE IS PERCENT, OWNER-CAPPED AT 50%

Low (2.5)V1Fee policyPF-15PENDING
Description

tokenProtocolFeeShares is snapshotted from protocolFeeShare at lockPosition. Split is amount * share / 100. The share is a 0-100 percent. Constructor set 10. Owner may raise protocolFeeShare up to MAX_PROTOCOL_FEE_SHARE 50 for later locks. Already-locked tokens keep their snapshot. collectFees can be triggered by owner, deployer, fee redirect, or an owner-appointed feeCollector. The NFT cannot be withdrawn.

New V1 launches can be switched to a 50/50 protocol take without touching old ones. Collectors cannot reroute, only poke collect. Owner can change protocolFeeRecipient for all future collects of the protocol slice, including old tokens, because the recipient is global rather than snapshotted.

Code location

Listing 45: v1-src/PonsLaunchLocker.sol (Lines 69-76)

69constructor(address initialOwner, address initialProtocolFeeRecipient, uint256 initialProtocolFeeShare)
70Ownable(initialOwner)
71{
72 if (initialProtocolFeeRecipient == address(0)) revert ZeroAddress();
73 if (initialProtocolFeeShare > MAX_PROTOCOL_FEE_SHARE) revert InvalidProtocolFee();
74 protocolFeeRecipient = initialProtocolFeeRecipient;
75 protocolFeeShare = initialProtocolFeeShare;
76}

Listing 46: v1-src/PonsLaunchLocker.sol (Lines 186-190)

186function setProtocolFeeShare(uint256 share) external onlyOwner {
187 if (share > MAX_PROTOCOL_FEE_SHARE) revert InvalidProtocolFee();
188 protocolFeeShare = share;
189 emit ProtocolFeeUpdated(share);
190}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:L/R:N/S:U (2.5)

Recommendation

Snapshot protocolFeeRecipient per token like the share, or keep the 10% and drop the 50% ceiling if protocol never intends to raise it.

Remediation plan

PENDING

4.20 (HACK-20) OWNER SAFE STILL HOLDS THE LIVE OPERATIONAL KEYS

Low (3.2)V2+V1Trust surfacePF-16PENDING
Description

Live owner of V1 factory, V2 factory, and hook is 0x263ed295dAfaE1D9AAdd6E56c4B6F9F38EE019Dd. That address is a 171-byte proxy (Gnosis Safe pattern: masterCopy() check then delegatecall). The same address is protocolFeeRecipient. It can approve pair tokens, rotate launchForwarder (trusted to name originalDeployer for CREATE2), set snipe tax, set hook fees for future launches, setFeeSweepOperator, and rescue stranded LaunchAndBuy balances. Pair-token approval is the trust assumption under every ERC-20 quote path. A malicious forwarder could burn a creator's salt namespace by launching as them.

This is a centralized launchpad. The same Safe that takes launch fees can also retarget creator fees (HACK-01) and rescue swept reserves (HACK-02). That is the live trust model.

Code location

Listing 47: v2-src/v2/PonsV2LaunchFactory.sol (Lines 530-543)

530function setPairTokenApproved(address pairToken, bool approved) external onlyOwner {
531 if (pairToken == address(0)) revert PairTokenValidationFailed();
532 if (approved) {
533 if (pairToken.code.length == 0) revert PairTokenValidationFailed();
534
535 PairTokenEconomics memory economics = pairTokenEconomics[pairToken];
536 if (economics.phantomQuote == 0 || economics.graduationThreshold == 0) {
537 revert PairTokenEconomicsInvalid();
538 }
539 _requireDecimals(pairToken, economics.decimals, true);
540 }
541 approvedPairTokens[pairToken] = approved;
542 emit PairTokenApprovalUpdated(pairToken, approved);
543}

Listing 48: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 239-277)

239function setProtocolFeeShareBps(uint256 bps) external onlyOwner {
240 if (bps > MAX_PROTOCOL_FEE_SHARE_BPS) revert InvalidBps();
241 protocolFeeShareBps = bps;
242 emit ProtocolFeeShareUpdated(bps);
243}
244
245function setBuybackBurnBps(uint256 bps) external onlyOwner {
246 if (bps > BASIS_POINTS) revert InvalidBps();
247 buybackBurnBps = bps;
248 emit BuybackBurnBpsUpdated(bps);
249}
250
251function setHookFeeBps(uint256 bps) external onlyOwner {
252 if (bps > MAX_HOOK_FEE_BPS) revert InvalidBps();
253 hookFeeBps = bps;
254 emit HookFeeBpsUpdated(bps);
255}
256
257function setMaxInternalPriceImpactBps(uint256 bps) external onlyOwner {
258 if (bps == 0 || bps >= BASIS_POINTS) revert InvalidBps();
259 maxInternalPriceImpactBps = bps;
260 emit MaxInternalPriceImpactUpdated(bps);
261}
262
263function setProtocolFeeRecipient(address recipient) external onlyOwner {
264 if (recipient == address(0)) revert ZeroAddress();
265 protocolFeeRecipient = recipient;
266 emit ProtocolFeeRecipientUpdated(recipient);
267}
268
269/**
270 * @notice Sets the trusted operator that executes fee conversions with
271 * explicit minimum outputs, preventing arbitrary callers from triggering
272 * predictable swaps against a manipulated spot price.
273*/
274function setFeeSweepOperator(address operator) external onlyOwner {
275 if (operator == address(0)) revert ZeroAddress();
276 feeSweepOperator = operator;
277 emit FeeSweepOperatorUpdated(operator);

Listing 49: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 180-196)

180function rescue(address asset, address recipient) external onlyOwner {
181 if (recipient == address(0)) revert ZeroAddress();
182
183 uint256 amount;
184 if (asset == address(0)) {
185 amount = address(this).balance;
186 if (amount == 0) revert ZeroAmount();
187 (bool sent,) = payable(recipient).call{value: amount}("");
188 if (!sent) revert RefundFailed();
189 } else {
190 amount = IERC20(asset).balanceOf(address(this));
191 if (amount == 0) revert ZeroAmount();
192 IERC20(asset).safeTransfer(recipient, amount);
193 }
194
195 emit Rescued(asset, recipient, amount);
196}
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:L/D:N/Y:N/R:N/S:U (3.2)

Recommendation

Split fee recipient from owner. Make launchForwarder immutable once LaunchAndBuy is set. Timelock pair-token approvals.

Remediation plan

PENDING

4.21 (HACK-21) V2 FACTORY AND HOOK ACCEPT ETH WITH NO SWEEP OF UNACCOUNTED BALANCES

Low (2.5)V2Locked funds / unexpected etherPF-24PENDING
Description

Factory receive() is empty and payable. Graduation measures a balance delta, so a donation cannot inflate sweptQuote. Nothing ever spends address(this).balance minus the recorded swept amounts. rescueSweptGraduation sends launch.sweptQuote. Unaccounted address(this).balance stays on the factory. The hook also has a bare receive(). Executor dust sweep sends its whole token/ETH balance and can therefore mix leftover dust from a previous failed sweep into the next graduation's protocol payout, which the comments already describe.

ETH sent to the factory by mistake is stuck. Executor dust mixing can add leftover rounding from a previous failed sweep into the next protocol payout.

Code location

Listing 50: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1521-1525)

1521/**
1522 * @notice Accepts native ETH swept from a graduating curve and any
1523 * dust refunded by the PositionManager or pairToken router.
1524*/
1525receive() external payable {}

Listing 51: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1177-1179)

1177function _quoteBalance(address pairToken) private view returns (uint256) {
1178 return pairToken == address(0) ? address(this).balance : IERC20(pairToken).balanceOf(address(this));
1179}

Listing 52: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 883-887)

883 /**
884 * @notice Accepts native ETH pulled out of the pool manager via `take`.
885 */
886 receive() external payable {}
887}

Listing 53: v2-src/v2/PonsV2GraduationExecutor.sol (Lines 173-202)

173function _sweepResidualBalance(address launchToken, Currency currency, address recipient) private {
174 uint256 amount = currency.isAddressZero()
175 ? address(this).balance
176 : IERC20(Currency.unwrap(currency)).balanceOf(address(this));
177 if (amount == 0) return;
178
179 if (Currency.unwrap(currency) == launchToken) recipient = address(locker);
180
181 bool swept;
182 if (currency.isAddressZero()) {
183 (swept,) = payable(recipient).call{value: amount}("");
184 } else {
185 // A low-level call rather than try/catch around IERC20.transfer.
186 // `catch` covers a revert inside the callee, but not a failure to
187 // decode what it returned, and that decode happens in this frame
188 // and propagates. A token that transfers successfully while
189 // returning no data would therefore revert the whole graduation,
190 // which is precisely the token class the non-throwing design here
191 // exists to tolerate.
192 (bool ok, bytes memory ret) =
193 Currency.unwrap(currency).call(abi.encodeCall(IERC20.transfer, (recipient, amount)));
194 swept = ok && (ret.length == 0 || (ret.length == 32 && abi.decode(ret, (bool))));
195 }
196
197 if (swept) {
198 emit GraduationDustSwept(launchToken, Currency.unwrap(currency), amount);
199 } else {
200 emit GraduationDustRetained(launchToken, Currency.unwrap(currency), amount);
201 }
202}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:L/Y:N/R:N/S:U (2.5)

Recommendation

Add an owner sweep of unaccounted native/ERC-20, or drop receive() if it is only needed during graduate() (a payable graduate would also work).

Remediation plan

PENDING

4.22 (HACK-22) V1 FACTORY, V1 LOCKER, AND LAUNCHANDBUY CAN STILL RENOUNCE OWNERSHIP

Low (2.5)V1+V2Unsafe ownership transferPF-25PENDING
Description

V2 factory, hook, locker, and vault override renounceOwnership to revert. V1 factory, V1 locker, and LaunchAndBuy inherit OpenZeppelin Ownable2Step as-is, so owner can call renounceOwnership and land on address(0). Two-step transfer is still used for a handoff. After a V1 renounce, configs, whitelist, fee share, and fee collectors cannot change. LaunchAndBuy rescue of stranded quote also dies. OZ Ownable does not let a previous owner reclaim the role after a real renounce.

Accidental renounce on V1 freezes admin knobs. Already-launched tokens keep trading. LaunchAndBuy rescue is the one user-facing loss: leftover quote from a failed refund would be unrecoverable.

Code location

Listing 54: v1-src/PonsLaunchFactory.sol (Lines 25-31)

25 * positions, permanently locks the position NFT, and optionally executes an
26 * initial native-token buy in the same atomic transaction.
27*/
28contract PonsLaunchFactory is Ownable2Step, ReentrancyGuard, IPonsLaunchFactory {
29 using SafeERC20 for IERC20;
30
31 int24 private constant MIN_TICK = -887272;

Listing 55: v1-src/PonsLaunchLocker.sol (Lines 14-20)

14 * The contract intentionally exposes no position withdrawal or arbitrary-call
15 * function, so registered launch liquidity cannot be removed by an administrator.
16*/
17contract PonsLaunchLocker is Ownable2Step, ReentrancyGuard, IERC721ReceiverLike {
18 using SafeERC20 for IERC20;
19
20 uint256 public constant MAX_PROTOCOL_FEE_SHARE = 50;

Listing 56: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 46-52)

46 * the caller within the call and anything the curve hands back is returned to
47 * them before it returns.
48*/
49contract PonsV2LaunchAndBuy is Ownable2Step, ReentrancyGuard {
50 using SafeERC20 for IERC20;
51
52 error ZeroAddress();
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Override renounceOwnership to revert on those three, matching the V2 factory.

Remediation plan

PENDING

4.23 (HACK-23) EXPECTEDECONOMICS IS OPTIONAL; AN UNPINNED LAUNCH TAKES WHATEVER THE OWNER LAST SET

Low (3.2)V2Front-running / sandwichPF-26PENDING
Description

TokenParams.expectedEconomics equal to bytes32(0) skips the digest check. Owner can updateLaunchConfig or hook fee policy in the same block as a launch that did not pin. The creator then gets a different curveFeeBps, phantomQuote, or hookFeeBps than they quoted. LaunchAndBuy comments tell callers to pass previewLaunchEconomics. The factory does not require it. Only the owner can change those terms.

A hostile or fat-fingered owner can reprice unpinned launches. A UI that forgets the pin is the likely path. A random searcher cannot updateLaunchConfig.

Code location

Listing 57: v2-src/v2/PonsV2LaunchFactory.sol (Lines 143-146)

143// buying, not the phantom reserve and threshold alone, so the supply,
144// the trade fee or the pool's fee tier cannot move underneath a pin.
145bytes32 expectedEconomics;
146// CREATE2 salt for the launch's curve and token. The pair's addresses

Listing 58: v2-src/v2/PonsV2LaunchFactory.sol (Lines 788-793)

788// Every term below is owner-updatable, so a creator may pin the whole
789// set they were quoted rather than accept whatever is current when
790// their transaction lands.
791bytes32 economics = _economicsDigest(config, policy, phantomQuote, graduationThreshold);
792if (params.expectedEconomics != bytes32(0) && params.expectedEconomics != economics) {
793 revert LaunchEconomicsMismatch(params.expectedEconomics, economics);

Listing 59: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 88-95)

88 *
89 * @param params Launch parameters, forwarded to the factory untouched.
90 * Set `creatorFeeRecipient` to the wallet that should earn the launch's
91 * fees, and `expectedEconomics` to the value `previewLaunchEconomics`
92 * returned, which still pins the terms as it would on a direct launch.
93 * @param launchConfigId Factory launch config to launch against.
94 * @param pairToken Quote asset, or the zero address for a native launch.
95 * @param quoteIn Amount of the quote asset to spend on the opening buy. An
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:L/D:N/Y:N/R:N/S:U (3.2)

Recommendation

Require a non-zero expectedEconomics, or treat zero as a hash of the current digest inside launchToken rather than as a waiver.

Remediation plan

PENDING

4.24 (HACK-24) SNIPE-EXEMPTION WRITES ARE AN EXTERNAL CALL PER WALLET, UP TO 32

Low (2.5)V2External calls inside a loopPF-27PENDING
Description

_exemptFromSnipeTax loops PonsV2BondingCurve.exemptFromSnipeTax. Each iteration is an external call and an event. The list is capped at 32, so this is not block-gas DoS of an unbounded array. It is still 32 extra calls inside an already heavy launch tx, on top of CREATE2, initialize, fee payment, and LaunchAndBuy's buy.

Launch-and-buy with a full bundle can fail on gas where a 0-exemption launch would succeed.

Code location

Listing 60: v2-src/v2/PonsV2LaunchFactory.sol (Lines 746-751)

746function _exemptFromSnipeTax(address curve, address[] calldata snipeTaxExemptions) private {
747 if (snipeTaxExemptions.length > MAX_SNIPE_TAX_EXEMPTIONS) revert ExemptionListTooLong();
748 for (uint256 i = 0; i < snipeTaxExemptions.length; ++i) {
749 PonsV2BondingCurve(curve).exemptFromSnipeTax(snipeTaxExemptions[i]);
750 }
751}

Listing 61: v2-src/v2/PonsV2BondingCurve.sol (Lines 332-335)

332function exemptFromSnipeTax(address account) external onlyFactory {
333 snipeTaxExempt[account] = true;
334 emit SnipeTaxExempted(account);
335}

Listing 62: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 148-155)

148// The dev buy lands in the launch second, exactly when the snipe tax
149// peaks, so its recipient joins the exemption list whether or not
150// the caller declared them.
151address[] memory exemptions = new address[](snipeTaxExemptions.length + 1);
152for (uint256 i = 0; i < snipeTaxExemptions.length; ++i) {
153 exemptions[i] = snipeTaxExemptions[i];
154}
155exemptions[snipeTaxExemptions.length] = recipient;
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:L/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Batch exempts in one curve call that takes address[].

Remediation plan

PENDING

4.25 (HACK-25) SNIPE TAX, VEST, AND FEE-RECIPIENT TIMELOCK ALL KEY OFF BLOCK.TIMESTAMP

Low (2.5)V2Timestamp dependencePF-28PENDING
Description

currentSnipeTaxBps uses block.timestamp - launchedAt. Live snipeTaxSeconds is 3, so a 1 second timestamp move is the difference between 99% and ~6% (see HACK-13). Vest and the 3-day / 7-day owner delays also use timestamp, where a few seconds do not matter. Robinhood Chain is a sequencer environment; the 3-second band is the one that is actually sensitive.

A sequencer that holds timestamp equal to launchedAt can keep the 99% band across more than one block, or bump it and skip the tax. Ordinary timestamp drift of 1s on this chain is already enough to leave the 99% bucket.

Code location

Listing 63: v2-src/v2/PonsV2BondingCurve.sol (Lines 315-323)

315function currentSnipeTaxBps(address recipient) public view returns (uint256) {
316 if (snipeTaxExempt[recipient]) return 0;
317 uint256 startBps = snipeTaxStartBps;
318 if (startBps == 0) return 0;
319 uint256 elapsed = block.timestamp - launchedAt;
320 uint256 window = snipeTaxSeconds;
321 if (elapsed >= window) return 0;
322 return startBps >> ((elapsed * 14) / window);
323}

Listing 64: v2-src/v2/PonsV2LaunchFactory.sol (Lines 99-107)

99uint256 public constant CREATOR_FEE_RECIPIENT_TIMELOCK = 3 days;
100// How long a launch must sit in Swept before its reserves may be released
101// manually. Seeding is permissionless and retryable, so this window is
102// what separates a genuinely unseedable launch from one that merely hit a
103// transient failure, and it denies the owner a same-block escape hatch.
104uint256 public constant GRADUATION_RESCUE_DELAY = 7 days;
105// A matured override must execute during this window. Expiration prevents
106// an old, forgotten proposal from remaining executable indefinitely.
107uint256 public constant CREATOR_FEE_RECIPIENT_EXECUTION_WINDOW = 3 days;

Listing 65: v2-src/v2/PonsV2BuybackVault.sol (Lines 287-305)

287function _checkpoint(LaunchVest storage v, uint256 nowTs) private {
288 uint256 newlyVested = _previewNewlyVested(v, nowTs);
289 if (newlyVested != 0) {
290 v.unvestedAmount -= newlyVested;
291 v.vestedUnreleased += newlyVested;
292 }
293 v.lastUpdate = nowTs;
294}
295
296/**
297 * @dev Previews how much of the active schedule vested since lastUpdate.
298*/
299function _previewNewlyVested(LaunchVest storage v, uint256 nowTs) private view returns (uint256) {
300 if (v.unvestedAmount == 0 || nowTs <= v.lastUpdate) return 0;
301 if (nowTs >= v.vestingEnd) return v.unvestedAmount;
302
303 uint256 remainingDuration = v.vestingEnd - v.lastUpdate;
304 uint256 elapsed = nowTs - v.lastUpdate;
305 return (v.unvestedAmount * elapsed) / remainingDuration;
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Decay on block.number if the chain's block time is stable, or keep a longer window so a 1s timestamp bias cannot consume the whole delay.

Remediation plan

PENDING

4.26 (HACK-26) V1 REVERTS INVALIDLAUNCHCONFIGID FOR A BAD INITIALTICK

Low (2.5)V1Incorrect error messagePF-29PENDING
Description

_validateLaunchConfig reverts InvalidLaunchConfigId when initialTick is 0 or outside [MIN_TICK, MAX_TICK]. That error is also used for a real out-of-range config id. A bad tick is not an unknown id.

Operators chasing a failed addLaunchConfig will look at the wrong field.

Code location

Listing 66: v1-src/PonsLaunchFactory.sol (Lines 540-542)

540if (config.initialTick < MIN_TICK || config.initialTick > MAX_TICK || config.initialTick == 0) {
541 revert InvalidLaunchConfigId();
542}
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Revert a dedicated InvalidInitialTick (and check tickSpacing alignment while there, HACK-07).

Remediation plan

PENDING

4.27 (HACK-27) FEE ESCROW CREDIT() IS NOT NONREENTRANT

Low (2.5)V2Reentrancy / missing CEIPF-30PENDING
Description

claim() is nonReentrant and updates the ledger before the ETH call. credit() is payable, has no nonReentrant guard, and just adds msg.value to _balances[recipient]. During a claim's ETH send, the recipient can call credit{value: x}(anyone). That only adds newly supplied ETH. They cannot call claim() again (guard) or creditToken (same guard). No drain was found on the paths walked. The gap is that credit is a second entry point sitting next to a guarded withdraw.

No stolen balance on the paths walked. A later payable feature on this contract would inherit the hole.

Code location

Listing 67: v2-src/v2/PonsV2FeeEscrow.sol (Lines 107-118)

107function _claim(uint256 amount) private returns (uint256) {
108 if (amount == 0) revert NoBalance();
109 uint256 balance = _balances[msg.sender];
110 if (amount > balance) revert InsufficientBalance(amount, balance);
111
112 _balances[msg.sender] = balance - amount;
113 (bool sent,) = payable(msg.sender).call{value: amount}("");
114 if (!sent) revert TransferFailed();
115
116 emit Claimed(msg.sender, amount);
117 return amount;
118}

Listing 68: v2-src/v2/PonsV2FeeEscrow.sol (Lines 71-80)

71function claim() external nonReentrant returns (uint256 amount) {
72 amount = _claim(_balances[msg.sender]);
73}
74
75/**
76 * @notice Pays out `amount` of the caller's claimable native ETH balance.
77*/
78function claim(uint256 amount) external nonReentrant returns (uint256) {
79 return _claim(amount);
80}
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Put nonReentrant on credit() too, or make credit internal and only callable from the curve and hook.

Remediation plan

PENDING

4.28 (HACK-28) HOOK NATSPEC STILL SAYS BUYBACK-AND-BURN; EXECUTOR NATSPEC STILL MENTIONS A SWAP

Low (2.5)V2Documentation discrepancy / wrong commentPF-31PENDING
Description

PonsV2MemeHook's file comment describes 'the same protocol / creator / buyback-and-burn split'. The implementation locks into PonsV2BuybackVault for five years. PonsV2GraduationExecutor's file comment says it performs 'swapping swept ETH for a non-native pairToken, and minting'. mintFullRangePosition only mints; the factory already holds the pair token from the curve. Those comments describe an older stack.

The natspec names a burn and a graduation swap that the live bytecode does not implement. Readers of the comments get the wrong mental model.

Code location

Listing 69: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 31-38)

31 * Takes a fee cut on every swap via `afterSwap` (Flaunch-style Internal Swap
32 * Pool), and whenever that cut lands in the memecoin, converts it back to
33 * the pool's quote currency (ETH for the common native pairToken, or the
34 * launch's chosen ERC-20 pairToken otherwise) against the pool's own
35 * liquidity before it is ever distributed. The same protocol / creator /
36 * buyback-and-burn split that governs PonsV2BondingCurve's pre-graduation
37 * fee sweep lives here, read live by the curve through IPonsV2FeePolicy so
38 * both phases behave identically.

Listing 70: v2-src/v2/PonsV2GraduationExecutor.sol (Lines 19-28)

19 * @title PonsV2GraduationExecutor
20 * @notice Performs the two heaviest steps of pons v2 graduation on
21 * PonsV2LaunchFactory's behalf: swapping swept ETH for a non-native
22 * pairToken, and minting the full-range Uniswap V4 position. Split out into
23 * its own contract purely so PonsV2LaunchFactory's own bytecode stays under
24 * EIP-170's 24576-byte deployed-code limit: the swap-router branching,
25 * Permit2 approval dance, PositionManager action encoding, and post-mint
26 * dust sweep account for a large share of that size on their own. The
27 * factory transfers exactly the assets a mint needs here immediately before
28 * calling in, so this contract never holds a balance between transactions.
BVSS

AO:A/AC:L/AX:L/C:N/I:L/A:N/D:N/Y:N/R:N/S:U (2.5)

Recommendation

Rewrite both headers to match the live mint-and-vest path.

Remediation plan

PENDING

4.29 (HACK-29) GIT HEAD IS NOT THE PRODUCTION COMPILE

Informational (0.0)V2ProvenancePF-17PENDING
Description

Live V2 factory bytecode matches the Blockscout-verified tree from 2026-08-04 (solc 0.8.35, 200 runs, is_changed_bytecode false). That tree has CREATE2 on PonsV2LaunchDeployer, 99% decaying snipe tax on PonsV2BondingCurve, PonsV2FeeEscrow, and PonsV2LaunchAndBuy. Git commit 79e99ef does not compile: the factory talks to salt / exemptFromSnipeTax that the git curve and deployer do not implement. Git never contained a SHA that matches this live set. They deploy from a private tree and sync GitHub later, incompletely.

Reviewing GitHub as 'the code' will invent Criticals that are not on chain (missing snipe tax, missing CREATE2) and miss the live escrow / launch-and-buy surface. This workbook is the on-chain review. The previous git-HEAD workbook is retired.

Code location

github.com/ponsdotdev/ponsfamily n/a; also pons-live/REVIEW_COMMIT.txt

BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Tag the exact commit that built 0x7eD598... and keep curve, deployer, escrow, and LaunchAndBuy in lockstep. Treat Blockscout verified source as canonical until then.

Remediation plan

PENDING

4.30 (HACK-30) V1 FACTORY IS LIVE BUT PUBLIC LAUNCHES ARE OFF

Informational (0.0)V1ScopePF-18PENDING
Description

V1 factory 0xA5aAb3F0c6EeadF30Ef1D3Eb997108E976351feB is verified 2026-07-13, 604 lines, CREATE2, no vanity prefix search (that landed in git later and was never deployed). Live launchEnabled() is false. Whitelisted launchers can still deploy. Existing V1 tokens and the locker at 0x736D76699C26D0d966744cAe304C000d471f7F35 keep collecting. Official v2 docs still say v1 continues to operate.

The V1 factory is still live. New V1 tokens are gated by launchEnabled and the whitelist. Existing V1 tokens and the locker keep collecting. HACK-05, HACK-06, HACK-07, HACK-19 still apply to that inventory.

Code location

Listing 71: v1-src/PonsLaunchFactory.sol (Lines 305-317)

305function setLaunchEnabled(bool enabled) external onlyOwner {
306 launchEnabled = enabled;
307 emit LaunchEnabledUpdated(enabled);
308}
309
310/**
311 * @notice Grants or revokes permission to launch while the public gate is closed.
312*/
313function setWhitelistedLauncher(address launcher, bool enabled) external onlyOwner {
314 if (launcher == address(0)) revert ZeroAddress();
315 whitelistedLaunchers[launcher] = enabled;
316 emit WhitelistedLauncherUpdated(launcher, enabled);
317}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

If V1 is done, say so and disable the whitelist too. If not, keep reviewing it.

Remediation plan

PENDING

4.31 (HACK-31) TRACKED RESERVES, CREATE2 SALT, AND HOOK BEFOREINITIALIZE HOLD

Informational (0.0)V2Positive controlPF-19PENDING
Description

Tracked quote and tracked tokens ignore donations; graduation sends those tracked amounts. Live balances can be higher if someone donated. CREATE2 salt is keccak256(abi.encode(originalDeployer, salt)), so a random caller cannot squat another launcher's salt space; LaunchAndBuy passes msg.sender as originalDeployer. The V2 locker has no collect and no NFT withdraw; fees live on the hook. beforeInitialize requires the factory, so nobody else can make a pool with this hook. afterSwap is skipped when the hook itself is the swapper (v4 Hooks.afterSwap), so conversion/buyback swaps are not re-taxed. Ready-to-graduate sells are closed so a failed auto-grad cannot be used to restock the curve and cheapen the seed.

These are the parts that look like they were written after a previous incident.

Code location

Listing 72: v2-src/v2/PonsV2BondingCurve.sol (Lines 598-637)

598function graduate(address recipient) external onlyFactory returns (uint256 quoteOut, uint256 tokenOut) {
599 if (graduated) revert AlreadyGraduated();
600 if (recipient == address(0)) revert ZeroAddress();
601 if (!readyToGraduate()) revert NotReadyToGraduate();
602
603 // Halt trading before the sweep, not after. The sweep pays the escrow,
604 // and a quote asset with a transfer callback can re-enter buy() or
605 // sell() from inside that payment. This function is deliberately not
606 // nonReentrant so it stays callable from within buy()'s own guarded
607 // scope, so the flag is the only thing closing that window. Reentering
608 // while it was still false repopulated the fee buckets after they had
609 // been zeroed, leaving balances with no quote behind them once the
610 // reserve was handed over, and no way to ever sweep them.
611 //
612 // Safe to set here: readyToGraduate() is already evaluated above, and
613 // the private _sweepFees never reads the flag.
614 graduated = true;
615
616 // Graduation may be triggered by any caller or by the threshold-
617 // crossing buyer. Skip the buyback rather than execute a predictable
618 // market order without the sweep operator's minimum output.
619 _sweepFees(0, false);
620
621 // Hand over only the tracked trading reserves. Any quote asset or
622 // launch token force-sent to this curve is deliberately left stranded
623 // here rather than folded into the graduated pool's seed, so a
624 // donation cannot move the price the pool opens at.
625 quoteOut = trackedQuote;
626 trackedQuote = 0;
627 tokenOut = trackedTokens;
628 trackedTokens = 0;
629
630 if (quoteOut != 0) {
631 _sendQuote(recipient, quoteOut);
632 }
633 if (tokenOut != 0) {
634 IERC20(token).safeTransfer(recipient, tokenOut);
635 }
636
637 emit CurveCompleted(recipient, quoteOut, tokenOut);

Listing 73: v2-src/v2/PonsV2LaunchDeployer.sol (Lines 86-125)

86 * @dev Deployed with CREATE2 rather than CREATE so neither address depends
87 * on this deployer's nonce, and therefore on the order launches happen to
88 * land in. Under CREATE the Nth launch simply took the Nth address, so an
89 * address predicted before its launch confirmed committed to nothing and
90 * a different launch could arrive there instead. Under CREATE2 the address
91 * is a function of the salt and the creation code, and the creation code
92 * carries every constructor argument, so an address can only ever hold the
93 * exact launch it was computed from.
94 *
95 * Reverts through `Create2` with `FailedDeployment` when the pair already
96 * exists, which is the same creator reusing a salt on otherwise identical
97 * terms. Callers can test for it in advance with `predictLaunchAddresses`.
98*/
99function deployLaunch(LaunchDeployment calldata params)
100external
101onlyFactory
102returns (address token, address curve)
103{
104 _requireMetadataWithinLimits(params);
105
106 bytes32 salt = _launchSalt(params);
107 curve = Create2.deploy(0, salt, _curveCreationCode(params));
108 token = Create2.deploy(0, salt, _tokenCreationCode(params, curve));
109}
110
111/**
112 * @notice Returns the addresses `deployLaunch` would produce for `params`,
113 * without deploying anything.
114 *
115 * @dev Lets a caller confirm that a launch it has not seen confirmed yet
116 * will land where it expects, and lets the launch path be checked for a
117 * salt the creator has already used. The token is derived from the curve
118 * because the curve's address is one of the token's constructor
119 * arguments, so the pair has to be computed in deployment order.
120*/
121function predictLaunchAddresses(LaunchDeployment calldata params)
122external
123view
124returns (address token, address curve)
125{

Listing 74: v2-src/v2/PonsV2LaunchLocker.sol (Lines 96-103)

96function lockPosition(address token, uint256 tokenId) external onlyFactory {
97 if (_locked[token]) revert PositionAlreadyLocked();
98 if (IERC721(positionManager).ownerOf(tokenId) != address(this)) revert PositionNotHeld();
99
100 _locked[token] = true;
101 lockedPositions[token] = tokenId;
102 emit PositionLocked(token, tokenId);
103}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Keep them when the git tree is finally brought up to this compile.

Remediation plan

PENDING

4.32 (HACK-32) FLOATING PRAGMA, AND V1/V2 DO NOT SHARE A VERSION

Informational (0.0)V2+V1Floating pragmaPF-32PENDING
Description

Every live V2 file is `pragma solidity ^0.8.26`. V1 is `^0.8.30`. Live V2 bytecode was compiled with 0.8.35+commit.47b9dedd. The caret means a later 0.8.x rebuild would not be the audited compiler. This factory is already deployed. A later 0.8.x rebuild would use a different compiler than the verified bytecode.

Standard locked-pragma nit. Production V2 is pinned by the explorer compiler string until they deploy again.

Code location

Listing 75: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1-5)

1// SPDX-License-Identifier: MIT
2pragma solidity ^0.8.26;
3
4import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
5import {Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol";
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Pin `pragma solidity 0.8.35` on V2 and `0.8.30` on V1, matching the verified builds.

Remediation plan

PENDING

4.33 (HACK-33) GRADUATION AND FEES DEPEND ON UNISWAP V4 POOLMANAGER, POSITIONMANAGER, AND PERMIT2

Informational (0.0)V2Third-party dependency riskPF-33PENDING
Description

createGraduatedPool initializes the PoolManager, mints through PositionManager modifyLiquidities, and Permit2-approves the executor's balances. Those addresses are immutable constructor args. A bug or upgrade in that periphery (Permit2 is canonical 0x000000000022D473030F116dDEE9F6B43aC78BA3) becomes a Pons graduation bug. V1 has the same shape against Uniswap V3 NPM and the swap router in DexConfig.

Graduating into Uniswap V4 inherits PoolManager, PositionManager, and Permit2 liveness and upgrade surface. That is the cost of this graduation design.

Code location

Listing 76: v2-src/v2/PonsV2LaunchFactory.sol (Lines 1348-1387)

1348 address token,
1349 LaunchedToken storage launch,
1350 uint256 tokenAmount,
1351 uint256 pairTokenAmount
1352) private returns (uint256 positionId) {
1353 (Currency currency0, Currency currency1, bool memecoinIsCurrency0) = _sortCurrencies(token, launch.pairToken);
1354 PoolKey memory key = PoolKey({
1355 currency0: currency0,
1356 currency1: currency1,
1357 fee: launch.poolFee,
1358 tickSpacing: launch.tickSpacing,
1359 hooks: IHooks(address(memeHook))
1360 });
1361
1362 (uint256 amount0, uint256 amount1) =
1363 memecoinIsCurrency0 ? (tokenAmount, pairTokenAmount) : (pairTokenAmount, tokenAmount);
1364 if (amount0 > type(uint128).max || amount1 > type(uint128).max) revert GraduationSeedNotViable();
1365 uint160 sqrtPriceX96 = PonsV2GraduationMath.sqrtPriceX96FromAmounts(amount0, amount1);
1366 if (sqrtPriceX96 <= TickMath.MIN_SQRT_PRICE || sqrtPriceX96 >= TickMath.MAX_SQRT_PRICE) {
1367 revert SqrtPriceOutOfBounds();
1368 }
1369
1370 poolManager.initialize(key, sqrtPriceX96);
1371 FeePolicySnapshot memory policy = _launchFeePolicies[token];
1372 // Passing the curve's own creator recipient keeps this pool's vest in
1373 // the same vault epoch as any tranche the curve locked before
1374 // graduation. Later rotations still redirect the vest, through
1375 // _setCreatorFeeRecipient's call into the vault.
1376 memeHook.registerPool(
1377 key,
1378 token,
1379 launch.creatorFeeRecipient,
1380 PonsV2BondingCurve(launch.curve).buybackCreatorRecipient(),
1381 launch.creatorTaxBps,
1382 launch.buybackEnabled,
1383 policy
1384 );
1385
1386 (int24 tickLower, int24 tickUpper) = _fullRangeTicks(launch.tickSpacing);
1387 positionId = positionManager.nextTokenId();

Listing 77: v2-src/v2/PonsV2GraduationExecutor.sol (Lines 44-68)

44IPositionManager public immutable positionManager;
45IAllowanceTransfer public immutable permit2;
46PonsV2LaunchLocker public immutable locker;
47address public immutable factory;
48
49modifier onlyFactory() {
50 if (msg.sender != factory) revert NotFactory();
51 _;
52}
53
54constructor(
55 IPositionManager positionManager_,
56 IAllowanceTransfer permit2_,
57 PonsV2LaunchLocker locker_,
58 address factory_
59) {
60 if (address(positionManager_) == address(0) || address(permit2_) == address(0)) {
61 revert ZeroAddress();
62 }
63 if (address(locker_) == address(0) || factory_ == address(0)) revert ZeroAddress();
64 positionManager = positionManager_;
65 permit2 = permit2_;
66 locker = locker_;
67 factory = factory_;
68}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Keep pinning the exact periphery bytecode in contract-meta / docs, and treat a Permit2 incident as a Pons incident.

Remediation plan

PENDING

4.34 (HACK-34) V2 LAUNCHCONFIGADDED EMITS ONLY THE ID

Informational (0.0)V2Missing event emissionPF-34PENDING
Description

addLaunchConfig / updateLaunchConfig emit LaunchConfigAdded(id) / LaunchConfigUpdated(id) with no phantomQuote, fee, supply, or tickSpacing. V1 emits the full config. Off-chain indexers have to decode the calldata. Most other owner setters (fee, snipe, forwarder, whitelist) do emit the new value. Curve and hook state changes walked in this review also emit.

Indexer inconvenience. The config is still on-chain in _launchConfigs.

Code location

Listing 78: v2-src/v2/PonsV2LaunchFactory.sol (Lines 406-411)

406function addLaunchConfig(LaunchConfig calldata config) external onlyOwner returns (uint256 id) {
407 _validateLaunchConfig(config);
408 id = _launchConfigs.length;
409 _launchConfigs.push(config);
410 emit LaunchConfigAdded(id);
411}

Listing 79: v2-src/v2/PonsV2LaunchFactory.sol (Lines 417-422)

417function updateLaunchConfig(uint256 id, LaunchConfig calldata config) external onlyOwner {
418 if (id >= _launchConfigs.length) revert InvalidLaunchConfigId();
419 _validateLaunchConfig(config);
420 _launchConfigs[id] = config;
421 emit LaunchConfigUpdated(id);
422}

Listing 80: v1-src/PonsLaunchFactory.sol (Lines 553-567)

553function _emitLaunchConfigAdded(uint256 id, LaunchConfig calldata config) private {
554 emit LaunchConfigAdded(
555 id,
556 config.pairToken,
557 config.graduationThreshold,
558 config.initialTick,
559 config.supply,
560 config.maxWalletBps,
561 config.maxTxBps,
562 config.restrictionBlocks,
563 config.reservedFee,
564 config.enabled,
565 config.routerRequiresDeadline
566 );
567}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Mirror the V1 event fields.

Remediation plan

PENDING

4.35 (HACK-35) REALQUOTERESERVE IS PUBLIC BUT NEVER CALLED INTERNALLY

Informational (0.0)V2Function should be externalPF-35PENDING
Description

realQuoteReserve is public. The only in-repo caller is PonsV2LaunchFactory, a different contract, so that call is already an external CALL. The curve never uses realQuoteReserve internally (readyToGraduate goes through sellableTokens). The other public views (isNativeQuote, sellableTokens, currentSnipeTaxBps, getReserves, readyToGraduate, factory.canLaunch, V1 liquidityPool / maxWalletLimit / maxTxLimit, V1 locker getLaunchedToken) are used internally and should stay public. renounceOwnership and getHookPermissions are public because the parent is.

Tiny calldata gas on an already-deployed contract. No security change.

Code location

Listing 81: v2-src/v2/PonsV2BondingCurve.sol (Lines 384-386)

384function realQuoteReserve() public view returns (uint256) {
385 return trackedQuote - quoteFeeBalance - creatorTaxBalance;
386}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Mark realQuoteReserve external in the next compile.

Remediation plan

PENDING

4.36 (HACK-36) BONDING CURVE IMPORTS PONSV2LAUNCHERTOKEN AND NEVER USES IT

Informational (0.0)V2Dead / unused codePF-36PENDING
Description

import {PonsV2LauncherToken} from "./PonsV2LauncherToken.sol" is unused. The curve talks to the token as IERC20. IPonsV2SnipeTax, the vault, and the math library are used. The review did not find other unused first-party imports. Executor SafeERC20 is used for forceApprove. V1 PonsLiquidityMath is used in graduationStatus.

Bytecode and compile-time clutter. No runtime hole.

Code location

Listing 82: v2-src/v2/PonsV2BondingCurve.sol (Lines 7-13)

7import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
8import {PonsV2BondingCurveMath} from "./libraries/PonsV2BondingCurveMath.sol";
9import {PonsV2BuybackVault} from "./PonsV2BuybackVault.sol";
10import {PonsV2LauncherToken} from "./PonsV2LauncherToken.sol";
11import {FeePolicySnapshot, IPonsV2FeeEscrow, IPonsV2FeePolicy, IPonsV2SnipeTax} from "./interfaces/ILaunchpadV2.sol";
12import {IPonsV2LaunchFactoryGraduation} from "./interfaces/ILaunchpadV2Graduation.sol";
13
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Drop the import.

Remediation plan

PENDING

4.37 (HACK-37) EXEMPTION LOOPS READ ARRAY.LENGTH ON EVERY ITERATION

Informational (0.0)V2Gas optimizationPF-37PENDING
Description

Both exemption copy/write loops are `for (uint256 i = 0; i < snipeTaxExemptions.length; ++i)`. They already use prefix ++i, so the classic i++ nit does not apply. The length is still read from calldata each iteration. Cap is 32 (HACK-24), so this is extra calldata reads on launch. It does not burn a launcher's gas budget. uint comparisons already use == 0 / != 0 except one signed amount > 0 in the hook, which is a sign check.

Gas only, and only on launch. Already deployed.

Code location

Listing 83: v2-src/v2/PonsV2LaunchFactory.sol (Lines 745-751)

745*/
746function _exemptFromSnipeTax(address curve, address[] calldata snipeTaxExemptions) private {
747 if (snipeTaxExemptions.length > MAX_SNIPE_TAX_EXEMPTIONS) revert ExemptionListTooLong();
748 for (uint256 i = 0; i < snipeTaxExemptions.length; ++i) {
749 PonsV2BondingCurve(curve).exemptFromSnipeTax(snipeTaxExemptions[i]);
750 }
751}

Listing 84: v2-src/v2/PonsV2LaunchAndBuy.sol (Lines 149-155)

149// peaks, so its recipient joins the exemption list whether or not
150// the caller declared them.
151address[] memory exemptions = new address[](snipeTaxExemptions.length + 1);
152for (uint256 i = 0; i < snipeTaxExemptions.length; ++i) {
153 exemptions[i] = snipeTaxExemptions[i];
154}
155exemptions[snipeTaxExemptions.length] = recipient;
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Uint256 n = snipeTaxExemptions.length; for (uint256 i; i < n; ++i).

Remediation plan

PENDING

4.38 (HACK-38) BUYBACKBURNBPS NAMES A FIVE-YEAR VEST AS A BURN

Informational (0.0)V2Naming conventionPF-38PENDING
Description

The storage slot, setter, and FeePolicySnapshot field are buybackBurnBps. The money path is buybackVault.lock, a five-year vest. Same mismatch as the file-level buyback-and-burn comment (HACK-28), but this one is in the ABI. Off-chain callers and the economics digest hash this name.

Confuses reviewers and integrators. Renaming it now would change the ABI and the economics digest, so it is frozen for this factory.

Code location

Listing 85: v2-src/v2/hooks/PonsV2MemeHook.sol (Lines 245-249)

245function setBuybackBurnBps(uint256 bps) external onlyOwner {
246 if (bps > BASIS_POINTS) revert InvalidBps();
247 buybackBurnBps = bps;
248 emit BuybackBurnBpsUpdated(bps);
249}

Listing 86: v2-src/v2/PonsV2BondingCurve.sol (Lines 101-107)

101address public immutable protocolFeeRecipient;
102address public immutable buybackCreatorRecipient;
103uint16 public immutable protocolFeeShareBps;
104uint16 public immutable buybackBurnBps;
105uint16 public immutable maxInternalPriceImpactBps;
106// Virtual quote reserve seeded at deploy, denominated in the quote
107// asset's own decimals rather than always in wei.

Listing 87: v2-src/v2/interfaces/ILaunchpadV2.sol (Lines 36-42)

36struct FeePolicySnapshot {
37 address protocolFeeRecipient;
38 uint16 protocolFeeShareBps;
39 uint16 buybackBurnBps;
40 uint16 hookFeeBps;
41 uint16 maxInternalPriceImpactBps;
42}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

On a new factory, name it buybackBps or buybackLockBps.

Remediation plan

PENDING

4.39 (HACK-39) V1 TOKEN HAS REDUNDANT MAXWALLETAMOUNT / MAXTXAMOUNT WRAPPERS

Informational (0.0)V1Redundant codePF-39PENDING
Description

maxWalletAmount() and maxTxAmount() are external aliases that only return maxWalletLimit() and maxTxLimit(). The comments say compatibility. _update uses the Limit names. Two extra functions on every V1 token.

ABI noise. No behavior change.

Code location

Listing 88: v1-src/PonsLauncherToken.sol (Lines 136-158)

136function maxWalletLimit() public view returns (uint256) {
137 return (totalSupply() * maxWalletBps) / 10_000;
138}
139
140/**
141 * @notice Compatibility alias for maxWalletLimit.
142*/
143function maxWalletAmount() external view returns (uint256) {
144 return maxWalletLimit();
145}
146
147/**
148 * @notice Base cumulative pool-buy limit during the restricted window.
149*/
150function maxTxLimit() public view returns (uint256) {
151 return (totalSupply() * maxTxBps) / 10_000;
152}
153
154/**
155 * @notice Compatibility alias for maxTxLimit.
156*/
157function maxTxAmount() external view returns (uint256) {
158 return maxTxLimit();
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Keep them if a frontend already calls the Amount names; otherwise drop on a new token impl.

Remediation plan

PENDING

4.40 (HACK-40) LAUNCH DEPLOYER REVERTS NOTFACTORY WHEN THE FACTORY ADDRESS IS ZERO

Informational (0.0)V2Incorrect error messagePF-40PENDING
Description

constructor(address factory_) reverts NotFactory() if factory_ == address(0). That error is the onlyFactory modifier's error. A zero constructor arg is a zero address. NotFactory() is reused from the onlyFactory modifier for that case. Same class as V1 InvalidLaunchConfigId for a bad tick (HACK-26).

Deploy-time confusion only. The live deployer is already constructed.

Code location

Listing 89: v2-src/v2/PonsV2LaunchDeployer.sol (Lines 75-78)

75constructor(address factory_) {
76 if (factory_ == address(0)) revert NotFactory();
77 factory = factory_;
78}
BVSS

AO:A/AC:L/AX:L/C:N/I:N/A:N/D:N/Y:N/R:N/S:U (0.0)

Recommendation

Revert ZeroAddress, or add that error.

Remediation plan

PENDING

5   Recommendations

Same order as chapter 4, grouped by band. Each row is the change for that HACK id. Status is the remediation token from chapter 8.

High

IDRiskRecommendationStatus
HACK-01High (7.5)Gate the override on an explicit lost-key path (creator-signed request, or a pause that stops trading first). Make transferCreatorFeeRecipient cancel a pending proposal. Do not move vested-unreleased buyback tokens in the same call unless the creator asked.PENDING
HACK-02High (7.5)Rescue to a dedicated distributor, or back to a burn/refund contract with a published split. Drop the arbitrary recipient argument from that function. Consider a second timelock + guardian for the actual transfer.PENDING

Medium

IDRiskRecommendationStatus
HACK-03Medium (5.7)Apply the exemption list before _payLaunchFee, or pay the fee after LaunchAndBuy.buy returns (pull the fee from the router at the end). Or make the fee recipient a plain push that cannot callback (WETH-style).PENDING
HACK-04Medium (5.0)Require curveFeeBps == policy.hookFeeBps at launch, or snapshot the curve's feeBps into registerPool instead of the live hook policy's hookFeeBps.PENDING
HACK-05Medium (5.7)If V1 is still sold as having wallet caps, cap balanceOf(to) on every transfer in the window, including wallet-to-wallet transfers. Or drop the claim and document 'pool-buy throttle only'.PENDING
HACK-06Medium (5.0)Pass a caller-supplied minOut. Add receive() + an owner sweep, or reject msg.value above launchFee + documented buy size after quoting.PENDING
HACK-07Medium (5.0)Require initialTick % tickSpacing == 0. For isToken0, set tickLower = initialTick + tickSpacing so the position is strictly above spot and all token0.PENDING
HACK-08Medium (5.0)Key the tax on msg.sender, or on both sender and recipient. If the list is meant for LaunchAndBuy only, exempt inside that one buy (a one-shot flag) rather than permanently.PENDING
HACK-09Medium (5.7)Add a global or per-launch pause that buy/sell/afterSwap honour, with a timelock on unpause if they are worried about abuse of the pause itself.PENDING
HACK-10Medium (5.7)Credit the launch fee through PonsV2FeeEscrow instead of a raw call, or swallow a failed fee payment into a pending bucket the owner can claim.PENDING
HACK-11Medium (5.0)Pay both legs through a pull escrow, matching V2.PENDING
HACK-12Medium (5.7)Reject FoT at approval time with a probe transfer, or make the seed path use the same delta accounting the curve already uses and mint whatever actually arrived.PENDING

Low

IDRiskRecommendationStatus
HACK-13Low (2.5)Publish the live 3-second window. If they want a longer 99% band, raise snipeTaxSeconds or change the shift schedule. Allow start bps anywhere in (0, 9900] if a milder tax is actually desired.PENDING
HACK-14Low (2.5)If the product is a penalty, burn or keep the tax in trackedQuote as extra reserve. If the product is a fee, say so on the site instead of 'snipe protection'.PENDING
HACK-15Low (2.5)Require a minimum gas stipend for the inner call, or drop auto-grad and make the crossing buyer's tx include an explicit graduate with its own gas.PENDING
HACK-16Low (2.5)Offer an explicit native rescue that pays protocolFeeRecipient / creator with a raw call, matching rescueCurveFees, if they ever need it.PENDING
HACK-17Low (2.5)Log the curve's spent amount or the received refund in Launched. The offered quoteIn over-counts a clamped fill.PENDING
HACK-18Low (3.2)Optional: only accept tokens the factory has approved as pair tokens. Not required for solvency.PENDING
HACK-19Low (2.5)Snapshot protocolFeeRecipient per token like the share, or keep the 10% and drop the 50% ceiling if protocol never intends to raise it.PENDING
HACK-20Low (3.2)Split fee recipient from owner. Make launchForwarder immutable once LaunchAndBuy is set. Timelock pair-token approvals.PENDING
HACK-21Low (2.5)Add an owner sweep of unaccounted native/ERC-20, or drop receive() if it is only needed during graduate() (a payable graduate would also work).PENDING
HACK-22Low (2.5)Override renounceOwnership to revert on those three, matching the V2 factory.PENDING
HACK-23Low (3.2)Require a non-zero expectedEconomics, or treat zero as a hash of the current digest inside launchToken rather than as a waiver.PENDING
HACK-24Low (2.5)Batch exempts in one curve call that takes address[].PENDING
HACK-25Low (2.5)Decay on block.number if the chain's block time is stable, or keep a longer window so a 1s timestamp bias cannot consume the whole delay.PENDING
HACK-26Low (2.5)Revert a dedicated InvalidInitialTick (and check tickSpacing alignment while there, HACK-07).PENDING
HACK-27Low (2.5)Put nonReentrant on credit() too, or make credit internal and only callable from the curve and hook.PENDING
HACK-28Low (2.5)Rewrite both headers to match the live mint-and-vest path.PENDING

Informational

IDRiskRecommendationStatus
HACK-29Informational (0.0)Tag the exact commit that built 0x7eD598... and keep curve, deployer, escrow, and LaunchAndBuy in lockstep. Treat Blockscout verified source as canonical until then.PENDING
HACK-30Informational (0.0)If V1 is done, say so and disable the whitelist too. If not, keep reviewing it.PENDING
HACK-31Informational (0.0)Keep them when the git tree is finally brought up to this compile.PENDING
HACK-32Informational (0.0)Pin `pragma solidity 0.8.35` on V2 and `0.8.30` on V1, matching the verified builds.PENDING
HACK-33Informational (0.0)Keep pinning the exact periphery bytecode in contract-meta / docs, and treat a Permit2 incident as a Pons incident.PENDING
HACK-34Informational (0.0)Mirror the V1 event fields.PENDING
HACK-35Informational (0.0)Mark realQuoteReserve external in the next compile.PENDING
HACK-36Informational (0.0)Drop the import.PENDING
HACK-37Informational (0.0)Uint256 n = snipeTaxExemptions.length; for (uint256 i; i < n; ++i).PENDING
HACK-38Informational (0.0)On a new factory, name it buybackBps or buybackLockBps.PENDING
HACK-39Informational (0.0)Keep them if a frontend already calls the Amount names; otherwise drop on a new token impl.PENDING
HACK-40Informational (0.0)Revert ZeroAddress, or add that error.PENDING

6   Fuzz testing

Foundry fuzzing was not run. The review target is the Blockscout-verified live source. That tree differs from the git checkout at 79e99ef, and no in-scope Foundry harness was supplied for the verified V2 factory. Invariants that were checked by reading (tracked reserves ignore donations, CREATE2 salt namespacing, hook beforeInitialize restricted to the factory) are recorded as HACK-31.

7   Static analysis

No Slither run is attached to this review. The live V2 factory does not match git HEAD, so a scan of GitHub would mix detectors for code that is off-chain with gaps in the live set. Classes checked by hand (zero-address, reentrancy on escrow credit, unused imports, floating pragma) are filed as HACK ids.

What that pass caught is already in chapter 4: missing pause, owner fee routing, non-standard token paths, reused error strings.

8   Remediation record

Report date 13 September 2026. No patch commit was in the live verified tree.

DateIDsCommit / statementIndependent confirmMerge
09/13/2026 HACK-01 to HACK-40 PENDING. Live verified source unchanged relative to this report. No Open

Open items: all 40 findings. Highest priority: HACK-01 and HACK-02.

9   Exhibit B

This is the legend for this Assessment Report. Keep these words with every copy that is shared.

This report may not be transmitted, disclosed, referred to, or relied upon by any person for any purposes, nor may copies be delivered to any other person, without Hackerbane’s prior written consent in each instance, except for a cleared public copy that Hackerbane has allowed.

This report should not be read as an endorsement or a disapproval of any project or team. It is not an indication of the economics or value of any product or asset. It does not warrant that the technology reviewed is free of defects. It is not a statement about the proprietors, business, business model, or legal compliance of the named project or team.

This report should not be used to decide whether to invest or take part in any project. It is not investment advice. Recommendations in this report are informational. They are not instructions to deploy, and they do not oblige Hackerbane to supervise a fix. Do not rely on draft, verbal, or informal findings. Blockchain systems, cryptographic assets, models, and agents carry a high and continuing level of risk. Each reader is responsible for its own due diligence and for security after the verified snapshots named in this report. Hackerbane’s work is meant to reduce the attack surface that was in scope. It does not claim any guarantee of security or function.

The assessment may depend on third parties. Findings can include false positives, false negatives, and other incomplete results. Code, models, agents, and glue added after the verified snapshots were not reviewed. A retest covers only the fixes it names.

If a vulnerability was not reported, and that vulnerability later causes loss of funds or any other damage, Hackerbane and its people have no liability for that loss.

All services, the assessment report, work product, or other materials are provided “as is” and “as available” and with all faults and defects without warranty of any kind. To the maximum extent permitted under applicable law, Hackerbane disclaims all warranties, express, implied, or statutory, including merchantability, fitness for a particular purpose, title, and non-infringement. Hackerbane makes no warranty that the services or the report will meet any person’s requirements, achieve any intended result, be secure, accurate, complete, free of harmful code, or error-free, or that any error can or will be corrected.

No third party is a beneficiary of this report. This report is not financial, tax, legal, or regulatory advice.

Severity words used in the Report

CriticalFunds or safety, exploitable as scoped. An attacker with the access the threat model grants can take value or break a safety property now.
HighSerious, less immediate than critical. Exploitable with a precondition that is realistic but not free: a specific role, a market state, a second bug.
MediumBounded loss or a broken assumption that does not yet have an exploit path in scope. Fix before the next release.
LowDefense in depth. No direct loss path today; removes a step from a future one.
InformationalAn observation with no security impact as scoped. Hygiene, clarity, or a note for the next reviewer.

These contracts are Solidity. Solidity smart contract audit.

hackerbane.com hello@hackerbane.com HACK-AR-2026-PONS-FAMILY