Signed/unsigned arithmetic confusion
Stargate Finance's assessment for RD-F-018 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
SafeCast (OZ) is imported in StargateBase.sol specifically to handle safe integer conversions. No evidence of signed/unsigned confusion patterns from source inspection of core contracts. However, without a full symbolic execution tool run, confidence is medium.
Sources #
- Curator noteExtracted from 01-code-security.md — RD-F-018 finding; no URL cited in originalretrieved 2026-04-28
Methodology #
Determine whether signed-integer conversions or comparisons where unsigned was intended exist in the deployed bytecode/source.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol stargate factor RD-F-018 score green collected_at 2026-04-28 01:38:41