upstash
Warn
Audited by Socket on Nov 5, 2026
1 alert found:
SecuritySecuritysamples/redis-session-cache.md
MEDIUMSecurityMEDIUM
samples/redis-session-cache.md
The code is not indicative of malicious package behavior or intentional data exfiltration. It does contain significant session-security risks: unauthenticated POST accepts arbitrary identity and role claims, and the cookie omits Secure and SameSite attributes. The implementation should authenticate session creation, derive user identity and authorization claims server-side, validate the request schema, restrict returned fields, and set appropriate cookie security attributes.
Confidence: 98%Severity: 72%
Audit Metadata