Omitted positive-VPI refund liability from LP NAV lets ownership rotation steal later LP principal
The LP net asset value calculation for the perps pool leaves out a live position's still-refundable positive VPI charge, so the charge is booked as LP revenue without the matching liability. An attacker can hold LP shares when the charge is collected, redeem before a queued replacement LP activates, then close the position at an unchanged price to receive a rebate funded by the new owners' principal.
Originally disclosed on Immunefi
- Disclosed after under an hour
#97943 [SC-Critical] Omitted positive-VPI refund liability from LP NAV lets ownership rotation steal later LP principal
Submitted on Nov 4th 2026 at 02:07:06 UTC by @FestiveSRT for Audit Competition | Plether
- Report ID: #97943
- Report Type: Smart Contract
- Report severity: Critical
- Target: https://github.com/immunefi-team/audit-comp-plether/tree/a82d4fefb02768e5b3bddcc97dee371eee24fea8/packages/perps/src
- Impacts:
- Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield
Description
Brief/Intro
Plether recognizes a trader's positive VPI charge as LP revenue immediately, but TerminalNavBookV2 omits the same live position's still-refundable vpiAccrued from LP entry and exit NAV. An ordinary account can therefore own Junior LP shares when the charge is collected, redeem those shares, let already-queued replacement LP capital activate, and then close the position at the unchanged price to receive the matching rebate from the replacement owners' principal. The all-code-inline local-fork PoC matches all 30 v2.0.0 deployed runtimes and, over two cycles with fixed attacker capital, measures 44,605.818964 USDG of attacker profit and 51,950.053677 + 51,943.988760 USDG of principal loss to two distinct pre-queued LPs.
Vulnerability Details
Root cause
The individual accounting steps are internally consistent, but their composition does not conserve VPI across LP ownership epochs:
- On open,
CfdEngineSettlementSidecar.executeOpenapplies the positive trade cost, routes the non-protocol portion toHousePoolas claimantRevenuewithCashArrived, and writes the same signed VPI into the live position'svpiAccrued. HousePool.recordClaimantInflowincreasesaccountedAssets. When tranche principal already exists, the revenue is not quarantined as a separate liability. Reconciliation therefore credits the excess to claimant principal, primarily Junior principal after any Senior restoration.TerminalNavBookV2reads the Engine position tuple that containsvpiAccrued, but_curveInputFromEnginediscards that field. Its terminal LP delta prices marked price PnL only. The still-live positive-VPI refund liability is absent from both redemption and deposit NAV.- During an LP epoch,
HousePool.settleLpEpochfunds and burns matured redemption shares before it prices and activates matured deposits. The current LP can thus redeem the collected VPI revenue before a pre-queued replacement LP is activated at a NAV that omits the matching contingent refund. - On close,
CloseAccountingLibclamps only the same trader account's lifetime VPI to a nonnegative total. A negative fresh VPI that remains within that clamp is an action rebate.CfdEngineSettlementSidecar.executeClosepays the rebate from the then-current HousePool cash into the trader's clearinghouse.
The lifetime clamp prevents one trader account from receiving more VPI rebate than it paid. It does not preserve attribution when that trader also changes LP ownership between the charge and rebate. The attacker realizes the positive charge once through LP share value and later receives the permitted trader rebate, while a different LP population funds the second realization.
Permissionless attack sequence
The vulnerable V13 PoC uses five separately controlled ordinary actors and a keeper distinct from the attacker. It invokes no owner, admin, guardian, configuration, emergency, deployment, impersonation, balance-write, or storage-write path.
For each of two cycles:
- The incumbent and attacker hold active Junior liquidity. The attacker also funds an ordinary trader account.
- A distinct victim queues
90,072,000 USDGbefore the attacker has the corresponding position. The deposit remains in request escrow and does not contribute to open depth. - The attacker opens a
48,000,000 USDGLONG at the fixed$1.00mark. The open increases the pre-existing deployed LONG skew, so it charges positive VPI and recognizes the cash as LP revenue. - The attacker queues all Junior shares for redemption into the same epoch as the victim's pending deposit.
- Permissionless LP settlement first funds the attacker's redemption and then activates the already-queued victim. The attacker owns no LP shares after this handoff.
- The attacker closes the position at the identical
$1.00mark. Price PnL is exactly zero. Physical close depth is higher than open depth, and the close rebate is smaller than the opening VPI charge, so neither price movement nor reduced-depth rebate amplification explains the result. - The victim later redeems and realizes principal loss. The attacker recycles only existing proceeds into cycle two; token supply remains fixed.
Measured V13 results, in six-decimal USDG units:
| Measurement | Cycle 1 | Cycle 2 |
|---|---|---|
| Opening VPI charge | 131,584.788117 |
131,577.728293 |
| Closing VPI rebate | 131,488.333739 |
131,481.284493 |
| Open physical depth | 194,642,803.066866 |
194,653,246.657904 |
| Close physical depth | 194,785,485.101684 |
194,795,928.154422 |
| Attacker profit | 22,306.262639 |
22,299.556325 incremental |
| Distinct victim principal loss | 51,950.053677 |
51,943.988760 |
Aggregate attacker profit is 44,605.818964 USDG. The run closes with zero positions, orders, actor shares, pending escrows, pool excess, and trader claims; fixed token supply, the Clearinghouse custody ledger, and the signed whole-system attribution ledger reconcile exactly.
Causal control
V15 is included only as a diagnostic control, not as the exploit and not as a production-ready patch. It preserves the exact actors, capital, price, position, order, and two-cycle sequence, while a one-file local overlay makes terminal LP NAV retain the positive lifetime-VPI liability until the position closes. Under that control, the attacker loses 77,303.107112 USDG and the two victims gain 8,992.990343 and 8,992.469908 USDG. Reversing both sides at the omitted accounting edge isolates the cause.
Prior-art and incomplete-fix disclosure
Historical C-02 is the same broad net-VPI-profit family. Its fix added stateful vpiAccrued and the account-local lifetime floor, and its regressions compare one trader's clearinghouse balance. It does not include the trader's LP wealth, rotate the revenue-owning LP population, or measure a distinct later LP's principal. This report is therefore an incomplete-fix successor: the C-02 clamp works for one trader population but omits the cross-role/cross-owner population demonstrated here.
Bundled SCAN-31 is also material prior art, but its cause is different: it reduces Pool depth before close to amplify a negative VPI rebate. Here both closes occur at higher physical depth than their matching opens and both rebates are smaller than the opening charges. The surviving cause is revenue recognition before ownership rotation while the matching live refund is omitted from NAV.
At the retained public refresh cutoff (2026-11-03T22:45:46Z), the competition repository remained frozen at a82d4fefb02768e5b3bddcc97dee371eee24fea8, Plether core was at 6909f261c7983f7651536a55df1f5fd45b50face, there were no open Plether-core pull requests, and the sole open public issue concerned risk-configuration divergence rather than this ownership-transfer chain. No exact public disclosure of the complete root was found in the listed audits, bundled scan, public history, specifications, tests, or issue/PR surface at that cutoff. This is a time-bounded result, not a claim of universal novelty; the official head, issue, PR, and exact-root search must be refreshed immediately before filing.
Impact Details
This is direct theft of distinct users' LP principal, not unclaimed yield. Each victim commits before the attacker opens, owns the activated Junior shares during the rebate-funded loss, and later redeems fewer USDG than its 90,072,000 USDG principal. The attacker ends above fixed starting wealth and controls no victim address. Exact before/after balances, fixed supply, custody, and signed conservation are asserted by the runnable PoC.
The PoC rules out the ordinary alternative explanations:
- price is unchanged and price PnL is exactly zero;
- close depth is higher, not lower;
- each rebate is smaller than its opening charge;
- the victims are distinct and pre-queued, not donations or cooperative transfers;
- no liquidation occurs;
- normal fees and the keeper bounty remain enabled; and
- the attacker uses only ordinary public trader, vault, Router, and permissionless settlement paths.
The measured victim loss is larger than attacker profit because the exact ledger also allocates ordinary protocol/keeper revenue and value to the incumbent LP. The report does not equate those amounts; it claims the directly measured attacker profit and distinct principal losses.
The programme states that this frozen code is intended for Arbitrum One with USDG but is not yet deployed on mainnet. The PoC therefore proves the vulnerable frozen implementation and intended-deployment route on a local fork of the listed Sepolia v2.0.0 comparator; it does not claim current mainnet user funds. Feasibility is also separate from impact: the retained deployed-state route uses 99,500,000 USDG of fixed attacker capital and two 90,072,000 USDG victim deposits. It is permissionless and profitable, but those liquidity conditions are substantial and are not claimed to exist today.
Recommendation
Represent each live position's still-refundable positive vpiAccrued as a liability in terminal LP NAV until that liability is extinguished. Apply the same positive-liability treatment to both deposit and redemption pricing, authenticate the liability to the Engine position, and aggregate it correctly across position updates. Add regressions that rotate LP ownership between open and close, use a victim request that predates the position, preserve unchanged price and nondecreasing depth, recycle fixed capital over multiple cycles, and reconcile fixed supply/custody and the complete attribution ledger.
References
executeOpenrecords positive trade cost as claimant revenue and storesvpiAccruedrecordClaimantInflowrecognizes arrived claimant cash- Waterfall reconciliation credits claimant revenue
- The lifetime VPI floor is account-local
- Close rebates are paid from current Pool cash
- LP settlement funds redemptions before activating deposits
TerminalNavBookV2reads but omitsvpiAccrued- Terminal LP delta contains the price curve only
Link to Proof of Concept
https://gist.github.com/AFestive/59e8d64027ccbf98b3109fb87adad53b
Proof of Concept
Proof of Concept
Scope of this PoC
V13 is the sole exploit in this report. It is a non-unit local-fork PoC against the listed Arbitrum Sepolia v2.0.0 deployment comparator at block 325561334. It matches all 30 deployed runtimes and drives unchanged in-scope contracts through separately controlled ordinary actor contracts. It does not impersonate an account, write a balance or storage slot, modify an in-scope runtime, send a public transaction, or execute an exploit eth_call against the upstream node.
To isolate the in-scope accounting path, the local fork installs adapters only at the external Pyth address and ArbSys precompile using anvil_setCode, and advances local time with evm_setNextBlockTimestamp, evm_increaseTime, and evm_mine; no in-scope runtime is changed. The local Pyth adapter supplies the fixed prices used by the run, so unchanged price is controlled by construction.
The complete reviewed V13 source, safety scanner, and retained result are embedded below as a deterministic gzip/tar/base64 payload. The payload is part of this field and is sufficient without the supporting Gist. SHA-256 verification detects any copy error before execution. V15 in the secret Gist is optional causal-control support only; it is not the exploit and is not required here.
1. Restore every inline file
Requirements: GNU/Linux, base64, gzip, tar, sha256sum, git, Python 3, official Linux Foundry v1.5.1, and Solidity 0.8.35 (fa8ac9a32d301ad023a36ee5a29f8e291fe3200c60244e43c142539e82a617f4).
Run this block in a new directory:
base64 --decode > af007-v13-inline.tar.gz <<'AF007_V13_B64'
H4sIAAAAAAAC/+y9eX8buZUunL/5KSqcX8Zkm6RY3KmOktAy3a20LOlKspMex7emWIvEmIuGRdlW
HN3P/j7nAKgCaiEpyd2dvNNK2iSrgIOD7eDscMNms19fBR+nwae90Sv8cN7abef16OTo1fjishFd
u61u7zdP+mvir9fp8Cf+0p/tTjv+Lp7b7U6n/xur+Zuf4e82WrsrNP+b/51//nBitzzb9Xqdru0O
Oq12YLt2sxd0Bu6gFTS9Vr/bcgfhYOI1Q3fQC93msNVqD92gGw6Gzb5l+Usv2vsYLNa3q2BvvVzO
or2b28ls6jmrG88JPt/MltO1E3nuonFzV2r32qHbDSbtVthtojm3N5wEHc8bul23PQmafW/g9/1u
q+Whqd7A94ctu+MHnZ7bGrZb3aFl3cyC9XWwqgeLK/cqmKPheqvZ6tVtew+r2A8WXrDn8qr+aLf3
wuXtwl/dNdbL+azktsJOs2uH7XAStCZB0O91g7Dd74Tttj/pup1mv9PsuH272fa9ph2i066LMQk6
TdfvNu3OQxv3ln4gNtXLAMNwF/ivlqsPI2+9XDWi5azU706GXsvFMAOZSWvi9tqe1+2g726z5QaD
VnPS6ngt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D4wFmfVlOwL+7iLr54OgEvnXTjG5q1Cyyz+/Pnuo36N7/+/W+h
/+QWXUj9t9F/u93u2mn63252fqX///r0fzq/WeLGsS9HtAKQEQv/XvB9uNG9uBa+/Ce5pvZYCvL3
mBODeBxEe1yJ1ks5dZK8DIRdj7IgePI8wZnxIT5AppnDAE0kdIszfsfprRfyst/kLLlE4Wj6mUMF
rKkPeY1E0ohYSRkoYIUz94oC/UGMhf8xiXDUyHQ+v11T6HKSaFtR34+tBrQAMk6hkVBnai6crhDN
KLz2iV5OyJXZnUyhY6BtBG1RBD7U1yI3qnw7sXByqLOvvojm5xttKEKRLriOKT6DWyRtBjKki9wM
phHbZXx5lvHozOkIo94tKERKnTNRfNAQtPig2Xq+aPufEOGJlcdEonHhdIDJ/aUvRhc/jC+di8PR
sXHjKUdFZIuPXo7OLuFEhnsxT1G8brfSl22qgMk3i8gNg4oMAMX8Fp5o2nJtiBCQOEccR8lomm0p
KPxAPhPIfD/1s6lKMtAqX25EAKfdbCb3qKFHIcWs0RQt960
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the terminal LP NAV prices only marked price PnL and discards the position's positive `vpiAccrued`, so revenue is recognised before LP ownership rotates while the matching contingent refund liability is omitted.
Impact
An attacker could steal distinct users' LP principal, with the PoC measuring about 44,605 USDG of profit and roughly 51,950 and 51,944 USDG of loss to two victims, though the text notes the code is not yet deployed on mainnet and the required liquidity conditions are substantial.
What the attacker needed
Attacker holds Junior LP shares; victim deposit queued before the position; large fixed attacker capital; permissionless settlement callable
The fix
The still-refundable positive `vpiAccrued` should be represented as a liability in terminal LP NAV for both deposit and redemption pricing until it is extinguished.
How it was found
- A victim queues a large Junior LP deposit that stays in request escrow.
- The attacker opens a large LONG at the fixed mark, charging positive VPI that is booked as LP revenue.
- The attacker queues all Junior shares for redemption into the same epoch as the victim's deposit.
- Permissionless settlement funds the attacker's redemption first, then activates the queued victim.
- The attacker closes at the identical mark, receiving a rebate funded by the new LP principal.
- The victim later redeems and realises a principal loss.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A trader pays a variable fee (VPI) when opening a position, and part of it can be refunded when the position closes. The pool's share price counted the fee as profit but ignored the possible refund, so someone could buy pool shares, collect the fee, sell the shares, and later claim the refund from money that new share buyers had just put in.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.