Security context

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

lidofinance/lido-l2-with-steth
main @ 4fec842
9
Fixes
0
CVEs
CRITICAL
Peak severity
75.0%
Coverage
Highlights
Access Control: 5 prior fixes. Scrutinize any change in this area.
contracts/optimism/L2ERC20ExtendedTokensBridge.sol: most-fixed (3 issues). Treat as high-risk during review.
8 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.

Access Control: burn used msg.sender instead of _from, allowing unauthorized burning of arbitrary users' tokens.
Access Control: Public initialize functions allowed anyone to take over bridge admin roles.
Access Control: Public initialize functions allowed anyone to modify token metadata.