Security context

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

uniswap/protocol-fees
main @ 0c071d1
4
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Access Control: 1 prior fix. Scrutinize any change in this area.
.github/workflows/claude-code-review.yml: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Command Injection: Reusable workflows are invoked with untrusted PR content, enabling prompt-injection and command injection leading to RCE in CI.
Incorrect Minting: Using MAX_SHARES instead of totalShares for proportional distribution can misallocate tokens, causing direct financial loss.
Reentrancy/Cross-chain Replay: External calls without gas limits and return-data handling can be reentered or replayed across chains, draining funds.