<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7" -->

---
title: Stage-only npm tokens for safer automation | daily.dev
description: npm granular access tokens now support a new 'Read and write (stage only)' permission that lets automated workflows stage package versions using npm stage...
canonical: https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Stage-only npm tokens for safer automation | daily.dev
og:description: npm granular access tokens now support a new 'Read and write (stage only)' permission that lets automated workflows stage package versions using npm stage...
og:url: https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7
og:image: https://api.daily.dev/og/posts/5gYNVzSe7.png
og:image:alt: Stage-only npm tokens for safer automation
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stage-only npm tokens for safer automation

**[GitHub Changelog](https://daily.dev/sources/github_updates)** · 2 min read · 0 upvotes · 0 comments

## Summary

npm granular access tokens now support a new 'Read and write (stage only)' permission that lets automated workflows stage package versions using npm stage publish, without granting the token direct publish rights. A maintainer must then review and approve the staged version with two-factor authentication before it goes live to the registry. Stage-only tokens still retain other write permissions like moving dist-tags and deprecating versions, so they still need careful protection. This is opt-in and doesn't change existing tokens, but it offers a migration path ahead of npm's planned removal of direct publishing via bypass-2FA tokens, targeted for January 2027. Requirements include npm CLI 11.15.0+ and Node.js 22.14.0+.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.blog/changelog/2026-09-18-stage-only-npm-tokens-for-safer-automation>

## Questions this post answers

### What is the new stage-only permission for npm granular access tokens?

It is a 'Read and write (stage only)' permission option for npm granular access tokens that lets automated workflows stage package versions using npm stage publish without granting direct publish rights. A maintainer must review and approve the staged version with two-factor authentication before npm actually publishes it, and npm rejects direct npm publish attempts even if the token bypasses 2FA.

_Teams automating npm releases can track publishing security changes like this on daily.dev._

### When is npm removing direct publishing through bypass-2FA tokens?

npm is targeting January 2027 to remove direct publishing through bypass-2FA tokens. Teams that cannot yet move to trusted publishing can use the new stage-only tokens as a migration path for token-based automation in the meantime.

_Anyone planning an npm publishing migration can follow deadline changes like this via daily.dev._

### What are the requirements for using npm staged publishing?

Staged publishing requires publish access to the package, two-factor authentication enabled on the npm account, npm CLI version 11.15.0 or later, and Node.js version 22.14.0 or later. It works with existing npm packages and is opt-in, so current tokens and their direct-publish capabilities remain unchanged.

_Developers upgrading their npm toolchain can check version requirements like these on daily.dev._

## Similar posts on daily.dev

- [npm Staged Publishing Available, Adding a Human Approval Step Before Packages Go Live](https://daily.dev/posts/npm-staged-publishing-available-adding-a-human-approval-step-before-packages-go-live-ut80yuikj) · InfoQ · 0 upvotes · 0 comments
- [Staged publishing and new install-time controls for npm](https://daily.dev/posts/staged-publishing-and-new-install-time-controls-for-npm-xuqa9yew1) · GitHub Changelog · 6 upvotes · 1 comments
- [Multiple trusted publishing configurations for npm](https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc) · GitHub Changelog · 0 upvotes · 0 comments
- [npm install-time security and GAT bypass2fa deprecation](https://daily.dev/posts/npm-install-time-security-and-gat-bypass2fa-deprecation-hwjz1gmag) · GitHub Changelog · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#nodejs](https://daily.dev/tags/nodejs), [#cicd](https://daily.dev/tags/cicd), [#authentication](https://daily.dev/tags/authentication), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Stage-only npm tokens for safer automation","url":"https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7"},"datePublished":"2026-09-18T17:03:18.024Z","dateModified":"2026-09-22T15:04:28.541Z","description":"npm granular access tokens now support a new 'Read and write (stage only)' permission that lets automated workflows stage package versions using npm stage...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fdabfdac6c0dab213c130bde9e18c299?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fdabfdac6c0dab213c130bde9e18c299?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitHub Changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitHub Changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/15004b7835da4d89b02b115871f0f6dc","url":"https://daily.dev/sources/github_updates"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,nodejs,cicd,authentication,npm","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitHub Changelog","item":"https://daily.dev/sources/github_updates"},{"@type":"ListItem","position":3,"name":"Stage-only npm tokens for safer automation"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/stage-only-npm-tokens-for-safer-automation-5gynvzse7#faq","mainEntity":[{"@type":"Question","name":"What is the new stage-only permission for npm granular access tokens?","acceptedAnswer":{"@type":"Answer","text":"It is a 'Read and write (stage only)' permission option for npm granular access tokens that lets automated workflows stage package versions using npm stage publish without granting direct publish rights. A maintainer must review and approve the staged version with two-factor authentication before npm actually publishes it, and npm rejects direct npm publish attempts even if the token bypasses 2FA. Teams automating npm releases can track publishing security changes like this on daily.dev."}},{"@type":"Question","name":"When is npm removing direct publishing through bypass-2FA tokens?","acceptedAnswer":{"@type":"Answer","text":"npm is targeting January 2027 to remove direct publishing through bypass-2FA tokens. Teams that cannot yet move to trusted publishing can use the new stage-only tokens as a migration path for token-based automation in the meantime. Anyone planning an npm publishing migration can follow deadline changes like this via daily.dev."}},{"@type":"Question","name":"What are the requirements for using npm staged publishing?","acceptedAnswer":{"@type":"Answer","text":"Staged publishing requires publish access to the package, two-factor authentication enabled on the npm account, npm CLI version 11.15.0 or later, and Node.js version 22.14.0 or later. It works with existing npm packages and is opt-in, so current tokens and their direct-publish capabilities remain unchanged. Developers upgrading their npm toolchain can check version requirements like these on daily.dev."}}]}
```

