# Unchecked integer arithmetic in Rust — Agent PR X-Ray

> Canonical page: https://codevetter.com/xray/rust-integer-overflow

This is an adjudicated synthetic benchmark example, not a claim about an uploaded repository.

## Source

- Corpus: codevetter-public-benchmark/rust-integer-overflow
- Language: rust
- Category: bug
- Evidence state: benchmark_ground_truth

## Finding

- Severity: high
- Title: integer overflow
- Summary: credit uses += on u64 without checked/saturating arithmetic; in release builds an overflowing credit wraps the balance silently, enabling balance manipulation.
- Source anchor: `source.rs:11`

## Verification boundary

The static finding is qualified against benchmark ground truth. No exact-current executable test or audience validation is included in this example, so those stages remain unverified.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
