ecrecover zero-address return unchecked
SUNSwap (sun.io)'s assessment for RD-F-019 — scored not_applicable on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
V2/V3/V4 AMM core contracts (Factory, Pair, Router, Pool) are not signature-verification contracts and do not use ecrecover. Pure AMM swap/liquidity-provision logic has no ecrecover call paths.
Sources #
- GitHub
Methodology #
Determine whether any `ecrecover` call result is used without a `!= address(0)` guard.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol sunswap factor RD-F-019 score not_applicable collected_at 2026-05-17 14:37:31