[TSC] choose a npm publication method for the future

Aperta
#87 5 commenti 1 reazione 2 assegnatari Vedi su GitHub

@alexander-akait ci sta già lavorando.

Dal 10/8/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

tsc-agenda

We started a discussion around the idea of using Trusted Publishing (ref), this issue is a more formal continuation of my comment:

Regarding trusted Publishing we did a great research and concluded that:

We believe Trusted Publishing represents the future, but it’s not yet ready for adoption in critical projects, as in its current state it wouldn’t prevent attacks such as Shai-Hulud and other recent ones.
https://openjsf.org/blog/publishing-securely-on-npm

Mostly due the missing step for 2FA confirming the publication. This will be fixed by npm once staged publishing is deployed (no ETA yet): https://github.blog/security/supply-chain-security/strengthening-supply-chain-security-preparing-for-the-next-malware-campaign/

In Express we are trying to do a CI version with 2FA (under discussion: https://github.com/expressjs/discussions/pull/443), so we can probably adopt it if we want to avoid local publication due bus factor

cc: @webpack/security-wg

Next steps
  • Include TSC Meeting agenda label
Context
Lingua principale
JavaScript
Stelle
5
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di webpack/tsc

Tutte le issue di webpack/tsc

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.