Security context

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

starkware-libs/starknet-staking
main @ 7a7add2
1
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
workspace/apps/staking/contracts/src/staking/staking.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: The staking contract accidentally exposed external administrative capabilities (AccessControlImpl and SRC5Impl) through the public contract ABI via direct embedding, allowing unauthorized actors to potentially manipulate access controls. Developers must avoid embedding administrative implementations directly into external-facing contract ABIs without explicit access wrappers.