Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

uniswap/universal-router
main @ fb25ff0
7
Fixes
0
CVEs
HIGH
Peak severity
80.0%
Coverage
Highlights
Authorization Bypass: 2 prior fixes. Scrutinize any change in this area.
contracts/base/Dispatcher.sol: most-fixed (4 issues). Treat as high-risk during review.
6 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Authorization Bypass: Allowing V4_SWAP within an existing PoolManager unlock without a proper gate could let an attacker execute privileged actions under an assumed unlock context.
Authorization Bypass: Permissioned pools lacked an adapter, so swaps could bypass pool-level authorization. The fix introduced a permissions adapter factory to close the gap.
Access Control: Missing check on V4 position manager calls allowed unauthorized decrease/burn/transfer of user positions. Fixed by restricting to direct calls and adding _checkV4PositionManagerCall.