Skip to content

Subagent able to execute arbitrary code/commands in plan mode #28305

Description

@aybr1

Description

In plan mode, subagent can still execute arbitrary code/commands without permission

Plugins

None

OpenCode version

windows desktop 1.14.50

Steps to reproduce

  1. launch Opencode desktop 1.14.50 in windows
  2. switch to plan mode
  3. ask the agent to spawn a subagent to kill a process

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions