fix(docs): distinguish dependency working directory from sandbox setup
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- node.js, typescript
調査の方向性
skills/dependency-manager/SKILL.md のステップ 5 から始め、次に mcp-server/src/index.ts の install_dependencies ハンドラーにあるディレクトリ選択の分岐、227 行目から 263 行目付近を読んでください。targetFile は、package.json または requirements.txt を最大 5 階層まで上に向かって探索して cwd を選ぶだけであることを確認します。完了の条件は、skill の記述に、targetFile が作業ディレクトリを選択すること、そしてサンドボックスはホスト側の別の前提条件であることが書かれていることです。
索引モデルが issue の本文から書いたものです。
説明
Summary
The dependency-manager skill says that passing targetFile to install_dependencies lets the tool calculate isolated execution contexts. The tool instead calculates the script's working directory. Please distinguish this directory selection from any sandbox configured in the Gemini CLI host, so that the skill accurately explains what this argument provides.
Runtime or environment
This is a source and published-artifact documentation comparison, not an executed dependency-installation test. The latest published extension release is v0.5.0, whose tag resolves to 0e4812c469a61fb87e29ce939f393715221553fb; current main is 2227f3cf7150972baac695b8233abc2186408538. The release's linux.x64.security.tar.gz contains the same dependency-manager skill as main, and its compiled MCP helper performs the same directory calculation. Host sandbox behavior was checked in Gemini CLI v0.66.0 source at 970413207732f5d4d8c50540c7fc359c44fdaaf2.
Steps to reproduce
- Read step 5, “Trigger Isolated Execute,” in the dependency-manager skill on either extension baseline.
- Follow the registered
install_dependenciestool implementation, considering an invocation withtargetFileset to/workspace/project/src/example.ts, nocwdoverride, an existing/workspace/project/package.json, and neitherpackage.jsonnorrequirements.txtin/workspace/project/src. - Inspect the use of the calculated directory: it becomes the
cwdoption for executing the provided script. These are static inspection steps; no generated script, dependency installation, or PoC was executed.
Expected behavior
The skill should describe the argument's actual effect: selecting a working directory by looking for a nearby manifest. If isolated execution requires an already configured host sandbox or a separate environment established by the generated script, state that prerequisite rather than attributing its creation to targetFile.
Actual behavior
The skill describes this argument as letting the tool “calculate isolated execution contexts.” For the example above, the helper finds package.json and selects /workspace/project as executionDir. It checks at most five directories for package.json or requirements.txt, then passes the selected directory as cwd to execFileAsync(input.scriptPath, { cwd: executionDir }). That calculation does not itself create a separate dependency environment.
Gemini CLI can provide a surrounding sandbox: when configured for full-process sandboxing, it relaunches the CLI before loading extensions, and the configured Node MCP server runs as a child in that environment. This report does not assert that MCP execution always lacks a sandbox, that a host sandbox is bypassed, or that a vulnerability was reproduced. It concerns the narrower description of what targetFile calculates.
Evidence
- Expected source: dependency-manager skill, step 5.
- Failure source: registered tool and complete directory-selection branch; the published artifact's
mcp-server/dist/index.jscontains the corresponding code. - Evidence provenance: static
- Local verification: static-proof
- Reproduction completeness: complete
Runtime reproduction was not run. The extension manifest registers the Node MCP server, which exposes this tool directly; the supplied valid argument shape reaches the directory-selection branch without another environment-creation step in that helper. The skill, helper, extension manifest, published artifact, and host launch code were inspected.
Host counterevidence: CLI sandbox relaunch before extension loading and stdio MCP child transport. These are distinct from the helper's directory calculation.
Restoration check
Reading step 5 alongside the helper should accurately predict the selected working directory for the example above and distinguish that selection from the surrounding execution environment. A documentation clarification can meet this check without changing dependency execution behavior.
Triage assessment
- Impact level: P3
- Assessment status: supported
- Impact basis: This report establishes misleading wording about an argument's effect. No harmful execution, sandbox escape, or consequential runtime failure was observed.
- Workaround status: available
- Workaround basis: The tool's own description identifies workspace script execution, and its source exposes the directory calculation; users can consult Gemini CLI's sandbox configuration separately.
- 主要言語
- TypeScript
- スター
- 793
- フォーク
- 60
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gemini-cli-extensions/security のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 79/100
-
Helpオープン
難易度 1/5 1時間未満 初心者へのやさしさ 10/100
-
[Feature Request - Codemaps] Deduplicate Structural Graph Edges and Augment with Metadata (Call Sites)再び着手できるかも @satvikkk が 263 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
gemini-cli-extensions/security#141 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
gemini-cli-extensions/security#133 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
gemini-cli-extensions/security の issue をすべて見る
似ている issue
-
Navbar avatar and name stay stale after saving profile changes対応中かも @alexechoi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
marmelab/atomic-crm#416 ·
メンテナーはふだん 1 日以内に返信
-
feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
bluesky-social/social-app#12343 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
lucide-icons/lucide#5165 ·
メンテナーはふだん 1 日以内に返信
-
[Feature] Preferences - Keep the theme selection popover open after selection for quick previewオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
marktext/marktext#6033 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:desktop bug has repro platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
anthropics/claude-code#107903 ·