rest-api-conventions
Warn
Audited by Socket on Oct 23, 2026
1 alert found:
AnomalyAnomalyexamples/bad-controller.java
LOWAnomalyLOW
examples/bad-controller.java
The fragment is ordinary Spring controller code and shows no evidence of malicious or supply-chain attack behavior. It has several security and design concerns: authorization is not visible for ID-based reads and deletes, entities are exposed directly, and the list endpoint is unbounded. These issues warrant review and remediation, but their exploitability depends partly on security controls outside this file.
Confidence: 96%Severity: 58%
Audit Metadata