Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
programs/onreapp/src/instructions: most-fixed (3 issues). Treat as high-risk during review.
19 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 entry points (redemption, buffer, market stats, close_state, initialize, mint authority, buy offer) lacked canonical account validation (PDA seeds, owner, upgrade authority, main_offer), allowing forged accounts to bypass authorization.
Access Control: Missing role (worker) and per-offer enable checks allowed unauthorized settlement, redemption, and trading on disabled offers.
Missing Authorization / Unauthorized Token Movement: Value-moving paths (vault deposits/withdrawals, reserve vault, buffer config, minting) lacked kill-switch enforcement, enabling unauthorized token movement during emergency pause.