Packages

verdaccio

7.1.2 · 18 Nov 2026MIT909.7k / weekRepositoryHomepagenpmAtom feed

Your version

6.7.3

21 Jun 2026Where it was published

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 their readonly and
    cidr_whitelist restrictions 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 new enforceGeneratedTokenMetadata
    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 create in npm >= 11 (and the npm 12 prereleases) rewrote the
    request body: it no longer sends readonly and only sends cidr_whitelist
    when --cidr is passed. The POST /-/npm/v1/tokens endpoint required both,
    so modern npm clients failed with 422 the parameters are not valid.

    The endpoint now defaults readonly to false and cidr_whitelist to ``
    when they are absent, while still rejecting values of the wrong type.

  • Update verdaccio dependencies to the latest npm dist-tag (@verdaccio/ui-theme tracks next-9):

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.