This package prevents unsafe agent actions through OpenCode permissions, a guarded local commit path, and reviewable evidence. It does not sandbox Ruby projects: Bundler, tests, native builds, Git hooks, and project scripts execute with the local user's permissions.
The agent's OpenCode policy blocks reading or editing .env and .env.* files (.env.example remains readable), denies shell commands that reference secret-file paths, denies subagent delegation so the confirmation gates cannot be bypassed, and defaults unrecognized shell commands to an explicit confirmation. The secret-file rules are a boundary, not a sandbox: an application still loads its own .env inside its process, and no pattern match is a substitute for reviewing what OpenCode asks you to approve.
Use an isolated environment for repositories you do not trust. Never place credentials in migration reports. Report suspected vulnerabilities through GitHub private security advisories; do not open a public issue containing exploit details or secrets.
Only the latest published package version receives security fixes. Consumers must restart OpenCode after plugin updates so the new permission policy is loaded.