Trigger.dev CLI 4.8.3 — minimatch makeRe incompatibility and nested tar security findings
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 8/100
- Issue 類型
- 重構
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- nodejs, typescript
- 領域
- build-system, security
研究方向
The payload names dist/esm/build/externals.js, which imports makeRe from minimatch, and the dependency chain c12 → giget → [email protected]. The reporter's experiment failed and no fix is proposed, so the first step is a maintainer decision on the supported remediation path, not a code change. Done means maintainers have answered the five questions or a supported version has been identified.
由索引模型根據 Issue 內容生成。
描述
Provide environment information
Summary
We are requesting an officially supported remediation for security findings in the development dependency tree of [email protected].
The original CLI works with its declared minimatch dependency. The makeRe startup failure occurred only in an isolated, unsupported five-override compatibility experiment. That experiment FAILED and was NOT promoted.
Environment
- OS: Windows 10.0.26300.0
- Node.js: 24.14.0
- npm: 11.9.0
- Trigger.dev CLI: 4.8.3
- Trigger.dev SDK: 4.8.3
- npm lockfileVersion: 3
Original Security Audit
- 9 affected-package entries
- 1 critical, 6 high, 2 moderate
- 16 unique GitHub Security Advisories
- Production-only audit: zero findings
- SDK-only audit: zero findings
Affected dependency paths:
[email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
│ └─ [email protected]
│ └─ [email protected]
└─ @trigger.dev/[email protected]
└─ @prisma/[email protected]
└─ [email protected]
Isolated Experiment
Five unsupported dependency overrides were tested in a disposable copy:
- zod: 4.6.7
- minimatch: 11.0.1
- esbuild: 0.25.0
- [email protected] → tar: 7.5.22
- @prisma/[email protected] → deepmerge-ts: 8.0.0
The CLI failed with:
trigger.dev/dist/esm/build/externals.js:
import { makeRe } from "minimatch";
SyntaxError: The requested module 'minimatch' does not provide an export named 'makeRe'
The distributed Trigger.dev CLI uses makeRe in its externals builder. minimatch 10.2.6 provides the API, but 11.0.1 does not.
The nested tar dependency remained invalidly resolved:
[email protected]
[email protected]
[email protected] invalid: "7.5.22"
The exact npm resolver cause has not been established.
Results
- Original CLI startup: PASS
- Experimental CLI startup: FAIL
- Experimental audit: 4 affected-package entries, including 1 critical
- Backend mock tests: 19 passed
- Browser suites: 5 passed
- Production build: PASS
- Full experimental regression aggregate: incomplete
No experimental overrides were promoted.
Questions for Trigger.dev Maintainers
- Is there a supported CLI version or backport addressing minimatch GHSA-g3hv-75wg-m249 without breaking the makeRe API contract?
- What is the recommended remediation for c12 → giget → [email protected]?
- Are supported fixes available for the CLI's zod, esbuild and deepmerge-ts dependencies?
- Can you confirm the security status of bundled tar code in the @trigger.dev/build dependency chain?
- Is a separately pinned CLI workspace officially supported while keeping SDK 4.8.3?
We would appreciate a vendor-supported remediation path rather than unsupported major-version overrides.
No exploit has been demonstrated. The original dependency tree remains unchanged. Cloud is unconnected, MCP is disabled, and production booking is disabled.
Describe the bug
Trigger.dev CLI 4.8.3 has unresolved development dependency security advisories. The original CLI starts successfully with minimatch 10.2.6. However, an isolated, unsupported override to minimatch 11.0.1 causes CLI startup to fail because the CLI imports makeRe, which is no longer exported. A separate override targeting giget's nested tar dependency also resulted in an invalid dependency tree.
Expected: A vendor-supported, security-patched dependency combination that preserves CLI functionality.
Actual: The experimental overrides reduced audit findings from nine to four, but broke CLI startup and left one critical finding unresolved.
The experiment was not promoted. The original dependency tree remains unchanged. We are requesting official remediation guidance, not claiming the original CLI installation is broken.
Reproduction repo
No public reproduction repository is available yet. Minimal isolated reproduction steps are provided below; no private application source is required.
To reproduce
Environment: Windows NT 10.0.26300.0, Node.js 24.14.0, npm 11.9.0, [email protected], @trigger.dev/[email protected].
- Create an isolated disposable npm project with [email protected] as a development dependency and @trigger.dev/[email protected] as a runtime dependency.
- Install the dependencies and verify the original CLI version command succeeds.
- In a disposable copy, apply an npm override mapping [email protected]'s minimatch dependency to 11.0.1.
- Reinstall dependencies and verify minimatch 11.0.1 is resolved.
- Run the CLI version command.
Observed in our five-override experiment:
SyntaxError: The requested module 'minimatch' does not provide an export named 'makeRe'
The CLI imports makeRe from minimatch in dist/esm/build/externals.js. The original CLI uses minimatch 10.2.6, which supplies that API.
A separate experimental override attempted to replace [email protected]'s nested [email protected] with [email protected], but npm ls reported an invalid resolution. The exact npm resolver cause is unconfirmed.
Important: The isolated minimatch-only reproduction described above is proposed and has not been independently executed. The observed CLI failure occurred in the full five-override experiment. No overrides were promoted.
Suggested fix
No response
Additional information
No response
- 主要語言
- TypeScript
- 星號
- 16.5k
- 分支
- 1.5k
- 平均合併
- 1 天 15 小時
- 30 天內合併 PR
- 17
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
triggerdotdev/trigger.dev 的其他 Issue
-
bug: retry.fetch ignores the caller's abort signal and retries aborted requests可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
triggerdotdev/trigger.dev#5116 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug: Chat transport crashes on Safari < 17.4: AbortSignal.any is not a function可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 83/100
triggerdotdev/trigger.dev#5098 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug: Side menu items lose their active state on detail pages可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
triggerdotdev/trigger.dev#5088 ·
維護者通常 1 天內回覆
-
bug: RBAC loader logs "plugin found but failed to load" when @triggerdotdev/plugins is simply not installed可能重新可做 @itsfaryal 於 17 天前認領,目前沒有進行中的 PR。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
triggerdotdev/trigger.dev#5083 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 83/100
triggerdotdev/trigger.dev#5072 · 1 則留言 ·
維護者通常 1 天內回覆
查看 triggerdotdev/trigger.dev 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
bug platform-android
難度 2/5 1-3 小時 新手友好度 68/100
Termix-SSH/Mobile#146 · 1 則留言 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 66/100
devswha/herdr-web-ui#3875 ·
-
難度 1/5 1 小時以內 新手友好度 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆