defirisk.co
rubric v1.7.0

ecrecover zero-address return unchecked

Compound V3 (Comet)'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 #

CometExt.sol function allowBySig uses ecrecover and immediately checks: if (signatory == address(0)) revert BadSignatory() — zero-address guard properly implemented.

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 compound-v3 factor RD-F-019 score green collected_at 2026-04-28 00:20:50