Meet owlsessionguard
Create, rotate, and revoke sessions in Node.js the safe way, without owning your storage. Built to the OWASP Session Management guidance and ASVS 5.0.
owlsessionguard
@restingowlorg/owlsessionguardHigh-entropy session tokens, hash-only storage, automatic rotation with reuse detection, idle and absolute expiration, device and IP binding, HMAC CSRF tokens, concurrent session limits, and Redis or in-memory storage, all behind one typed API.
Create, validate, rotate, revoke, revoke-all and list user sessions through one typed service.
The raw token is returned once and never persisted. Built-in stores keep only a hash.
Rotated tokens are one-time. Reuse of an old token can revoke the whole session tree.
Optional IP and device fingerprint checks with soft or hard enforcement modes.
HMAC-signed CSRF tokens bound to the server-side session ID.
Middleware attaches a typed session context to requests across three frameworks.
Session handling traced to the OWASP Session Management Cheat Sheet, ASVS 5.0 and OWASP Top 10:2025, with hash-only storage and rotation on by default. See the full docs โ
What OwlSessionGuard Blocks
Every control is traced to a specific OWASP standard. No guesswork, no checkbox security.