Security context

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

linnovate/mean
master @ 5c12e13
15
Fixes
5
CVEs
HIGH
Peak severity
69.2%
Coverage
Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
app/models/user.js: most-fixed (1 issue). Treat as high-risk during review.
9 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: A pre-save database hook previously granted default administrator privileges to users registering with empty roles, exposing a severe privilege escalation vector in the registration flow.
Auth Bypass: Authorization middleware failed to terminate unauthorized API requests immediately, instead performing a redirection that allowed requests to proceed past intended security bounds.
Information Disclosure: Deserialized user session objects retrieved via Passport leaked password hashes and salts due to a lack of projection exclusions, exposing sensitive credentials.