Security context

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

webx/citrus
master @ adfceaa
4
Fixes
0
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
AuthGrant.java: most-fixed (1 issue). Treat as high-risk during review.
3 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: Grant evaluation order was reversed, allowing later denies to be overridden by earlier allows, or vice versa, leading to unauthorized access.
Auth Bypass: User and role matching logic was not canonicalized, causing incorrect handling of anonymous and wildcard users, potentially granting access to unintended principals.
Auth Bypass: Addition of MATCH_EVERYTHING wildcard and anonymous user handling could inadvertently match more users than intended, creating an authorization bypass.