Security context

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

fosrl/pangolin
main @ c76b455
150
Fixes
2
CVEs
CRITICAL
Peak severity
43.2%
Coverage
Highlights
Auth Bypass: 99 prior fixes. Scrutinize any change in this area.
server/routers/badger/verifySession.ts: most-fixed (16 issues). Treat as high-risk during review.
102 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 missing 'await' keyword on a password verification Promise caused all PIN-code authentication attempts to evaluate successfully, resulting in complete authentication bypass. This highlights the high risk of async logical flaws in critical auth paths.
Auth Bypass: An authentication bypass was caused by incorrect parameter ordering within password/token validation checks alongside inconsistent domain casing logic, exposing resources to unauthenticated access.
Privilege Escalation: Flaws in two-factor authentication (2FA) and backup code validation components allowed remote users to bypass security parameters and escalate privileges, as tracked in CVE-2025-56333.