[TSC] choose a npm publication method for the future

未关闭
#87 5 条评论 1 个 reaction 已指派 2 人 在 GitHub 查看

@alexander-akait 已经在做这个了。

开始于 2026年8月10日。

评估

这个 Issue 还没有评估数据。

描述

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
主要语言
JavaScript
星标
5
派生
3
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

webpack/tsc 的其他 Issue

查看 webpack/tsc 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。