{
  "name": "boxdawn/guard — 4 hooks",
  "slug": "source-hooks-9053a5d8cae1faf91c0a6199",
  "type": "hooks",
  "category": "developer-tools",
  "example": false,
  "evidence_state": "pinned_source_listing",
  "stamp": "Pinned source listing — machine-checked",
  "summary": "Pinned source declarations and file hashes were listed.",
  "outcome": "Listed 4 hook declarations. Ran 41 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
  "rule_results": [
    "The retained source tree matches its acquisition manifest.",
    "Declared hook names (listing.json): SessionStart; SessionStart; PreToolUse; PreToolUse"
  ],
  "task": "What declarations and files are present in this pinned source?",
  "setup": "Git blob acquisition followed by static source inspection.",
  "limitations": "Scope: acquisition and static inspection. Command results: commands.json.",
  "source_url": "https://github.com/boxdawn/guard",
  "documentation_url": "https://github.com/boxdawn/guard",
  "commit": "16b76e1d4eb627ca6899097b0c84dc463477308a",
  "tree_sha256": "d3e1f1da32a9e82724291ea19551bfff27b7f4e18877c5315d3889c28f355b1c",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "b84dd71468371e6cf77a600f4c0421a35995ff3c13849c7b69de1ca3d9a4aa1b",
    ".gitattributes": "1d5d71dcc6ccd28ab46a335349ecc74742ca4b81f4fcad212f8d134f70f1f13e",
    ".github/workflows/build.yml": "a0d5c2251e6df1b44b2fcc437b7f74eb6cdc067471e49405549abb297d1d677c",
    ".github/workflows/tests.yml": "61953c1e8eed2a75ab9f39bba832e4841d3f97bc12a7f6fc4ec685b69bf52653",
    ".gitignore": "62a3808282417a3a3b80b917ef5e60d4f9cf496e54a06cefbd5cce26d026d937",
    "LICENSE.md": "13b5e5372bf3d11e0f628ae4424fe635c16d595cc51f41cb2a5a531986421c8b",
    "README.md": "dc7736829b31ced4e62d159003379a612b54b2201784fb570a5ed1c3908a40fa",
    "boxdawn_guard/__init__.py": "95a78fc38e64f13dd79ed080109a04918de3b1dcae83e6d74ee263056a817644",
    "boxdawn_guard/block_log.py": "c8961a40ea9159de9f6c696b23b6d5ae5653f176255ecabd73716ce7808bfee8",
    "boxdawn_guard/block_send.py": "9237d39feeefa519481c477790346818a866a2a64c7acab8ed2f55981bd3b42b",
    "boxdawn_guard/command_guard.py": "e51e1ad2cbd9a5ea46517f67a40d11a6a72b0c2000e193b2dd334ee973ec4e17",
    "boxdawn_guard/command_hook.py": "d1ef53702ec8a1eb22804e329c21e99134780b8a20298a9511bd6f1736cd1e4c",
    "boxdawn_guard/command_rules_source.py": "5c0107338694b1b78c379ea8db625896d3fb4006210f297c83b561eaedd6cb1e",
    "boxdawn_guard/powershell_guard.py": "dbd6e5038f48c342a3ef163759304b07fd416c8b8c750972c2d9942e95bb37cc",
    "boxdawn_guard/rules_bundle.py": "1fada6ff3f96f0a3a858130c19da349f7f97abbabafaafd900e61fdcbe512575",
    "boxdawn_guard/secret_files.py": "abdd6783cc2b694e5f641199743976eec07725781611dd3e43565795a1b318ca",
    "boxdawn_guard/tests/test_block_log.py": "5b0b314a8fd256efd77aa9612bbaa2f0741d684cb1d2103c8f2c2d24f0b35113",
    "boxdawn_guard/tests/test_block_send.py": "be0c30e5ba7c02e8c43445d60e37779818682a3f2bb2fbbec255d774815d5005",
    "boxdawn_guard/tests/test_command_guard.py": "962868500bfa39464f370d232c8a9868870067bbe0d77a53b0411339ce82238e",
    "boxdawn_guard/tests/test_command_hook.py": "6353c17874e19ce763866cdebd40dd604db9d4034b56468f6428299148d7b2b4",
    "boxdawn_guard/tests/test_custom_rules.py": "e32355e1b79ca2c3d13503f697ecaefd849bdc3d72036fe8181beb9fe5773689",
    "boxdawn_guard/tests/test_guard_findings.py": "0bde343a9ca8c3d0126189e0d8c8c66bf35fe15ada63adeaa4525b07b7d2171c",
    "boxdawn_guard/tests/test_powershell_guard.py": "359b324f18bf513b48dd258fc8d2821eaa1c03a02fc1073c7ab41d40dddee4df",
    "boxdawn_guard/tests/test_rules_bundle.py": "4720d899056f565fc740bd4c1a7b0a626ff0414c3a464e83527ebe7f94a34daf",
    "boxdawn_guard/tests/test_secret_files.py": "24fadc25ee1c37b03764c0346cf29464fff01d20204f3f5218ac07b8b42c18b7",
    "packaging/bdxguard.spec": "67880f27132fcc211505258f99b9c03fcdff949fa80812849e3976599319e536",
    "packaging/check_binary.py": "7835f266c65fc4394e0532d51292ef5eac2958166697da2d8fb3249d74196f5d",
    "packaging/guard_entry.py": "558785bf9d1fa96a6a0736fa4af91aa925b517df0682be750d4d84ca5a1a80b9",
    "packaging/psparse/BdxPsParse.cs": "a5ea217cd58969d26d8be7a3355f50c162b5c6d23cef15cf976e628dda66dadb",
    "packaging/psparse/build.ps1": "e96cf55e716f50e2fcba0a7dbc4f98c56a20d47dda0e2c27d06a471cc0e7e887",
    "packaging/runtime_test.py": "be0d882d4e6a8457a82239eff8c8ab983211ce1828c43897fe89a92fcf4e887c",
    "plugin/.claude-plugin/plugin.json": "4e10a4043210850a3b8f18aa2065e28b057efd3d209b132397fce588c629f56b",
    "plugin/hooks/hooks.json": "35de914e20000d22b8f0e42a1002239bcdff7f4bdc3257423efafb164069d8f8",
    "plugin/scripts/place.ps1": "63bc3ebc23e08e5aea89f0f84fbafcd572b02df5cf2a5bd74dec27ea84ffdb5e",
    "plugin/scripts/place.sh": "afda19fddd7aea0639e5aa5533d6ef657644a93716c474f3b025d53aa0e3a29f",
    "pyproject.toml": "07ec865815a18095a18daa25d037a98543f902bcede8e4643f38187988cef7bc"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-05T04:31:57Z",
  "source_date": "2026-11-01",
  "discovered_date": "2026-11-01",
  "retested_date": "2026-11-05",
  "reviewed_date": "2026-11-05",
  "published_date": "2026-11-05",
  "modified_date": "2026-11-05",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit 60d7b55955bacc5422a3434a16405baccec4dd5f",
  "claude_code_version": "Not applicable: static source inspection (commands.json).",
  "model_id": "Not applicable: static source inspection (commands.json).",
  "scanner_version": "Not applicable: static source inspection.",
  "rulepack_version": "Not applicable: static source inspection.",
  "agents": [],
  "disclaimer": "This record lists declarations and file hashes from a pinned source tree. Git command results from acquisition and static inspection are retained in commands.json. Scope: acquisition and static inspection. It is not a security or quality verdict. Changed bytes are outside this record.",
  "commands": [
    "Ran 41 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection."
  ],
  "prompt_list": [
    "Not applicable: static source inspection (commands.json)."
  ],
  "history": [
    "2026-11-05T04:31:57Z: pinned source inspection"
  ],
  "application": {
    "name": "boxdawn/guard — 4 hooks",
    "softwareVersion": "16b76e1d4eb627ca6899097b0c84dc463477308a",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 41 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
    "sinkhole_log": "Not applicable: static source inspection (commands.json).",
    "canary_log": "Not applicable: static source inspection (commands.json).",
    "scanner_output": "Not applicable: static source inspection (commands.json).",
    "normalized_text": "{\n  \"listing\": {\n    \"skills\": [],\n    \"hooks\": [\n      {\n        \"path\": \"plugin/hooks/hooks.json\",\n        \"sha256\": \"35de914e20000d22b8f0e42a1002239bcdff7f4bdc3257423efafb164069d8f8\",\n        \"event\": \"SessionStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh\",\n          \"args\": [\n            \"${CLAUDE_PLUGIN_ROOT}/scripts/place.sh\"\n          ]\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"plugin/hooks/hooks.json\",\n        \"sha256\": \"35de914e20000d22b8f0e42a1002239bcdff7f4bdc3257423efafb164069d8f8\",\n        \"event\": \"SessionStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"powershell.exe\",\n          \"args\": [\n            \"-NoProfile\",\n            \"-ExecutionPolicy\",\n            \"Bypass\",\n            \"-File\",\n            \"${CLAUDE_PLUGIN_ROOT}/scripts/place.ps1\"\n          ]\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"plugin/hooks/hooks.json\",\n        \"sha256\": \"35de914e20000d22b8f0e42a1002239bcdff7f4bdc3257423efafb164069d8f8\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Bash|PowerShell\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"${CLAUDE_PLUGIN_DATA}/current/bdxguard.exe\",\n          \"args\": [],\n          \"onFailure\": \"block\"\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"plugin/hooks/hooks.json\",\n        \"sha256\": \"35de914e20000d22b8f0e42a1002239bcdff7f4bdc3257423efafb164069d8f8\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Read|Grep\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"${CLAUDE_PLUGIN_DATA}/current/bdxguard.exe\",\n          \"args\": []\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "b6db75811338e9b3e480a4b5e3cc6cde8d149b8998bc5fff7ad6efa1b48080c0",
      "commands.json": "fac5bfea1a37bceb8c81ba5593951e149ea6d7f7c0747f7e2666eee67979e54d",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "d9e218ef7d9f331b343a462f888d4f5a40108490942ee5c04fe7589eaaf318a1",
      "listing.json": "46ca6ee730880126c44ecbbae78460fb7bda618218d03bc9c1b7e73f586b0799",
      "selection.json": "0f185f31f2c0767c50e8c516b88949ff063d1fff92c29dfd1f296e65b2230105"
    },
    "claims": [
      {
        "id": "acquired",
        "field": "summary",
        "text": "Pinned source declarations and file hashes were listed.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "listed",
        "field": "outcome",
        "text": "Listed 4 hook declarations. Ran 41 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "tree",
        "field": "rule_results.0",
        "text": "The retained source tree matches its acquisition manifest.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "declared",
        "field": "rule_results.1",
        "text": "Declared hook names (listing.json): SessionStart; SessionStart; PreToolUse; PreToolUse",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-05",
    "reviewed_sha256": "39258ed2125efdf3d6a3b0329cc076dd5945d692b899c60f47371fa0a2abeee4",
    "gates": "def1dd7f860d7ec6c5df9274c240c2ba118237b3c985f69bfcde0f5c30c0e190",
    "codex": "953f1d205deab47581700f290393557c47b4fa89e24ed048db30a3f6b2eabc8d",
    "grok": "5fa1d6119fb302f9218a28808882a7e311adf5a1586301fd25183353ac4f8723",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
