GitHub tightens npm publishing security after large self‑propagating npm compromise
Key update
GitHub has published a plan to harden the npm publishing model in direct response to a large, self‑propagating supply‑chain compromise. The changes it describes will require two‑factor authentication for local publishes (migrating away from TOTP to FIDO where possible), deprecate legacy long‑lived tokens, limit granular token lifetimes (to around seven days), and make trusted publishing (OIDC‑based short‑lived CI publishes with provenance) the recommended path for automated releases. These measures are being rolled out in the near term as part of an emergency security response. (github.blog)
Why it matters
This is immediately actionable and material for every JavaScript/Node team: build pipelines that currently rely on NODE_AUTH_TOKEN or long‑lived publish tokens must be migrated to trusted publishing (OIDC) or to short‑lived granular tokens; maintainer accounts that publish packages will need 2FA (and likely FIDO hardware/Platform Authenticator setups) and should plan token rotation and credential inventory. In practice expect to update CI workflows to request id‑tokens, remove persistent auth env vars, upgrade npm CLI where required, test provenance verification, and audit published packages and automation runners. The net result will be a higher operational cost up front (work to migrate and test pipelines) but a much smaller attack surface for supply‑chain abuse and stronger provenance for releases — essential for teams that publish packages or consume many transitive dependencies. (github.blog)
Source
Read Next
Node.js 22 (LTS) — built-in HTTP/HTTPS proxy + percentage memory sizing (urgent for production deployments)
October 31, 2025Node.js 22.21.0 (LTS) adds built-in proxy support for http/https/fetch and percentage support for --max-old-space-size — immediate practical impact for containerized and corporate-network deployments.
TypeScript native port preview — ~10x faster tsc and language service
October 30, 2025Microsoft published a native-port preview of the TypeScript compiler and language service that dramatically reduces compile and editor latency — immediate practical gains for large TypeScript/repo builds and CI.
Node.js 24 enters Active LTS (Oct 28, 2025)
October 28, 2025Node.js v24 moved from Current to Active LTS today — production teams should plan upgrades, CI validation, and provider/runtime checks now.