-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Open
Labels
C-nodejsJavaScript BindingsJavaScript BindingsI-enhancementSomething could be betterSomething could be better
Description
Description
Overview
Recent supply chain attacks on npm have highlighted the need for stronger package publishing security. The September 2025 Shai-Hulud worm compromised 500+ packages through stolen maintainer tokens, showing the risks of token-based publishing.
Trusted publishing helps by eliminating long-lived tokens that can be stolen or accidentally exposed; generating automatic provenance provides cryptographic proof of where/how packages are built; and is an industry standard adopted by
PyPI,RubyGems,crates.io,NuGet, etc...
NPMis planning to deprecate legacy tokens and make trusted publishing the preferred method.If assistance is welcome, please let me know and I can assist and/or get
further assistance as needed.Reference
References:
Have you considered any alternatives or workarounds?
No response
Metadata
Metadata
Assignees
Labels
C-nodejsJavaScript BindingsJavaScript BindingsI-enhancementSomething could be betterSomething could be better