api-response-optimization
Warn
Audited by Socket on Sep 16, 2026
1 alert found:
SecuritySecurityreferences/caching-strategies.md
MEDIUMSecurityMEDIUM
references/caching-strategies.md
The fragment contains no executable malware. However, its authenticated user-orders example has a significant cache privacy risk: marking user-specific data as public can expose one user's response to other users through shared caches unless authorization-aware cache partitioning is guaranteed. The endpoint should generally use Cache-Control: private or no-store, or explicitly implement safe per-user cache separation and appropriate Vary behavior.
Confidence: 98%Severity: 72%
Audit Metadata