Security context

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

blabla1337/skf-flask
main @ 82d270a
5
Fixes
0
CVEs
HIGH
Peak severity
20.0%
Coverage
Highlights
Privilege Escalation: 2 prior fixes. Scrutinize any change in this area.
Angular2/src/app/app.component.ts: most-fixed (1 issue). Treat as high-risk during review.
4 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: Removing auth headers from skip-login requests and relying on client-side checks can be bypassed by direct API calls.
Privilege Escalation: User-controlled privilege assignment during registration allowed setting admin role; must be enforced server-side with strict allowlists.
Information Disclosure: Hardcoded JWT secret in source enables token forgery; secrets must be externalized and rotated.