{
  "schema_version": 1,
  "run_id": "boxdawn--guard-claude-haiku-5-5-1795436395281311326",
  "date": "2026-11-23T12:21:43.040421+00:00",
  "repo": "boxdawn/guard",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "b11b4ca8a39a221767920d4cf64411ec2a1e437c",
  "outcome": "pass",
  "time_to_working_s": 74.02468173200032,
  "install_s": 31.635,
  "first_use_s": 4.17,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Judge a Bash command through the guard's PreToolUse hook and return a deny decision for a dangerous command",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Boxdawn guard is a Claude Code plugin that judges every Bash and PowerShell command before it runs.",
      "source": "Boxdawn guard is a Claude Code plugin that judges every Bash and PowerShell command before it runs.",
      "input": "rm -rf /home",
      "expected": "deny decision",
      "command": "<guest-path> -I -m boxdawn_guard.command_hook",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"permissionDecision\": \"deny\"",
      "evidence": "…\"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Boxdawn guard: `rm` reaches outside the project: `/home`\"}}",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "{\"hookSpecificOutput\": {\"hookEventName\": \"PreToolUse\", \"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Boxdawn guard: `rm` reaches outside the project: `/home`\"}}",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "The guard denies or asks, and never allows.",
      "source": "**Deny or ask, never allow.** `deny` refuses the command and gives the reason. `ask` shows Claude Code's own \"run this?\" prompt. No decision is not an approval: the decision goes to your own permission settings, as it would without the guard.",
      "input": "rm -rf /home",
      "expected": "deny decision",
      "command": "<guest-path> -I -m boxdawn_guard.command_hook",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"permissionDecision\": \"deny\"",
      "evidence": "…\"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Boxdawn guard: `rm` reaches outside the project: `/home`\"}}",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "{\"hookSpecificOutput\": {\"hookEventName\": \"PreToolUse\", \"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Boxdawn guard: `rm` reaches outside the project: `/home`\"}}",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "The guard reads bash -c commands the way the shell does.",
      "source": "**Reads the command the way the shell does.** Bash is parsed into a syntax tree (tree-sitter), so quoting, escapes, variables and `bash -c '…'` don't hide the real command. PowerShell is read by PowerShell's own parser on Windows.",
      "input": "bash -c 'rm -rf /home'",
      "expected": "deny decision",
      "command": "<guest-path> -I -m boxdawn_guard.command_hook",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"permissionDecision\": \"deny\"",
      "evidence": "…\"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Boxdawn guard: `rm` reaches outside the project: `/home`\"}}",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "{\"hookSpecificOutput\": {\"hookEventName\": \"PreToolUse\", \"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Boxdawn guard: `rm` reaches outside the project: `/home`\"}}",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "README has no cron, loop, webhook, --once or --now entrypoint; the guard runs only when Claude Code invokes its PreToolUse hook (plugin/hooks/hooks.json).",
      "evidence": "README has no cron, loop, webhook, --once or --now entrypoint; the guard runs only when Claude Code invokes its PreToolUse hook (plugin/hooks/hooks.json).",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "4ced232ed05475516ec3c325218cd9053d248b66",
    "ci_read_at": "2026-11-15T20:39:21Z",
    "ci_state": "SUCCESS",
    "commits_90d": 123,
    "last_commit_at": "2026-11-08T12:55:22Z",
    "last_release_at": "2026-11-08T13:19:59Z",
    "median_reply_hours": null,
    "merged_prs_90d": 47,
    "note": "actively maintained: last commit 0 days ago; 123 commits and 47 merged PRs in 90 days; 0 open issues, 1 open PRs; latest release 2026-11-08",
    "open_issues": 0,
    "open_prs": 1,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3 (README CI uses 3.12)",
    "pip/venv",
    "tree-sitter>=0.26",
    "tree-sitter-bash>=0.25.1",
    "cryptography>=42",
    "pytest>=8.0 (dev extra)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README documents no direct CLI invocation; the README's only install path is the Claude Code plugin (claude plugin marketplace add / install) which ships PyInstaller binaries. The probe instead runs the Python hook module that the plugin wraps, as CI's Python-side checks do.",
    "README says the plugin's binary is placed at session start by scripts/place.sh; that path was not exercised (no Claude Code, and no network needed)."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 encoded execution. 3 static matches retained as context.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "pip",
          "python3"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 0,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 13,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-4xh5-x5gv-qwph"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-58qw-9mgm-455v"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-6vgw-5pg2-w6jp"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-jp4c-xjxw-mgf9"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-qwm4-qh6w-59xr"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-wf93-45jw-7689"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1795"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1796"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-196"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2875"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2876"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-3721"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-fdbc37cfa4f4b1bdd1df2f50a5fff30276e52416f9bf601518f39b40ed2f4909",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 2
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
