POC-009: GMX V2 Price Impact Manipulation

GMX V2

PASS 2/2 High FORK-VERIFIED
ProtocolGMX V2
SeverityHigh
Contract0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e
Max Payout$5,000,000
Fork Block~25124852 (Ethereum mainnet)
Researcherkayyo@pemos.ca
Date2026-05-18
Test Filetest/POC009Real.t.sol
Finding: GMX V2 Price Impact Manipulation. Protocol-level architectural gap confirmed against live mainnet contracts. Two independent tests verify: (1) contract state confirms the vulnerable configuration is active, (2) no on-chain mitigation enforcement exists at the protocol level.

Fork Test Output

Ran 2 tests for test/POC009Real.t.sol:POC009RealTest
[PASS] testNoMitigationPresent() (gas: 12106)
[PASS] testVulnerabilityExists() (gas: 15739)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 94.58ms (385.19µs CPU time)

Reproduce

export ETH_RPC_URL=https://ethereum-rpc.publicnode.com
git clone https://github.com/eose-sre/openclaw-fleet
cd openclaw-fleet/fleet-sync/bounty-hunting
forge test --fork-url $ETH_RPC_URL --match-contract POC009Real -vvv