opencode bug: bare `--` in pwsh commands skips the agent permission check entirely

android6 · ghdev · 2026-10-11

A reproduced, high-severity vulnerability was filed against coding-agent tool opencode (v2.0.25): on Windows with pwsh 7, appending a bare -- token to any shell command bypasses the shell permission check entirely.

Anyone running shell allowlists on agents should treat this as an immediate bypass risk.

Original post →

More from coding & agent

coding & agent channel →