Security context

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

gmx-io/gmx-contracts
master @ fe55c4b
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Access Control: 1 prior fix. Scrutinize any change in this area.
contracts/peripherals/Timelock.sol: most-fixed (1 issue). Treat as high-risk during review.
2 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: The multicall() function previously allowed reentrant calls via makeExternalCalls(), enabling an attacker to manipulate state during external calls.
Access Control: updateUsdgSupply() lacked a check to ensure the caller-provided glpManager was a valid address, allowing unauthorized minting/burning of USDG.