Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

es5-ext dependency is quarantined by Nexus Firewall, blocking hermetic builds

已關閉 適合新手
#7,788 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
68/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
冷清
技術堆疊
typescript, vscode

研究方向

從 lib/vscode/package.json 開始,追蹤列出的相依性鏈,以確認 es5-ext 是如何解析的。套用 issue 中描述的 dependency override,然後執行 hermetic 或 hardened 的相依性擷取建置,以驗證不再請求遭隔離的 package。

由索引模型根據 Issue 內容生成。

描述

bug code-server needs-investigation

Problem

The es5-ext npm package (both 0.10.63 and 0.10.64) has been quarantined by Nexus Firewall under advisory sonatype-2022-2248. Its _postinstall.js script makes network calls to geolocate the host and executes undisclosed code (classified as protestware). Both versions are flagged; there is no clean upstream version.

This blocks any hermetic/hardened supply chain build that prefetches npm dependencies through an artifact registry proxy, resulting in:

FetchError: 403, message='--- Requested item is quarantined ---'
url='https://artifact-registry-proxy.../npm-proxy/es5-ext/-/es5-ext-0.10.63.tgz'

Dependency chain

es5-ext enters code-server through the VS Code submodule (lib/vscode/):

  • gulp-sourcemapsdebug-fabulousmemoizeees5-ext (build tooling, devDependency)
  • Also via d, es6-iterator, es6-symbol, es6-weak-map, esniff, event-emitter, timers-ext

Upstream status

Suggested fix

Add an npm overrides entry in lib/vscode/package.json to alias es5-ext to @unes/es5-ext, a community fork that strips the postinstall script and rebases daily against upstream:

"overrides": {
    "es5-ext": "npm:@unes/es5-ext@0.10.64-1"
}

We have implemented this fix in our downstream build at opendatahub-io/notebooks#3556.

主要語言
TypeScript
星號
79.4k
分支
6.9k
平均合併
2 天 13 小時
30 天內合併 PR
39

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

coder/code-server 的其他 Issue

查看 coder/code-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。