Agent Plugin Skills cannot enforce parent tool restrictions during setup
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 30/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- typescript
- Domaine
- developer-experience, security, tooling
Piste de recherche
Commencez par reproduire le flux de configuration d'un Plugin Skill sélectionné dans l'interface utilisateur de bureau de MiniMax Code, en observant l'assistant MCP et l'accès au Terminal de la session parente. Examinez la manière dont le Skill prompt et les sélecteurs d'outils personnalisés de agent.md sont gérés. Le travail est considéré comme terminé lorsque les auteurs de plugins disposent d'une restriction de la session parente imposée par l'hôte, visible par l'utilisateur et testable, ou d'une interface de configuration native qui empêche les opérations shell ou sur les fichiers non autorisées.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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?
- Langage dominant
- TypeScript
- Étoiles
- 2.1k
- Forks
- 271
- Merge moyen
- 9 h 44 min
- PR mergées (30 j)
- 53
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de MiniMax-AI/minimax-code
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
MiniMax-AI/minimax-code#507 ·
Les mainteneurs répondent en général sous 1 jour
-
bug needs-triage tui
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
MiniMax-AI/minimax-code#481 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug cli documentation needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
MiniMax-AI/minimax-code#299 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
MiniMax-AI/minimax-code#551 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement needs-triage tui
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
MiniMax-AI/minimax-code#549 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de MiniMax-AI/minimax-code
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 1-3 heures Accessibilité débutants 84/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
keptinventory/kept#336 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
-
hemi-earn
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
vetro-protocol/vetro-monorepo#1013 ·
Les mainteneurs répondent en général sous 1 jour