Security context

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

mattzcarey/shippie
main @ 50bd666
4
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
services/web-app/src/pages/api/auth/[...nextauth].ts: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix 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: The authentication endpoint initially lacked a NextAuth secret configuration, which disabled token signature verification and left the application vulnerable to session forging. Developers must ensure that all authentication pipelines enforce strong signature verification using non-empty, cryptographically random secrets.
Auth Bypass: The GitHub webhook implementation used a static, guessable fallback secret when verifying incoming payloads. This could allow remote attackers to bypass signature verification using timing attacks or guessable constants, highlighting the necessity of cryptographically secure fallbacks for signature comparisons.
Information Disclosure: Raw authentication tokens were previously included in session objects returned to the client, exposing highly sensitive credentials to unauthorized frontend access or client-side storage risks.