[Security] Six confirmed vulnerabilities remain in latest main
維護者通常 1 天內回覆
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
Review the six reported findings in src/utils/image.ts, src/commands/speech/synthesize.ts, src/files/download.ts, src/config/loader.ts, src/update/self-update.ts, and src/client/endpoints.ts. Start by comparing these files with the referenced audited commit and reproduce the stated behavior using the reporter's private PoCs when maintainers provide a private channel. Done means the six vulnerabilities are remediated and focused regression tests cover them.
由索引模型根據 Issue 內容生成。
描述
Hello maintainers,
I am reporting six security findings that remain in the latest upstream main commit 06e47c70b76f419196678367dae62acca4c94076 (September 29, 2026). I compared the affected source files with the previously audited commit 33453cf123927f41c00e1935450e504d8a630763; all seven affected files are unchanged, so the original PoCs remain applicable.
The findings are:
-
Vision image SSRF and excessive buffering:
src/utils/image.tsfetches arbitrary HTTP(S) image URLs with the CLI's network privileges and buffers the complete response before applying the nominal size limit. A caller who can influence the image URL may reach local/private services and cause excessive memory use. -
Speech subtitle SSRF:
src/commands/speech/synthesize.tsfetches the API-providedsubtitle_fileURL directly. A malicious or compromised response can make the CLI contact local or private network services. -
Media download SSRF:
src/files/download.tsaccepts API-provided download URLs without rejecting local/private destinations, allowing an attacker-influenced response to make the CLI fetch and save unintended data. -
Config temporary-file symlink overwrite:
src/config/loader.tsuses a predictableconfig.json.tmppath. A local attacker able to plant a symlink can redirect credential/config data into another writable file. -
Self-update temporary-file symlink overwrite:
src/update/self-update.tsuses a predictable/tmp/mmx-update-<timestamp>path and normal write semantics. A local attacker can redirect update contents into another writable file. -
Authenticated query-parameter injection:
src/client/endpoints.tsinterpolates task/file identifiers into URLs without encoding. A crafted identifier can add parameters to a credentialed request and change how the server interprets it.
The first three findings are network-request issues. The next two require local access to manipulate temporary files. The sixth requires an attacker-influenced or compromised identifier source. The local PoCs reproduced the behavior against clean upstream code using only loopback mock servers and temporary files. No production internal service, metadata endpoint, paid generation, upload, destructive request, API key, or bearer token is included here.
Proposed fixes and focused regression tests are available in a private local worktree. GitHub private vulnerability reporting is disabled for this repository, and issue #265 requested a private channel but has received no response. Please acknowledge this report, route it to the CLI/security maintainers, and provide a private channel for the complete PoCs and remediation discussion. Please also confirm whether MiniMax-AI/cli is in scope for a security reward or bounty.
I will keep the detailed exploit material private while waiting for your instructions.
Reporter: Jonathan Shi (x4evexnol)
- 主要語言
- TypeScript
- 星號
- 2.2k
- 分支
- 190
- 平均合併
- 1 小時 39 分鐘
- 30 天內合併 PR
- 3
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MiniMax-AI/cli 的其他 Issue
-
[Bug] 未登录时 mmx help 被认证检查拦截,无法查看公开文档链接可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
MiniMax-AI/cli#259 · 1 則留言 ·
維護者通常 1 天內回覆
-
[Bug] --no-color 未去除请求状态栏的 ANSI 颜色可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 88/100
MiniMax-AI/cli#258 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 15/100
MiniMax-AI/cli#287 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 63/100
MiniMax-AI/cli#278 ·
維護者通常 1 天內回覆
-
SDK streaming iterators leave their response bodies open on early exit可能已有人在做 @dvd233 於 13 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 57/100
MiniMax-AI/cli#277 ·
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
OpenPetsHQ/openpets#273 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
fritzprix/libr-agent#2161 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 83/100
blackboardsh/electrobun#581 ·
-
backlog-skill effort:xs frontend infra ready-for-agent
難度 2/5 1-3 小時 新手友好度 74/100
LucasSantana-Dev/Lucky#2862 ·
維護者通常 1 天內回覆