Re:OpenCode – The open source AI coding agent
by woctordho on Friday March 20, 2026 @09:02PM
(#47462958)
RCE is exactly the feature of coding agents. I'm happy with it that I don't need to launch OpenCode with --dangerously-skip every time.
[ Parent
| on HN ]
Re:OpenCode – The open source AI coding agent
by mrln on Saturday March 21, 2026 @04:54AM
(#47465295)
No, it is still configurable. You can specify in your opencode.json config that it should be able to run everything. I think they just argued that it shouldn't be the default. Which I agree with.
Re:OpenCode – The open source AI coding agent
by indigodaddy on Saturday March 21, 2026 @11:39AM
(#47468001)
And in the webui there is a don't ask button
Re:OpenCode – The open source AI coding agent
by rbehrends on Saturday March 21, 2026 @02:57PM
(#47470100)
No, the problem is that when logging in, the provider's website can provide an authentication shell command that OpenCode will send to the shell sight unseen, even if it is "rm -rf /home". This "feature" is completely unnecessary for the agent to function as an agent, or even for authentication. It's not about it being the default, it's about it being there at all and being designed that way.