Skip to content

Bash: Default permission is "allow" #8936

Closed

Description

@BackSlasher

Description

While spelunking the code, I saw that the default catchall is "allow all":
https://github.com/anomalyco/opencode/blob/dev/packages/opencode/src/agent/agent.ts#L50

I don't think this is intended, and think it should be changed to "ask".
I'm happy to hear if I'm wrong

Plugins

No response

OpenCode version

1.1.21

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. mrclrchtr commented on Jan 26, 2026

    @mrclrchtr

    It is intended, as I have read in other tickets.

  3. github-actions commented on Mar 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions