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
-
Set shell command permissions strictly to "ask" in Build mode.
-
Use the Kimi K2.5 model on a local repository (macOS, OpenCode v1.2.10).
-
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.
-
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
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
Set shell command permissions strictly to "ask" in Build mode.
Use the Kimi K2.5 model on a local repository (macOS, OpenCode v1.2.10).
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.
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