Security context

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

firefox-devtools/profiler-server
master @ 4f28093
4
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
src/app.js: 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: Profile deletion route lacked explicit JWT payload type validation, allowing mismatched tokens to authorize deletion. Fix moved route to user-facing middleware and added ForbiddenError for type mismatch.
JWT Algorithm Confusion: JWT signing used default algorithm, enabling attackers to forge tokens via algorithm confusion. Explicit HS256 enforcement prevents this.
Clickjacking: Missing X-Frame-Options allowed page framing, enabling clickjacking attacks. Frameguard middleware added with DENY.