Security context

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

stargate-protocol/stargate-v2
main @ 938c95d
1
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Integer Overflow/Underflow: 1 prior fix. Scrutinize any change in this area.
packages/stg-evm-v2/src/messaging/TokenMessaging.sol: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

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

Integer Overflow/Underflow: An incorrect exponent notation (using scientific notation 2e16 instead of the binary exponent 2**16) in constructor validation checks can cause incorrect capacity divisor constraints, leading to improper queue limits or unexpected deployment-time mathematical validation bypasses.