defirisk.co
rubric v1.7.0

ecrecover zero-address return unchecked

PancakeSwap's assessment for RD-F-019 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

PancakeSwap V2/V3 AMM core contracts do not use ecrecover in core swap/liquidity paths. CAKE token uses ERC-20 Permit (EIP-2612). No auditor-reported ecrecover zero-address issue for core contracts across 6 firms. Deployed since 2020 with no reported ecrecover exploit.

Sources #

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 pancakeswap factor RD-F-019 score green collected_at 2026-04-28 19:10:57