Agent Plugin Skills cannot enforce parent tool restrictions during setup
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
まず、選択した Plugin Skill のセットアップフローを MiniMax Code のデスクトップ UI で再現し、MCP ヘルパーと親セッションの Terminal アクセスを観察します。Skill prompt とカスタムの agent.md ツールセレクターがどのように扱われるかを確認します。プラグイン作成者が、ホストによって強制され、ユーザーに表示され、テスト可能な親セッションの制限、または権限のないシェル操作やファイル操作を防ぐネイティブなセットアップ画面を利用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
Agent Plugin Skills currently cannot enforce a tool restriction on the parent MiniMax Code session while performing plugin-guided setup. This prevents certifying autonomous, native-only setup flows for security-sensitive plugins.
Environment
- MiniMax Code: 3.0.68.134
- Plugin type: Agent Plugin, imported from a public Git repository
- Setup initiated from a selected Plugin Skill in a disposable MiniMax profile
Reproduction
- Create or import an Agent Plugin with a Skill that guides a setup operation through MiniMax-native mechanisms (for example,
mavis agentprofile/configuration operations). - In the Skill prompt, explicitly provide all required input (including the temporary profile root) and explicitly prohibit Terminal, shell commands, HTTP requests, direct store edits, and direct agent workflow/system-prompt/project-file changes.
- Start the Skill from the MiniMax Code desktop UI.
- The Skill can invoke its MCP helper, but the parent session still has Terminal available and may invoke it (observed: a directory listing command) to inspect the plugin or profile before continuing.
Actual behavior
The parent agent's available tools are not constrained by the selected Skill's instructions. Prompt-level restrictions are advisory only: Terminal remains exposed and can be used during setup.
Custom Agent agent.md tool selectors can restrict child roles, but they do not restrict the parent session executing the Plugin Skill. Therefore they cannot provide an end-to-end guarantee for a native-only, shell-free setup flow.
Expected behavior
Please provide one of these host-enforced mechanisms:
- A declarative allowlist/denylist for tools available to the parent session while a Plugin Skill is running (for example, excluding Terminal and shell); or
- A non-prompt native setup API/surface for Agent Plugins to create/update supported agent configuration safely, without asking the parent model to perform file or shell operations.
The restriction must be enforced by the host, visible to the user, and testable by plugin authors.
Impact
Without a host-enforced boundary, a plugin cannot truthfully certify autonomous setup as native-only or shell-free. For production distribution, the only safe outcomes are a supervised manual setup contract or a fail-closed block. This affects plugins that need to install or configure multi-agent roles while preserving least privilege.
Could you confirm whether a parent-session tool policy already exists (and how Plugin Skills declare it), or whether this capability/API is planned?
- 主要言語
- TypeScript
- スター
- 2k
- フォーク
- 254
- 平均マージ
- 7時間 40分
- マージ済み PR(30日)
- 148
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MiniMax-AI/minimax-code のほかの issue
-
bug needs-triage tui
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MiniMax-AI/minimax-code#481 ·
メンテナーはふだん 1 日以内に返信
-
bug cli documentation needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
MiniMax-AI/minimax-code#299 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug cli needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MiniMax-AI/minimax-code#128 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug desktop
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MiniMax-AI/minimax-code#87 · コメント 2 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug desktop needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MiniMax-AI/minimax-code#80 ·
メンテナーはふだん 1 日以内に返信
MiniMax-AI/minimax-code の issue をすべて見る
似ている issue
-
./collections should export setUmbracoVersion and setAllowFilePathUploads for in-process consumersオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
umbraco/Umbraco-CMS-MCP-Dev#563 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
afk-ok area:data-quality importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
enorm-labs/event-junkie#3166 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
alunduil/projects-v2-sync#21 ·