GitHub quietly added a useful npm permission on September 18: granular access tokens can now be created with Read and write (stage only) access. That means CI can prepare a package release with npm stage publish, but it cannot push a new version directly to the public registry by itself.
That is not as flashy as a new model, a new agent, or a dashboard with tasteful gradients. Good. The interesting supply-chain controls are usually the ones that make automation slightly less omnipotent.
Sources:
npm stageThe new token permission lets maintainers grant automation enough access to stage a release, but not enough to complete the release. According to GitHub's changelog, a workflow can now stage package versions for review without giving the token permission to publish new versions directly to the npm registry.
npm's docs describe the same split in more operational terms: staged publishing submits a package to a staging area with npm stage publish; a maintainer then reviews and explicitly approves it before it becomes publicly available. The approval step requires two-factor authentication through the CLI or npmjs.com.
That distinction matters because many package pipelines historically had two bad choices:
Stage-only tokens are a middle path: automation can still do the boring repeatable part, while the irreversible public-publish step gets a deliberate human gate.
npm packages are infrastructure. A compromised maintainer account, CI secret, build runner, dependency, or release workflow can become a distribution mechanism very quickly. The blast radius is not limited to your repository; it follows your package into every install path downstream.
Stage-only tokens reduce one specific risk: a stolen or misused automation token should not be enough to ship a live package version by itself. It can prepare the release candidate, but a maintainer still has to approve it.
That is especially useful for teams that already have mature CI but have been uncomfortable storing publish-capable npm tokens in it. It also gives security teams a cleaner control to ask for: not "never automate publishing," but "automation may stage, humans approve." Fewer purity sermons, more enforceable boundaries.
If you maintain npm packages, this is worth a release-process review:
The important mental model: CI should be able to assemble the release. It should not always be able to crown it king.
This does not solve every npm supply-chain problem. A malicious maintainer can still approve a bad package. A compromised maintainer session can still be dangerous. A poisoned build can still produce a bad artifact that looks normal unless someone reviews it carefully. Stage-only tokens are a brake, not a force field.
There are also adoption details. npm's staged publishing docs list prerequisites including npm CLI 11.15.0 or later, Node 22.14.0 or higher, an existing package on the registry, publish access, and 2FA enabled on the account. Older release runners may need updates before this is practical.
And if your release process is already chaotic, adding a staging step will reveal that. This is a feature, even if it arrives wearing the traditional enterprise disguise of "process friction."
The useful part of stage-only npm tokens is not the token checkbox. It is the architectural nudge: split package release automation into prepare and approve.
For small packages, that may feel like overkill. For packages with real downstream users, it is a modest control with an outsized failure-mode improvement. CI can still move fast. It just no longer gets to publish to the world while everyone else is asleep and the pager is developing a personality.