VERDICT —UNRATED
Verdict pending. Auto-ingested incidents are reviewed before a public verdict is rendered.
Root cause
Root-cause analysis not yet published. The incident description below contains all currently available signal — review the attack transaction directly for definitive forensics.
▰ PROOF OF CONCEPT
DEFIHACKLABS
src/test/2022-11/Polynomial_exp.sol
view forked test on github ↗Reproducible Foundry test fork from SunWeb3Sec/DeFiHackLabs. Clone the repo, run forge test against the file path above, and replay the exploit against a mainnet fork at the historical block. Use for reproduction only — not for live targets.
Forensic narrative
Polynomial Protocol has a loophole in optimism's deposit contract. The problem stems from the swapAndDeposit() function, which has no restrictions on its input. Anyone can pass in an address and maliciously construct swapData to steal contract-approved tokens. Attack method (per SlowMist): Contract Vulnerability. Reported loss: -.
Sourced from
slowmist
Technical record
- chain
- optimism
- protocol
- Polynomial Protocol
- bug_class
- logic
- date_occurred
- 2022-12-12
- loss_usd
- —
- source_id
- sm:polynomial-protocol::2022-12-12
Related — same bug class· logic