{
  "schema_version": 1,
  "id": "agent-permissions-scan",
  "track": "coding",
  "name": "Scan Agent Permission Settings",
  "version": "0.2.2",
  "sha256": "e99236718000ebee6efee9ca05c12899eab612ca643ea07bdaa24b195a79d106",
  "sha256_v1": "2315641dd85f13a35d63d3bf942d74764f937bf67774017847761f2167c0aec3",
  "keyword": "block",
  "word": "blocks",
  "says": "blocks on an agent's file writes and at turn end",
  "description": "Blocks: parses agent permission configs (.claude/settings*, .codex, .gemini, .vscode, .cursor/cli.json, opencode, .aider, .continue) and flags added bare or wildcard allows (Bash, curl/rm/sudo/git push, WebFetch, Write/Edit globs, mcp__*), removed deny entries, bypass/auto modes, codex never+danger, yolo, autoAccept, yes-always, regex-all VS Code approve, Claude project env API-endpoint overrides and enableAllProjectMcpServers. Misses: other MCP configs, user-level settings, scripts, Read.",
  "misses": "other MCP configs, user-level settings, scripts, Read.",
  "where": [
    "write",
    "turn-end"
  ],
  "groups": [
    "agent-config"
  ],
  "eval_cases": 54,
  "eval_executed": 54,
  "latest": {
    "version": "0.2.2",
    "date": "2026-10-27",
    "change": "Title wording only (IR-F40): \"Agent Permissions Scan\" is now \"Scan Agent Permission Settings\". The id, guard and tests are unchanged."
  },
  "agent_labels": {
    "claude-code": {
      "keyword": "block",
      "says": "blocks on an agent's file writes and at turn end"
    },
    "cursor": {
      "keyword": "block",
      "says": "blocks on an agent's file writes and at turn end"
    },
    "codex": {
      "keyword": "block",
      "says": "blocks on an agent's file writes and at turn end. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run)"
    },
    "copilot": {
      "keyword": "block",
      "says": "blocks at turn end only. It does not check a file write when it happens. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run)"
    },
    "devin": {
      "keyword": "block",
      "says": "blocks at turn end only. It does not check a file write when it happens. If the hook errors, the action goes through (vendor docs only, not witnessed)"
    },
    "grok": {
      "keyword": "ungraded",
      "says": "Not graded yet for Grok"
    },
    "goose": {
      "keyword": "ungraded",
      "says": "Not graded yet for goose"
    },
    "antigravity": {
      "keyword": "ungraded",
      "says": "Not graded yet for Antigravity"
    },
    "openhands": {
      "keyword": "ungraded",
      "says": "Not graded yet for OpenHands"
    },
    "kimi-code": {
      "keyword": "ungraded",
      "says": "Not graded yet for Kimi Code"
    },
    "factory-droid": {
      "keyword": "ungraded",
      "says": "Not graded yet for Factory Droid"
    }
  },
  "source_url": "https://github.com/open-coder-ai/chock-catalog/tree/1e60d211c1bb767152c6ab0167932da06ab3a10f/base/agent-permissions-scan",
  "enforces": "enforced-at-commit",
  "examples": [
    {
      "word": "Refused",
      "prompt": "A settings file allows every tool with the star alone on its own line, the pretty-printed form the line-based sibling cannot see.",
      "command": null
    },
    {
      "word": "Allowed",
      "prompt": "A scoped Bash prefix allow.",
      "command": null
    }
  ]
}
