Skip to content

open-coder-ai/block-wildcard-agent-permissions

v0.0.10Apache-2.0

Blocks agent grants that allow everything: a bare Bash wildcard, a * in an allow/alwaysAllow/tools array on the same line, or quoted defaultMode bypassPermissions. Any file is judged. Not caught here: a multi-line array or YAML - "*" list, an unquoted defaultMode (agent-permissions-scan warns). Runs: commit, agent write, turn's end. Waiver: 'pragma: allowlist broad-agency' same line. Person's commit: honoured. Agent: only if already in HEAD; MCP gateway: never. Agent asks a person.