secnull
systems nominal feed · live 23:01 UTC
8
audits
open cve
archivedispatchesdispatch 102
issue 102 · Apr 12, 2026
— dispatch · iam audit

Session handling sharpened since 3.0.

lucia-auth ships a well-documented threat model and defaults that embody it. A mid-release scope change introduced one rough edge around adapter contracts; otherwise, read the code and sleep well.

↓ signed manifest
lucia-auth@3.2 B
lucia-auth ships a well-documented threat model and defaults that embody it. A mid-release scope change introduced one rough edge around adapter contracts; otherwise, read the code and sleep well.
87 / 100·0 high·1 med·npm
auth A
90/100
crypto A
90/100
supply B
80/100
docs A
92/100

§1 · Context

Lucia is the rare auth library that reads like it was written by someone who has been on call during a credential-stuffing event. The API forces you to think about session lifecycles, regeneration, and revocation — it does not let you skip those concerns to save three lines.

§2 · Findings

One medium finding: the adapter contract for getSessionAndUser is underspecified in the docs and two community adapters returned slightly different error shapes; the library's reconciliation of those shapes is correct but surprising.

Five low findings are doc nits.

§3 · Bottom line

Use it. The 3.2 release is the one to pin to.