Security context

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

erp-mafia/accounted
main @ b0b481b
32
Fixes
0
CVEs
CRITICAL
Peak severity
10.3%
Coverage
Highlights
Authorization Bypass: 15 prior fixes. Scrutinize any change in this area.
app/api/auth/email-hook/route.ts: most-fixed (1 issue). Treat as high-risk during review.
30 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.

Cross-Site Scripting: 1 historical fix(es) link app/api/byra/brand/logo/route.ts to Cross-Site Scripting.
Privilege Escalation: 1 historical fix(es) link supabase/migrations/20260422120000_fix_rls_role_gates_on_membership_tables.sql to Privilege Escalation.
Authentication Bypass: 1 historical fix(es) link lib/supabase/middleware.ts to Authentication Bypass.