Security context

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

marinade-finance/liquid-staking-program
main @ b8fe3f8
6
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
programs/marinade-finance/src/lib.rs: most-fixed (3 issues). Treat as high-risk during review.
6 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.

Auth Bypass: Multiple instructions (ChangeAuthority, ConfigLp, ConfigMarinade) lacked admin_authority checks, allowing non-admins to modify protocol settings.
Auth Bypass: RemoveValidator and MergeStakes instructions lacked ownership check on operational_sol_account, allowing unauthorized account manipulation.
Auth Bypass: Initialize instruction lacked program-owner checks on stake_list, validator_list, and operational_sol_account, allowing unauthorized account initialization.