CodeVetter
← All X-Rays
CodeVetter · local evidence export

Unchecked integer arithmetic in Rust

codevetter-public-benchmark/rust-integer-overflow

detected · high confidence

Verification

Code reviewcompleted

Qualified static finding recorded.

Executable testnot verified

No exact-current runtime evidence is included.

Audiencenot run

No audience validation occurred.

Finding

highbenchmark ground truth

integer overflow

credit uses += on u64 without checked/saturating arithmetic; in release builds an overflowing credit wraps the balance silently, enabling balance manipulation.

source.rs:11