Security context

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

nette/security
master @ b3dcf9f
6
Fixes
0
CVEs
HIGH
Peak severity
83.3%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
src/Bridges/SecurityHttp/SessionStorage.php: most-fixed (3 issues). Treat as high-risk during review.
1 high-severity fix 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: Insecure authentication cookie verification permitted authentication bypasses by not checking the length of the stored user identifier, leaving the system vulnerable to session spoofing.
Auth Bypass: Flaws in SessionStorage allowed expired sessions to have their lifetimes extended incorrectly or failed to completely purge the identity during cleanups, leading to persistent access.
Auth Bypass: A race condition or state-invalidation bug existed where the user logout event handlers were invoked before the underlying session state and storage were fully cleared, potentially allowing callbacks to act on stale authorized states.