delegatecall with user-controlled target
Sushi (SushiSwap) — v2 + v3 + Trident + BentoBox/Kashi + SushiXSwap's assessment for RD-F-012 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
No user-controlled delegatecall found in v2-core or v3-core reviewed source. SushiXSwap v2 uses an `onlyApprovedAdapters` modifier to gate adapter calls, preventing user-controlled delegatecall. RouteProcessor2 exploit used arbitrary `.call`, not `delegatecall`. No delegatecall vulnerability found in reviewed contracts.
Sources #
- GitHubSushiXSwapV2.sol raw sourceSushiXSwapV2.sol — onlyApprovedAdapters modifier gates adapter calls; no user-controlled delegatecallretrieved 2026-05-17
- SushiV2Factory Etherscan sourceUniswapV2Factory source — no delegatecall usage foundretrieved 2026-05-17
Methodology #
Determine whether any contract uses `delegatecall` where the target address is or can be user-supplied without an on-chain allowlist.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol sushi factor RD-F-012 score green collected_at 2026-05-16 19:50:37