You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: enforce runtime sandbox for council-review-action #337
We'll need to ensure that Internet access is cut off.
Motivation
The council-review-action runs untrusted PR diff content through an
LLM. Currently, the action relies on prompt-level instructions to
prevent shell/network access. This is not enforcement — the model
retains full host network authority.
Implementation
Add OPENCODE_PERMISSION env var to scripts/run-review.sh denying bash, webfetch, websearch, mcp, edit, write — OpenCode's
native tool-level enforcement (used by OpenCode's own review.yml)
Add --pure flag to opencode run (skip external plugins)
Update docs/decisions.md with the sandboxing decision
Superseded by complytime/nunya#406, which proposes a four-layer defense-in-depth approach (pre-collect context + granular agent frontmatter permissions + Plan agent mode + --pure plugin isolation) that covers this issue's scope and goes further with read-only git/grep allowlisting instead of blanket deny.
Activity
sonupreetam commentedon Jul 16, 2026
Upstream tracking: complytime/nunya#406 (Layer 2+3 permission model)nunya#406 now proposes a four-layer defense-in-depth (updated from three):
--agent plan): Replace--dangerously-skip-permissions— tracked in nunya#406--pureflag): Skip external plugins to close plugin bypass vector — tracked in nunya#406Related security controls tracked separately:
sonupreetam commentedon Jul 23, 2026
Superseded by complytime/nunya#406, which proposes a four-layer defense-in-depth approach (pre-collect context + granular agent frontmatter permissions + Plan agent mode +
--pureplugin isolation) that covers this issue's scope and goes further with read-only git/grep allowlisting instead of blanket deny.docs: expand security risk A3 with credential trade-off analysis
docs: expand security risk A3 with credential trade-off analysis
docs: expand security risk A3 with credential trade-off analysis
feat: enforce runtime sandbox for council review