verdaccio
7.1.2 · 18 Nov 2026MIT909.7k / weekRepositoryHomepagenpmAtom feed
6.11.3 is the newest release of 6.x.
In short
2 fixed1 changed1 internal
Release note
Patch Changes
Enforce generated npm token metadata
Generated npm tokens (
POST /-/npm/v1/tokens) stored theirreadonlyandcidr_whitelistrestrictions but never enforced them, and deleting a token did
not revoke it for the package APIs. A token marked read-only or pinned to a CIDR
range could still publish packages and change dist-tags, and a deleted token
remained usable.Generated tokens now embed a server-issued key (in the JWT claim, or in the
encrypted legacy AES payload) and a newenforceGeneratedTokenMetadata
middleware looks that key up on each request, rejecting the token when it is
missing/revoked, used outside its CIDR whitelist, or used for a write while
read-only. Enforcement applies to both AES and JWT API-token modes.Note: tokens issued before upgrading carry no key and are not retroactively
constrained — regenerate them to apply the restrictions.Allow npm token create without readonly/cidr_whitelist
npm token createin npm >= 11 (and the npm 12 prereleases) rewrote the
request body: it no longer sendsreadonlyand only sendscidr_whitelist
when--cidris passed. ThePOST /-/npm/v1/tokensendpoint required both,
so modern npm clients failed with422 the parameters are not valid.The endpoint now defaults
readonlytofalseandcidr_whitelistto ``
when they are absent, while still rejecting values of the wrong type.Update verdaccio dependencies to the
latestnpm dist-tag (@verdaccio/ui-themetracksnext-9):@verdaccio/ui-theme:9.0.0-next-9.19→9.0.0-next-9.20
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.