Security context

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

starknet-io/starkgate-contracts
SN-v0.14.2 @ 07e11c3
1
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
packages/bridge/src/token_bridge.cairo: 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.

Auth Bypass: Unauthorized modifications to tracking states can allow attackers to bypass bridge limits and withdraw tokens exceeding the actual locked amounts on L1. Protecting the state synchronization logic is paramount to preventing total pool depletion.