Skip to content

feat: runtime sandbox for council-review-action #426

Closed

Description

@sonupreetam

Parent

Tracks under complytime/nunya#406 (Review Council Defense in Layers)

Closes nunya#406 that supersedes #337

Summary

Enforce runtime tool restrictions for the council-review-action
using OpenCode's permission system. The action processes untrusted
PR diff content through an LLM — prompt-level instructions alone
are not enforcement.

Implementation

Three-layer defense-in-depth (Layer 3 from nunya#406 rejected —
see design decision D5):

Layer Mechanism Status
1. Pre-collect context prefetch.sh fetches CI, reviews, issues Done (#336)
2. Runtime permissions OPENCODE_CONFIG_CONTENT denies bash/edit/webfetch/websearch/skill; agent frontmatter migrated to permission: Done (#425)
3. Plan agent --agent plan Rejected (breaks multi-agent review)
4. Plugin isolation --pure flag on opencode run Done (#425)

PR

Evidence

Activity

  1. added
    github_actions
    security
    on Aug 3, 2026
  2. self-assigned this
    on Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

github_actionssecurity

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions