Security context

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

jito-foundation/stake-deposit-interceptor
master @ dbd8ce4
5
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
program/src/processor.rs: most-fixed (3 issues). Treat as high-risk during review.
5 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: Deposit flow lacked validation that the stake-pool program and pool match the authority's stored values, and did not require the base signer, allowing unauthorized deposits.
Auth Bypass: Token program ID was not validated against the legitimate SPL token program, permitting use of arbitrary programs to spoof token operations.
Auth Bypass: Claim flow did not validate that the pool mint matches the authority's stored value, enabling claims against a different pool.