Security context

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

skeletonlabs/skeleton
main @ 7667d00
4
Fixes
13
CVEs
CRITICAL
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
sites/plus.skeleton.dev/src/lib/features/auth/auth.server.ts: most-fixed (2 issues). Treat as high-risk during review.
2 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: Misconfiguration of OAuth providers by using overly permissive wildcards (*.vercel.app) and failing to enforce robust proxy secrets allowed attackers to bypass authentication controls. These issues were patched across consecutive fixes.
Host Header Injection: Insecure SvelteKit cookie middleware initialization ordering combined with a missing explicit allowlist for allowedHosts exposed the application to Host header spoofing attacks.
Open Redirect: Deriving OAuth redirect URIs dynamically from incoming HTTP requests rather than static environment variables allowed attackers to hijack authentication tokens via open redirects.