Skip to content

Critical Bug: Kimi K2.5 bypasses "ask" permission for shell commands and commits autonomously (v1.2.10) #14593

@lorenzoridolfi

Description

@lorenzoridolfi

Description

Despite having my shell commands strictly set to "ask" in build mode, the Kimi K2.5 model completely bypassed this safety guardrail and executed a git add -A followed by a git commit without my permission and without me prompting it to do so. I have been using OpenCode on my Mac for a few months and this severe breach of trust has never happened before; it only started occurring after updating to version 1.2.10. This is a massive safety issue that renders the tool entirely untrustworthy for local development, as it is actively ignoring user-defined execution boundaries. Please fix this regression immediately.

Plugins

None

OpenCode version

1.2.10

Steps to reproduce

  1. Set shell command permissions strictly to "ask" in Build mode.

  2. Use the Kimi K2.5 model on a local repository (macOS, OpenCode v1.2.10).

  3. Do absolutely nothing and wait for the AI to take matters into its own hands, autonomously deciding to run git add -A and git commit without any prompt or authorization.

  4. Honestly, I sincerely hope you cannot reproduce this on your end, because having an AI go rogue and commit code on its own volition is a literal developer's nightmare.

Screenshot and/or share link

No response

Operating System

macOS 15.7.3

Terminal

iTerm2

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions