Security context

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

perforce/helix-authentication-service
main @ a73d998
35
Fixes
0
CVEs
CRITICAL
Peak severity
54.8%
Coverage
Highlights
Auth Bypass: 9 prior fixes. Scrutinize any change in this area.
lib/features/login/presentation/routes/saml.js: most-fixed (4 issues). Treat as high-risk during review.
31 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.

Authentication Bypass: Multiple independent SAML bypasses were fixed: missing signature requirements, regex-based ACS URL validation, and using only the first IdP certificate. Each fix targeted a different validation gap, indicating the SAML path is complex and prone to incomplete checks.
Auth Bypass: JWT verification was hardened by adding key ID pinning, restricting algorithms, and fixing a typo in the algorithms array. These fixes address key confusion and algorithm confusion, suggesting the token verification path needs strict configuration.
Weak Secret: Three fixes addressed weak default secrets (SESSION_SECRET, BEARER_TOKEN) that were shipped as well-known values. This is a recurring misconfiguration risk in the setup script.