access-control-rbac
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyreferences/java-spring-security-rbac.md
LOWAnomalyLOW
references/java-spring-security-rbac.md
The code implements conventional Spring Security RBAC and contains no evident malicious behavior. It has security configuration risks: matcher ordering can weaken post-specific permissions, CSRF is disabled globally, and the self-update principal comparison may be incorrect depending on the principal type. The post matchers should be reordered from most specific to least specific, and CSRF should be disabled only when the API authentication model makes that appropriate.
Confidence: 98%Severity: 58%
Audit Metadata