Skip to content

Permissions are broken when installing OpenCode with this plugin. #74

@cantalupo555

Description

@cantalupo555

When you install this plugin, OpenCode no longer respects the settings in opencode.json.
It begins editing and executing commands without our confirmation.

The plugin is instructing the model to use the mcptool CLI via bash to access MCP servers.
Because I have "bash": { "*": "allow" } in my opencode.json, bash commands are being executed automatically, bypassing the specific rules I had in ask or deny.
(This shouldn't happen, since OpenCode allows exception lists even when “*”: “allow” is set)

This created a loophole where the model could execute any MCP tool without confirmation, as OpenCode perceived it as a simple "allowed" bash command.

Image Imagem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions