{
  "schema_version": 1,
  "run_id": "rctruta--ai-sec-gate-gpt-6-luna-1796168292658817124",
  "date": "2026-12-01T23:40:37.645683+00:00",
  "repo": "rctruta/ai-sec-gate",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "df90ec89a5c6853fd73b09e02b57fdba56978a58",
  "outcome": "pass",
  "time_to_working_s": 100.31155378599942,
  "install_s": 27.012,
  "first_use_s": 3.81,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "ai-sec-gate check . --format json",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Repository security posture verifier",
      "source": "Zero-dependency security posture verifier, semantic crypto/auth analyzer, behavioral KDF test helper library, and active hook prover for repositories written with AI coding agents.",
      "input": "Current checkout repository",
      "expected": "A JSON security posture report with maturity_level 3, five posture checks passed, and zero findings.",
      "command": "<guest-path> check . --format json",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"maturity_level\": 3",
      "evidence": "…\"maturity_level\": 3,\n  \"maturity_label\": \"LEVEL_3_HARDENED\",\n  \"summary\": {\n    \"total_findings\": 0,\n    \"posture_passed\": 5,\n    \"posture_total\": 5,\n    \"probes_blocked\": 0,\n    \"probes_total\": 0\n  },\n  \"posture\": [\n    {\n      \"check_id\": \"POSTURE-ENV\",\n      \"passed\": true,\n      \"required_for_level\": 2,\n      \"detail\": \".env is gitignored and untracked.\"\n    },\n    {\n      \"check_id\": \"POSTURE-SECRETS\",\n      \"passed\": true,\n      \"required_for_level\": 3,\n      \"detail\": \"Secret scanner declared in .pre-commit-config.yaml.\"\n    },\n    {\n      \"check_id\": \"POSTURE-SAST\",\n      \"passed\": tru",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "  },\n    {\n      \"check_id\": \"POSTURE-DEP-AUDIT\",\n      \"passed\": true,\n      \"required_for_level\": 4,\n      \"detail\": \"CI dependency audit ('--with-deps-audit') found in ci.yml.\"\n    }\n  ],\n  \"adapters\": [\n    {\n      \"language\": \"agent-surface\",\n      \"detected\": true,\n      \"files_scanned\": 36,\n      \"findings\": [],\n      \"notes\": []\n    },\n    {\n      \"language\": \"python\",\n      \"detected\": true,\n      \"files_scanned\": 19,\n      \"findings\": [],\n      \"notes\": [\n        \"External ruff S-scan skipped (already enforced via ruff-check + 'S' in pre-commit).\"\n      ]\n    }\n  ],\n  \"probes\": []\n}\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Fast static evaluation (caps at Level 3; prints tip when ready for --prove)",
      "source": "README.md, Local CLI & Module Invocation",
      "input": "Current checkout repository",
      "command": "<guest-path> check . --format json",
      "evidence": "   },\n    {\n      \"check_id\": \"POSTURE-DEP-AUDIT\",\n      \"passed\": true,\n      \"required_for_level\": 4,\n      \"detail\": \"CI dependency audit ('--with-deps-audit') found in ci.yml.\"\n    }\n  ],\n  \"adapters\": [\n    {\n      \"language\": \"agent-surface\",\n      \"detected\": true,\n      \"files_scanned\": 36,\n      \"findings\": [],\n      \"notes\": []\n    },\n    {\n      \"language\": \"python\",\n      \"detected\": true,\n      \"files_scanned\": 19,\n      \"findings\": [],\n      \"notes\": [\n        \"External ruff S-scan skipped (already enforced via ruff-check + 'S' in pre-commit).\"\n      ]\n    }\n  ],\n  \"probes\": []\n}",
      "deferred": false,
      "expected": "Level 3 JSON scan with maturity_level 3 and zero findings",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "  },\n    {\n      \"check_id\": \"POSTURE-DEP-AUDIT\",\n      \"passed\": true,\n      \"required_for_level\": 4,\n      \"detail\": \"CI dependency audit ('--with-deps-audit') found in ci.yml.\"\n    }\n  ],\n  \"adapters\": [\n    {\n      \"language\": \"agent-surface\",\n      \"detected\": true,\n      \"files_scanned\": 36,\n      \"findings\": [],\n      \"notes\": []\n    },\n    {\n      \"language\": \"python\",\n      \"detected\": true,\n      \"files_scanned\": 19,\n      \"findings\": [],\n      \"notes\": [\n        \"External ruff S-scan skipped (already enforced via ruff-check + 'S' in pre-commit).\"\n      ]\n    }\n  ],\n  \"probes\": []\n}\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled CVE Drift Checks",
      "source": "README.md",
      "input": "CI workflow configuration in this checkout",
      "expected": "The README documents scheduled dependency audits as a GitHub Actions schedule trigger; no local runtime cycle to execute.",
      "command": "/usr/bin/true",
      "schedule": "weekly GitHub Actions schedule trigger",
      "method": "manual",
      "verdict": "no",
      "outcome": "Triggered one cycle by hand (manual; normal trigger: weekly GitHub Actions schedule trigger): probe must exercise the product, not print text; probe must exercise the product, not print text",
      "evidence": "probe must exercise the product, not print text; probe must exercise the product, not print text"
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "f4432c38c72476254e59a2635bcf35af54a17c62",
    "ci_read_at": "2026-12-01T23:21:45Z",
    "ci_state": "SUCCESS",
    "commits_90d": 17,
    "last_commit_at": "2026-12-01T23:10:26Z",
    "last_release_at": "2026-12-01T23:11:14Z",
    "median_reply_hours": null,
    "merged_prs_90d": 8,
    "note": "actively maintained: last commit 0 days ago; 17 commits and 8 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-12-01",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip",
    "hatchling build backend"
  ],
  "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": [
          "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": 7,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 9,
      "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-4243f19282e59714a358f5d27849c5ebf3ef413d1667fe1ae5969f004abbb1d7",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 1
    },
    "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"
}
