Agent Plugin Skills cannot enforce parent tool restrictions during setup
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- developer-experience, security, tooling
Rechercherichtung
Beginne damit, den Einrichtungsablauf eines ausgewählten Plugin Skill in der Desktop-Benutzeroberfläche von MiniMax Code nachzustellen, und beobachte dabei den MCP-Helfer und den Terminal-Zugriff der übergeordneten Sitzung. Überprüfe, wie der Skill prompt und die benutzerdefinierten agent.md-Tool-Selektoren behandelt werden. Als erledigt gilt die Arbeit, wenn Plugin-Autoren entweder eine vom Host erzwungene, für Benutzer sichtbare und testbare Einschränkung der übergeordneten Sitzung oder eine native Einrichtungsoberfläche haben, die nicht autorisierte Shell- oder Dateioperationen verhindert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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?
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.2k
- Forks
- 281
- Ø Merge
- 16 Std. 32 Min.
- Gemergte PRs (30 T.)
- 32
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus MiniMax-AI/minimax-code
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
MiniMax-AI/minimax-code#556 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
MiniMax-AI/minimax-code#507 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-triage tui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
MiniMax-AI/minimax-code#481 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug cli documentation needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
MiniMax-AI/minimax-code#299 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 Unter einer Stunde Anfängerfreundlichkeit 20/100
MiniMax-AI/minimax-code#580 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in MiniMax-AI/minimax-code
Ähnliche Issues
-
🐛 bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
LibreChat-AI/LibreChat#17733 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
TypeStrong/typedoc#3150 ·
-
accessibility bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Normalize image-source MIME types before SVG dispatchEvtl. vergeben @HarsH-1877 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
tscircuit/image-utils#58 · 1 Kommentar ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 2 Tagen