Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Security] Six confirmed vulnerabilities remain in latest main

オープン
#273 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
cli, security

調査の方向性

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:

  1. Vision image SSRF and excessive buffering: src/utils/image.ts fetches 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.

  2. Speech subtitle SSRF: src/commands/speech/synthesize.ts fetches the API-provided subtitle_file URL directly. A malicious or compromised response can make the CLI contact local or private network services.

  3. Media download SSRF: src/files/download.ts accepts API-provided download URLs without rejecting local/private destinations, allowing an attacker-influenced response to make the CLI fetch and save unintended data.

  4. Config temporary-file symlink overwrite: src/config/loader.ts uses a predictable config.json.tmp path. A local attacker able to plant a symlink can redirect credential/config data into another writable file.

  5. Self-update temporary-file symlink overwrite: src/update/self-update.ts uses a predictable /tmp/mmx-update-<timestamp> path and normal write semantics. A local attacker can redirect update contents into another writable file.

  6. Authenticated query-parameter injection: src/client/endpoints.ts interpolates 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
フォーク
185
平均マージ
9時間 55分
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MiniMax-AI/cli のほかの issue

MiniMax-AI/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。