{
  "schema_version": 1,
  "run_id": "jwcy-jy--redact-audit-gpt-6-luna-1796279195246516683",
  "date": "2026-12-03T06:28:25.763759+00:00",
  "repo": "jwcy-jy/redact-audit",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "c89b39c06f700bcb659b0a4b43b1984b82f1ff95",
  "outcome": "pass",
  "time_to_working_s": 68.86926118299016,
  "install_s": null,
  "first_use_s": 1.951,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "redact-audit --adapter cosy --only detect,integrity --json",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "audit redaction gateways using repeatable measurements",
      "source": "Audit whether an **LLM redaction gateway** actually works.",
      "input": "--adapter cosy --only detect,integrity",
      "expected": "\"tp\": 33",
      "command": "<guest-path> --adapter cosy --only detect,integrity --json --out <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"tp\": 33",
      "evidence": "…\"tp\": 33,\n    \"fp\": 13,\n    \"fn\": 0,\n    \"tn\": 18,\n    \"precision\": 0.7174,\n    \"recall\": 1.0,\n    \"f1\": 0.8354,\n    \"specificity\": 0.5806,\n    \"by_category\": {\n      \"ai\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"cloud\": {\n        \"ok\": 4,\n        \"miss\": 0\n      },\n      \"credential\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"messaging\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"payment\": {\n        \"ok\": 3,\n        \"miss\": 0\n      },\n      \"pii_cn\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"pii_generic\": {\n        \"ok\": 1,\n        \"miss\": 0\n      ",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "\n        \"ok\": true,\n        \"leaked_chars\": 0,\n        \"total_chars\": 18,\n        \"leak_ratio\": 0.0,\n        \"leaked\": \"\",\n        \"spans\": 1,\n        \"note\": \"紧邻数字时 18 位身份证边界（诱饵不含 secret）\",\n        \"error\": null\n      },\n      {\n        \"id\": \"card-in-text\",\n        \"category\": \"pii\",\n        \"ok\": true,\n        \"leaked_chars\": 0,\n        \"total_chars\": 19,\n        \"leak_ratio\": 0.0,\n        \"leaked\": \"\",\n        \"spans\": 1,\n        \"note\": \"带空格的卡号\",\n        \"error\": null\n      }\n    ]\n  },\n  \"roundtrip\": {},\n  \"frag\": {},\n  \"rehydrate\": {},\n  \"egress\": {},\n  \"errors\": [],\n  \"skipped\": \"\"\n}\n",
      "stderr": "",
      "output_truncated": true,
      "file_checked": true,
      "file_excerpt": "{\n  \"adapter\": \"cosy\",\n  \"mode\": \"offline\",\n  \"version\": \"gitleaks=218\",\n  \"started_at\": \"2026-12-03T06:28:15\",\n  \"duration_s\": 0.3,\n  \"detect\": {\n    \"tp\": 33,\n    \"fp\": 13,\n    \"fn\": 0,\n    \"tn\": 18,\n    \"precision\": 0.7174,\n    \"recall\": 1.0,\n    \"f1\": 0.8354,\n    \"specificity\": 0.5806,\n    \"by_category\": {\n      \"ai\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"cloud\": {\n        \"ok\": 4,\n        \"miss\": 0\n      },\n      \"credential\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"messaging\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"payment\": {\n        \"ok\": 3,\n  ",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Fastest useful subset",
      "source": "README.md, Install and use",
      "input": "Cosy detect and integrity audit",
      "command": "<guest-path> --adapter cosy --only detect,integrity --json --out <guest-path>",
      "evidence": "pw` | connection-string | ✅ | — | 密码含 $$（shell 展开常见） |\n| `db-long-pw` | connection-string | ✅ | — | 36 字符强密码 |\n| `key-env-export` | context | ✅ | — | shell export 形式 |\n| `key-json-escaped` | context | ✅ | — | JSON 内联 |\n| `key-in-url-query` | context | ✅ | — | URL query 参数 |\n| `key-adjacent` | context | ✅ | — | 两个相邻 token，第二个是否也被遮 |\n| `pem-middle-line` | private-key | ✅ | — | PEM 主体行是否被整体覆盖（而非只遮 BEGIN/END） |\n| `phone-adjacent-digits` | pii | ✅ | — | 紧邻长数字串时边界是否可靠（诱饵 12 位不含 secret） |\n| `id-in-longer-number` | pii | ✅ | — | 紧邻数字时 18 位身份证边界（诱饵不含 secret） |\n| `card-in-text` | pii | ✅ | — | 带空格的卡号 |\n",
      "deferred": false,
      "expected": "TP 33 and 11 of 13 integrity cases pass",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "\n        \"ok\": true,\n        \"leaked_chars\": 0,\n        \"total_chars\": 18,\n        \"leak_ratio\": 0.0,\n        \"leaked\": \"\",\n        \"spans\": 1,\n        \"note\": \"紧邻数字时 18 位身份证边界（诱饵不含 secret）\",\n        \"error\": null\n      },\n      {\n        \"id\": \"card-in-text\",\n        \"category\": \"pii\",\n        \"ok\": true,\n        \"leaked_chars\": 0,\n        \"total_chars\": 19,\n        \"leak_ratio\": 0.0,\n        \"leaked\": \"\",\n        \"spans\": 1,\n        \"note\": \"带空格的卡号\",\n        \"error\": null\n      }\n    ]\n  },\n  \"roundtrip\": {},\n  \"frag\": {},\n  \"rehydrate\": {},\n  \"egress\": {},\n  \"errors\": [],\n  \"skipped\": \"\"\n}\n",
      "stderr": "",
      "output_truncated": true,
      "file_checked": true,
      "file_excerpt": "{\n  \"adapter\": \"cosy\",\n  \"mode\": \"offline\",\n  \"version\": \"gitleaks=218\",\n  \"started_at\": \"2026-12-03T06:28:16\",\n  \"duration_s\": 0.26,\n  \"detect\": {\n    \"tp\": 33,\n    \"fp\": 13,\n    \"fn\": 0,\n    \"tn\": 18,\n    \"precision\": 0.7174,\n    \"recall\": 1.0,\n    \"f1\": 0.8354,\n    \"specificity\": 0.5806,\n    \"by_category\": {\n      \"ai\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"cloud\": {\n        \"ok\": 4,\n        \"miss\": 0\n      },\n      \"credential\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"messaging\": {\n        \"ok\": 5,\n        \"miss\": 0\n      },\n      \"payment\": {\n        \"ok\": 3,\n ",
      "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 and entrypoints: documented operations are manually invoked CLI audits and comparison; no scheduler, cron, loop, webhook, --once, or --now trigger is documented.",
      "evidence": "Inspected README and entrypoints: documented operations are manually invoked CLI audits and comparison; no scheduler, cron, loop, webhook, --once, or --now trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "c89b39c06f700bcb659b0a4b43b1984b82f1ff95",
    "ci_read_at": "2026-12-03T06:04:33Z",
    "ci_state": "SUCCESS",
    "commits_90d": 10,
    "last_commit_at": "2026-12-03T05:57:57Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 10 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "Node v22.23.4"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 20 hardcoded secret. 1 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": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 21,
    "secrets_in_tests": 1,
    "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": 3,
      "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",
        "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"
}
