api-database-redis

Warn

Audited by Socket on Sep 20, 2026

1 alert found:

Anomaly
AnomalyLOW
examples/sessions.md

The code is ordinary session-storage example code and shows no evidence of malicious behavior. The Express portion is generally sound when deployed over HTTPS. The manual Hono middleware has meaningful security weaknesses: the session identifier is unsigned and fully client-controlled, it is not regenerated after authentication, the Secure cookie flag is absent, and malformed Redis data can cause request failures. The Hono implementation should validate or cryptographically protect session IDs, regenerate them on privilege changes, set Secure in HTTPS deployments, and handle JSON parsing errors.

Confidence: 97%Severity: 55%
Audit Metadata
Analyzed At
Sep 20, 2026, 03:58 PM
Package URL
pkg:socket/skills-sh/agents-inc%2Fskills%2Fapi-database-redis%2F@7d525d177feffb6c96afe410dbee1106ba2a7bd1e1401761372a85933efec758
Security Audit — socket — api-database-redis