Security context

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

FuelLabs/fuel-bridge
main @ d0e0412
9
Fixes
0
CVEs
HIGH
Peak severity
83.3%
Coverage
Highlights
Integer Overflow: 2 prior fixes. Scrutinize any change in this area.
bridge-fungible-token/src/utils.sw: most-fixed (2 issues). Treat as high-risk during review.
7 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.

Reentrancy: Storage-based guard was replaced with transient storage to close a cross-call reentrancy hole; any external call in message processing is a risk.
Rate Limit Bypass: Withdrawn amount could be reset before the rate-limit duration, letting attackers exceed limits; state updates must be gated by time checks.
Replay Attack: Block commitments could be replayed; recommit protection is essential to prevent state manipulation.