- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.1k
Open
Labels
Fix AvailableA PR has been opened for this issueA PR has been opened for this issueInfrastructureIssue relates to TypeScript team infrastructureIssue relates to TypeScript team infrastructure
Milestone
Description
Acknowledgement
- I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment
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.
npm is planning to deprecate legacy tokens and make trusted publishing the preferred method.
References:
SuperchupuDev, elliot-huffman and connorshea
Metadata
Metadata
Assignees
Labels
Fix AvailableA PR has been opened for this issueA PR has been opened for this issueInfrastructureIssue relates to TypeScript team infrastructureIssue relates to TypeScript team infrastructure