{
  "schema_version": 1,
  "run_id": "basdotio--bas-guard-gpt-6-luna-1795434958412527561",
  "date": "2026-11-23T12:09:28.151798+00:00",
  "repo": "basdotio/bas-guard",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "9efe48c963f480146b1bbbba08e971a16ae26aeb",
  "outcome": "pass",
  "time_to_working_s": 749.0035239490098,
  "install_s": 310.163,
  "first_use_s": 44.137,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Built BAS Guard and checked a benign skill directory, obtaining a JSON risk score of 100 with no findings.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Local scan and cleanup for AI agent environments.",
      "source": "> Local, offline security scan + junk cleanup for AI agent environments.",
      "input": "A benign skill directory scanned locally with network-independent CLI operation",
      "expected": "\"overall\": 100",
      "command": "<guest-path> scan --root <guest-path> --inbox off --json",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"overall\": 100",
      "evidence": "…\"overall\": 100,\n  \"overall_effective\": 100,\n  \"locations\": [\n    {\n      \"name\": \"Config root\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"read\"\n    },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Desktop session cache\",\n      \"path\": \"<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "  },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Desktop session cache\",\n      \"path\": \"<guest-path> Support/Claude/claude-code-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Downloads\",\n      \"path\": \"off\",\n      \"status\": \"off\"\n    }\n  ]\n}\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Scanning is read-only and does not execute scanned content.",
      "source": "**Local-first and offline**: never executes scanned content, no network, uploads nothing. Scanning is strictly read-only; the one command that writes (`clean`) moves and never deletes.",
      "input": "Run a JSON scan against a harmless local sample skill",
      "expected": "\"overall\": 100",
      "command": "<guest-path> scan --root <guest-path> --inbox off --json",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"overall\": 100",
      "evidence": "…\"overall\": 100,\n  \"overall_effective\": 100,\n  \"locations\": [\n    {\n      \"name\": \"Config root\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"read\"\n    },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Desktop session cache\",\n      \"path\": \"<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "  },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Desktop session cache\",\n      \"path\": \"<guest-path> Support/Claude/claude-code-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Downloads\",\n      \"path\": \"off\",\n      \"status\": \"off\"\n    }\n  ]\n}\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "The Go source build produces a single pure Go executable.",
      "source": "**Single binary**: pure Go, `CGO_ENABLED=0` — `curl` it down and run.",
      "input": "Build using README documented make build command",
      "expected": "\"score\": 100",
      "command": "<guest-path> check <guest-path> --json",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"score\": 100",
      "evidence": "…\"score\": 100,\n      \"score_effective\": 100,\n      \"findings\": []\n    }\n  ],\n  \"hygiene\": [],\n  \"notes\": [],\n  \"overall\": 100,\n  \"overall_effective\": 100,\n  \"locations\": [\n    {\n      \"name\": \"Config root\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"read\"\n    },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"sta",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": " \"path\": \"<guest-path>\",\n      \"status\": \"read\"\n    },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Desktop session cache\",\n      \"path\": \"<guest-path> Support/Claude/claude-code-sessions\",\n      \"status\": \"absent\"\n    }\n  ]\n}\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Build from source using the documented Go build target.",
      "source": "README.md: Install — From source",
      "input": "Go 1.23.5 source checkout",
      "command": "make build",
      "evidence": "go build -ldflags \"-s -w -X main.version=9efe48c -X main.commit=9efe48c -X main.date=2026-11-23T12:08:49Z\" -o bin/bas-guard ./cmd/bas-guard",
      "deferred": false,
      "expected": "bin/bas-guard built successfully",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "go build -ldflags \"-s -w -X main.version=9efe48c -X main.commit=9efe48c -X main.date=2026-11-23T12:08:49Z\" -o bin/bas-guard ./cmd/bas-guard\n",
      "stderr": "",
      "output_truncated": false,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Check one skill before installing it.",
      "source": "README.md: Usage — check ./some-skill",
      "input": "A harmless SKILL.md directory",
      "command": "<guest-path> check <guest-path> --json",
      "evidence": "\"path\": \"<guest-path>\",\n      \"status\": \"read\"\n    },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Desktop session cache\",\n      \"path\": \"<guest-path> Support/Claude/claude-code-sessions\",\n      \"status\": \"absent\"\n    }\n  ]\n}",
      "deferred": false,
      "expected": "check command emits a JSON score for the skill",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "path\": \"<guest-path>\",\n      \"status\": \"read\"\n    },\n    {\n      \"name\": \"User MCP config\",\n      \"path\": \"<guest-path>\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Claude Desktop store\",\n      \"path\": \"<guest-path> Support/Claude/local-agent-mode-sessions\",\n      \"status\": \"absent\"\n    },\n    {\n      \"name\": \"Desktop session cache\",\n      \"path\": \"<guest-path> Support/Claude/claude-code-sessions\",\n      \"status\": \"absent\"\n    }\n  ]\n}\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "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": "Inspected README usage and Makefile entrypoints. They describe one-shot scan/check/clean and build commands; no product cron, loop, webhook, --once, or --now cycle is documented.",
      "evidence": "Inspected README usage and Makefile entrypoints. They describe one-shot scan/check/clean and build commands; no product cron, loop, webhook, --once, or --now cycle is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "a70a926ee65ae63b349bfd9f2d68ab2ceb78d662",
    "ci_read_at": "2026-11-15T20:38:56Z",
    "ci_state": "SUCCESS",
    "commits_90d": 787,
    "last_commit_at": "2026-11-05T11:07:24Z",
    "last_release_at": "2026-10-27T10:49:05Z",
    "median_reply_hours": null,
    "merged_prs_90d": 129,
    "note": "slow: last commit 2 days ago; 787 commits and 129 merged PRs in 90 days; 0 open issues, 12 open PRs; 0 of 11 recent threads got a maintainer reply; latest release 2026-10-27",
    "open_issues": 0,
    "open_prs": 12,
    "reply_share": 0.0,
    "reply_threads": 11,
    "verdict": "slow"
  },
  "dependencies": [
    "Go 1.23.5",
    "make"
  ],
  "local_or_hosted": "both",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 7 hardcoded secret, 1 known vulnerability. 39 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": [
          "http"
        ],
        "names": [
          "_http._tcp.archive.ubuntu.com",
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "golang.org/x/sys",
        "version": "0.29.0",
        "advisory": "GO-2026-5024"
      }
    ],
    "secrets": 46,
    "secrets_in_tests": 39,
    "download_lines_in_tests": 0,
    "dependency_versions": 6,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 0,
      "malicious": [],
      "vulnerabilities": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-be572214a9782351b2f702186a2c108e2a451e23dc33e3d470c843a43cd9e9d9",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "archive.ubuntu.com",
        "github.com",
        "security.ubuntu.com"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "archive.ubuntu.com",
        "github.com",
        "security.ubuntu.com"
      ],
      "package_registries": [
        "archive.ubuntu.com",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 6
    },
    "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"
}
