Problem
An attacker can distort shallow pools during simulation or just before execution, causing unsafe routes despite nominal slippage limits.
Required work
Add liquidity-depth, historical deviation, multi-source, and pre-settlement checks with configurable circuit breakers.
Acceptance criteria
- Manipulation signals are recorded with the quote.
- High-risk routes require stricter policy or rejection.
- Checks cannot be bypassed by splitting a route.
- Adversarial tests model flash liquidity and reserve spoofing.
Problem
An attacker can distort shallow pools during simulation or just before execution, causing unsafe routes despite nominal slippage limits.
Required work
Add liquidity-depth, historical deviation, multi-source, and pre-settlement checks with configurable circuit breakers.
Acceptance criteria