ecrecover zero-address return unchecked
Stargate Finance'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 #
Source inspection of TokenMessaging.sol, StargatePool.sol, StargateBase.sol, and StargateOFT.sol shows no `ecrecover` calls. Stargate v2 does not use `ecrecover` in its cross-chain message verification — it delegates signature verification to LayerZero's DVN infrastructure (off-chain).
Sources #
- Curator noteExtracted from 01-code-security.md — RD-F-019 finding; no URL cited in originalretrieved 2026-04-28
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 stargate factor RD-F-019 score green collected_at 2026-04-28 01:38:41