Title: Consider Adopting NPM Trusted Publishing · Issue #1978 · microsoftgraph/msgraph-sdk-javascript · GitHub
Open Graph Title: Consider Adopting NPM Trusted Publishing · Issue #1978 · microsoftgraph/msgraph-sdk-javascript
X Title: Consider Adopting NPM Trusted Publishing · Issue #1978 · microsoftgraph/msgraph-sdk-javascript
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-bas...
Open Graph 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 maintaine...
X 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 maintaine...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/1978
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consider Adopting NPM Trusted Publishing","articleBody":"\u003e ## Overview\n\u003e Recent [supply chain attacks on npm](https://github.blog/security/supply-chain-security/our-plan-for-a-more-secure-npm-supply-chain/) 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.\n\u003e \n\u003e 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...\n\u003e \n\u003e `NPM` is [planning to deprecate legacy tokens](https://github.blog/security/supply-chain-security/our-plan-for-a-more-secure-npm-supply-chain/#h-npm-s-roadmap-for-hardening-package-publication) and make trusted publishing the preferred method.\n\u003e \n\u003e ## Reference\n\u003e References:\n\u003e \n\u003e * [NPM trusted publishing documentation](https://docs.npmjs.com/trusted-publishers)\n\u003e * [Announcement blog post](https://github.blog/changelog/2025-07-31-npm-trusted-publishing-with-oidc-is-generally-available/)\n\u003e * [Provenance statements guide](https://docs.npmjs.com/generating-provenance-statements)\n\u003e \n\u003e Inspiration:\n\u003e \n\u003e * [Consider adopting npm trusted publishing microsoft/TypeScript#62499](https://github.com/microsoft/TypeScript/issues/62499)\n","author":{"url":"https://github.com/Cevan00","@type":"Person","name":"Cevan00"},"datePublished":"2025-10-02T17:49:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1978/msgraph-sdk-javascript/issues/1978"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c9827904-4845-31da-e1a2-0ef602749926 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5C6:7E20E:5265F0:718844:696A7642 |
| html-safe-nonce | 8c7df7088838d58217f149022d1dcfe491042ced5a06e9bd7d7487a62c9055cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUM2OjdFMjBFOjUyNjVGMDo3MTg4NDQ6Njk2QTc2NDIiLCJ2aXNpdG9yX2lkIjoiMzQ2OTIyMzIyOTEwNjMyMDk2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1b9c8c6d14764d92dbcae82875df3aa9328f6ca5b13d4d42ef5de81575987407 |
| hovercard-subject-tag | issue:3478386190 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-javascript/1978/issue_layout |
| twitter:image | https://opengraph.githubassets.com/52909a4d5c6d359e8acec8a91c70953abd6ef74c4203b88c9f6e5eaad1d15508/microsoftgraph/msgraph-sdk-javascript/issues/1978 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52909a4d5c6d359e8acec8a91c70953abd6ef74c4203b88c9f6e5eaad1d15508/microsoftgraph/msgraph-sdk-javascript/issues/1978 |
| og:image:alt | 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 maintaine... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Cevan00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-javascript git https://github.com/microsoftgraph/msgraph-sdk-javascript.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 68964717 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68964717 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc5f4eee261b3601c1e98e217ceaf28508b9567e |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width