Security context

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

Billionmail/BillionMail
dev @ fc36c76
10
Fixes
0
CVEs
CRITICAL
Peak severity
20.0%
Coverage
Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
core/internal/service/middlewares/rbac.go: most-fixed (4 issues). Treat as high-risk during review.
9 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: Four separate fixes to the same RBAC middleware show a pattern of incomplete public-route allowlists and missing default-deny, allowing unauthenticated access to admin endpoints.
Auth Bypass: SSO login initially lacked HMAC signature verification, enabling forged authentication; the fix added signature and timestamp checks, but similar SSO endpoints may still be vulnerable.
Auth Bypass: Logout did not destroy the session, allowing session reuse after logout; this indicates session lifecycle handling is error-prone.