Signed/unsigned arithmetic confusion
PancakeSwap'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 #
V3 uses int256/uint256 casting with standard Uniswap V3 SafeCast patterns. V2 is pure uint arithmetic. No signed/unsigned confusion finding across 6 audit firms. Standard Uniswap-derived math is well-audited for this class of issue.
Sources #
- URL
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 pancakeswap factor RD-F-018 score green collected_at 2026-04-28 19:10:57