problem-details-rfc9457
Warn
Audited by Socket on Sep 18, 2026
1 alert found:
SecuritySecurityexamples/bad-exception-handler.java
MEDIUMSecurityMEDIUM
examples/bad-exception-handler.java
The code is not indicative of malware or a supply-chain backdoor. It contains a genuine security risk because generic exception messages, stack traces, and raw validation details are exposed to clients. It also reports incorrect HTTP status codes for two error cases. Responses should use controlled, structured error data, set appropriate HTTP statuses, and omit stack traces and internal exception details.
Confidence: 99%Severity: 72%
Audit Metadata