Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

fuellabs/fuels-rs
master @ d9a250a
4
Fixes
0
CVEs
CRITICAL
Peak severity
0.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
fuels-code-gen/src/program_bindings/abi_types.rs: most-fixed (1 issue). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Transactions were submitted without signing, allowing any actor to bypass authentication and submit arbitrary transactions. This is the highest-severity issue and directly undermines the integrity of the entire system.
Memory Corruption: Incorrect register usage (IS instead of PC) in the loader assembly caused code to be shifted and loaded incorrectly, leading to memory corruption. This can result in arbitrary code execution or crashes.
Authorization Bypass: Forwarded assets were allowed to non-payable methods, enabling unauthorized asset transfers. The fix enforces the #[payable] attribute check, but sibling paths (e.g., other code-gen paths or manual calls) may still miss this check.