Security context

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

h44z/wg-portal
master @ 87aef1c
18
Fixes
0
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
internal/app/api/v0/handlers/endpoint_authentication.go: most-fixed (3 issues). Treat as high-risk during review.
14 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: Critical flaw allowed unauthorized access by bypassing domain allowlist before user creation; group-based authorization also missing.
Auth Bypass: Missing admin scope on interface routes allowed non-admin access to admin-only data.
Auth Bypass: Authentication middleware did not reject disabled or locked users, allowing unauthorized access.