Security context

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

openware/barong
2-6-stable @ 1f48817
27
Fixes
0
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 14 prior fixes. Scrutinize any change in this area.
lib/barong/authorize.rb: most-fixed (6 issues). Treat as high-risk during review.
21 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 critical auth bypasses stem from missing or flawed authentication in API key verification and resource endpoints, including improper secret extraction and missing JWT middleware.
Auth Bypass: Identity endpoints have repeatedly allowed bypasses through unverified emails, missing blocklogin checks, and insufficient API key state validation, indicating a systemic weakness in session and user creation flows.
Session Fixation: Session fixation was fixed by invalidating sessions on password/2FA changes and moving to server-side storage with IP/UA validation, but the earlier lack of these controls highlights a recurring session lifecycle gap.