Security context

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

uniswap/interface
main @ 902bc5d
12
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Denial of Service: 5 prior fixes. Scrutinize any change in this area.
src/hooks/Tokens.ts: most-fixed (4 issues). Treat as high-risk during review.
0 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.

Denial of Service: The application is prone to client-side crashes when encountering unhandled data exceptions during token discovery, parsing, and address processing (e.g., malformed bytes32 strings, invalid token addresses, or incorrect WETH map lookups).
Auth Bypass: Attackers or users can bypass token safety policies and manual import bans if blocklist checks are bypassed via route parameters, L2 bridging metadata, or inconsistent UI gating rules.
Auth Bypass: Transactions can be routed to incorrect chains if the active signer network does not match the target execution environment, resulting in unauthorized cross-chain operations.