oauth2-resource-server
Warn
Audited by Socket on Sep 18, 2026
1 alert found:
AnomalyAnomalyexamples/bad-resource-server-config.java
LOWAnomalyLOW
examples/bad-resource-server-config.java
The fragment is ordinary Spring Security configuration and does not show malware or intentional supply-chain sabotage. It has security and correctness issues: an insecure HTTP JWKS endpoint, probable authority-prefix mismatch, non-explicit stateless session handling, deprecated APIs, and an unnecessary UserDetailsService. The JWKS URL should use HTTPS and trusted issuer-based configuration, and JWT authorities and session policy should be explicitly configured.
Confidence: 97%Severity: 61%
Audit Metadata