{
  "schema_version": 1,
  "run_id": "Aviation3006--logicguard-gpt-6-luna-1796386998198442577",
  "date": "2026-12-04T12:28:04.579406+00:00",
  "repo": "Aviation3006/logicguard",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "f531228d01981001e09cdd16f5a4ab5b3f304ddf",
  "outcome": "pass",
  "time_to_working_s": 240.95582815201487,
  "install_s": 62.84,
  "first_use_s": 55.198,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run LogicGuard's README offline diff scan against a changed invoice lookup and identify its IDOR vulnerability.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "The static and LLM reasoning engine identifies business-logic flaws in changes.",
      "source": "LogicGuard is an open-source, diff-aware static + LLM reasoning engine that catches business-logic flaws and AI-generated code bugs that regex linters miss.",
      "input": "Changed get_invoice(invoice_id) to fetch an invoice by user supplied ID without checking ownership.",
      "expected": "idor_ownership",
      "command": "<guest-path> diff --offline-only --fail-on critical",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: idor_ownership",
      "evidence": "…idor_ownership - Insecure Direct Object Reference (Missing            |\n| Ownership/Tenant Check)                                                      |\n| Location: examples/coldpass_idor.py:1-3 | Confidence: 0.50 | CWE-639         |\n| ❱ 1 def get_invoice(invoice_id: int):                                        |\n| ❱ 2     invoice = db.get(Invoice, invoice_id)                                |\n| ❱ 3     return invoice                                                       |\n| Explanation: Detects direct database or object lookups using a user-supplied |\n| identifier without verifying record owne",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "in 'examples/coldpass_idor.py' for         |\n| 'Insecure Direct Object Reference (Missing Ownership/Tenant Check)' and      |\n| verify appropriate security controls.                                        |\n+------------------------------------------------------------------------------+\n             Scan Summary             \n+------------------------------------+\n| Findings             | 1           |\n| Files scanned        | 1           |\n| Candidates evaluated | 1           |\n| Provider             | offline-ast |\n| Duration             | 8.6 ms      |\n+------------------------------------+\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "The offline-only diff quickstart runs deterministic AST checks.",
      "source": "README.md Quickstart: uvx logicguard diff --offline-only",
      "input": "A working tree diff adding an invoice lookup by user supplied ID.",
      "command": "<guest-path> diff --offline-only --fail-on critical",
      "evidence": " in 'examples/coldpass_idor.py' for         |\n| 'Insecure Direct Object Reference (Missing Ownership/Tenant Check)' and      |\n| verify appropriate security controls.                                        |\n+------------------------------------------------------------------------------+\n             Scan Summary             \n+------------------------------------+\n| Findings             | 1           |\n| Files scanned        | 1           |\n| Candidates evaluated | 1           |\n| Provider             | offline-ast |\n| Duration             | 6.9 ms      |\n+------------------------------------+",
      "deferred": false,
      "expected": "idor_ownership",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "in 'examples/coldpass_idor.py' for         |\n| 'Insecure Direct Object Reference (Missing Ownership/Tenant Check)' and      |\n| verify appropriate security controls.                                        |\n+------------------------------------------------------------------------------+\n             Scan Summary             \n+------------------------------------+\n| Findings             | 1           |\n| Files scanned        | 1           |\n| Candidates evaluated | 1           |\n| Provider             | offline-ast |\n| Duration             | 6.9 ms      |\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 Quickstart, CLI commands scan/diff/rules in src/logicguard/cli.py, and action.yml. They are on-demand scanning commands/action inputs; no scheduled cycle, background loop, or webhook trigger is documented.",
      "evidence": "Inspected README Quickstart, CLI commands scan/diff/rules in src/logicguard/cli.py, and action.yml. They are on-demand scanning commands/action inputs; no scheduled cycle, background loop, or webhook trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "f531228d01981001e09cdd16f5a4ab5b3f304ddf",
    "ci_read_at": "2026-12-04T12:08:09Z",
    "ci_state": "SUCCESS",
    "commits_90d": 31,
    "last_commit_at": "2026-12-04T11:38:49Z",
    "last_release_at": "2026-12-04T11:58:58Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 31 commits and 0 merged PRs in 90 days; 8 open issues, 0 open PRs; latest release 2026-12-04",
    "open_issues": 8,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "Git",
    "pip",
    "project dependencies installed in .venv"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Nothing suspicious seen in this run.",
    "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": [
          "python"
        ],
        "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": 34,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 33,
      "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-1da38b9605b8fb1db3b39fe4f55f15f3cb9627ea4a9aa2663bc4ca16ae5d54a0",
  "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"
}
