Signed/unsigned arithmetic confusion
Marinade Finance's assessment for RD-F-018 — scored gray on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
Rust 2021 edition enforces signed/unsigned type distinction at compile time — implicit sign-confusion casts that are common in Solidity are compile-time errors in Rust. This provides structural mitigation. EVM symbolic execution tools (Manticore) cannot be applied to Solana BPF. Gray on tool requirement; structural mitigation from Rust type system noted.
Sources #
- GitHub
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 marinade factor RD-F-018 score gray collected_at 2026-05-16 08:48:35