News for hackers. Stuff that matters.
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.
Re:OpenCode – The open source AI coding agent by mrln on Thursday March 26, 2026 @07:21AM (#47529137)
Ah, yes. That's crazy. I was thinking they were refering to the lax permissions of the agent by default.