# Unvalidated npm trusted publishing configurations now expire

DevFeed: [Unvalidated npm trusted publishing configurations now expire](<https://devfeed.tech/articles/unvalidated-npm-trusted-publishing-configurations-now-expire-71377.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2026-10-02-unvalidated-npm-trusted-publishing-configurations-now-expire>)

Author: Allison

Published: 2026-10-02T19:07:04Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [npm](<https://devfeed.tech/topics/npm.md>), [npm security](<https://devfeed.tech/topics/npm-security.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [expire](<https://devfeed.tech/tags/expire.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [issue](<https://devfeed.tech/tags/issue.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-trusted-publishing](<https://devfeed.tech/tags/npm-trusted-publishing.md>), [ownership](<https://devfeed.tech/tags/ownership.md>), [project](<https://devfeed.tech/tags/project.md>), [publishing](<https://devfeed.tech/tags/publishing.md>), [repository](<https://devfeed.tech/tags/repository.md>), [risk](<https://devfeed.tech/tags/risk.md>), [validation](<https://devfeed.tech/tags/validation.md>), [window](<https://devfeed.tech/tags/window.md>)

## AI overview

Unvalidated npm trusted publishing configurations expire 48 hours after creation and then cannot authorize publishing. A first successful publish validates the configuration and removes the expiry; changing repository or project identity requires a new trust relationship and validation window, while ordinary edits do not reset the deadline. Expired configurations remain visible but do not count toward per-package limits, and other valid configurations are unaffected. npm also rejects publishing tokens from GitHub Actions `issue_comment` events, as it already does for `pull_request_target`; affected workflows can use permitted events such as `push`, `release`, or `workflow_dispatch`.

## Source excerpt

Unvalidated npm trusted publishing configurations now expire 48 hours after creation and can no longer authorize publishing. This limits the risk of trusting a repository or project name that changes...