{
  "schema_version": 1,
  "run_id": "Malwation--threatzone-python-sdk-claude-haiku-5-5-1795564700964258950",
  "date": "2026-11-25T00:00:50.861679+00:00",
  "repo": "Malwation/threatzone-python-sdk",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "fafb5572b53a4a16935d12b1ebbee678fc022ca8",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 40.051,
  "first_use_s": null,
  "stuck_step": "/bin/bash -c 'o=$(mktemp);e=$(mktemp);/bin/bash --noprofile --norc -c \"$1\" </dev/null >\"$o\" 2>\"$e\";c=$?;cat \"$o\";cat \"$e\" >&2;rm -f \"$o\" \"$e\";exit $c' coldpass 'exec /usr/bin/env -i USER=agent LOGNAME=agent USERNAME=agent <email> '\"'\"'GIT_AUTHOR_NAME=Coldpass Cold Agent'\"'\"' <email> '\"'\"'GIT_COMMITTER_NAME=Coldpass Cold Agent'\"'\"' <email> GIT_CONFIG_NOSYSTEM=1 GIT_CONFIG_SYSTEM=/dev/null GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_COUNT=5 GIT_CONFIG_KEY_0=user.name '\"'\"'GIT_CONFIG_VALUE_0=Coldpass Cold Agent'\"'\"' GIT_CONFIG_KEY_1=user.email <email> GIT_CONFIG_KEY_2=user.useConfigOnly GIT_CONFIG_VALUE_2=true GIT_CONFIG_KEY_3=credential.helper GIT_CONFIG_VALUE_3= GIT_CONFIG_KEY_4=safe.directory '\"'\"'GIT_CONFIG_VALUE_4=*'\"'\"' HOME=<guest-path> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 SHELL=/bin/bash <env-var>=<guest-path> XDG_CONFIG_HOME=<guest-path> NPM_CONFIG_CACHE=/var<guest-path> PIP_CACHE_DIR=/var<guest-path> CARGO_HOME=/var<guest-path> GOCACHE=/var<guest-path> GOMODCACHE=/var<guest-path> /bin/bash --noprofile --norc -c '\"'\"'cd <guest-path> && cd <guest-path> && cat > .coldpass/examples.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n[\n {\"kind\":\"example\",\"claim\":\"The client reads THREATZONE_API_KEY from the environment and fails without it\",\"source\":\"examples/README.md: export PUBLIC_API_TOKEN=... then python examples/recipe_01_submit_and_wait.py\",\"input\":\"no PUBLIC_API_TOKEN set\",\"expected\":\"example exits 1 asking for PUBLIC_API_TOKEN (live run needs a user token)\",\"argv\":[\".venv/bin/python\",\"examples/recipe_01_submit_and_wait.py\"],\"cwd\":\"<guest-path>\",\"env\":{},\"stdin\":\"\",\"expected_returncode\":1,\"expected_text\":\"PUBLIC_API_TOKEN env var is required\"}\n]\nEOF\ncat > .coldpass/cycles.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"detected\":false,\"checks\":[],\"reason\":\"Inspected README.md (no cron, schedule, loop, webhook, --once or --now behaviour described), pyproject.toml (no console scripts), and src/threatzone (library only; the grep hits for '\"'\"'\"'\"'\"'\"'\"'\"'schedule'\"'\"'\"'\"'\"'\"'\"'\"' are type/field names such as static_scan and network models, not a scheduler).\"}\nEOF\nmkdir -p .coldpass && cat > .coldpass/report.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"outcome\":\"needs_credentials\",\"fault_owner\":\"prerequisite\",\"operation\":\"Install threatzone SDK per README '\"'\"'\"'\"'\"'\"'\"'\"'Install'\"'\"'\"'\"'\"'\"'\"'\"' and exercise the client'\"'\"'\"'\"'\"'\"'\"'\"'s documented API-key configuration\",\"operation_scope\":\"Install from source checkout into <guest-path>; verify documented missing-key error. Live Threat.Zone calls (submissions, reports) were not run because no THREATZONE_API_KEY / PUBLIC_API_TOKEN is available in this guest.\",\"steps\":[\"git init; git remote add origin https://github.com/Malwation/threatzone-python-sdk; git fetch --depth 1 origin fafb5572b53a4a16935d12b1ebbee678fc022ca8; git reset --mixed FETCH_HEAD\",\"python3 -m venv .venv (Python 3.12.3; README/.python-version require 3.10+)\",\".venv/bin/pip install -e .  (installed threatzone-1.2.0)\",\"env -u THREATZONE_API_KEY .venv/bin/python -I -c '\"'\"'\"'\"'\"'\"'\"'\"'from threatzone import ThreatZone; ThreatZone().get_user_info()'\"'\"'\"'\"'\"'\"'\"'\"' -> AuthenticationError '\"'\"'\"'\"'\"'\"'\"'\"'API key is required...'\"'\"'\"'\"'\"'\"'\"'\"' exit 1\",\"THREATZONE_API_KEY=invalid-guest-key ... get_user_info() -> live call to https://app.threat.zone/public-api/me returned 401 '\"'\"'\"'\"'\"'\"'\"'\"'Invalid token format'\"'\"'\"'\"'\"'\"'\"'\"' (network reachable)\",\"env -u PUBLIC_API_TOKEN .venv/bin/python examples/recipe_01_submit_and_wait.py -> '\"'\"'\"'\"'\"'\"'\"'\"'PUBLIC_API_TOKEN env var is required...'\"'\"'\"'\"'\"'\"'\"'\"' exit 1\",\"Testing utilities (FakeThreatZoneAPI) exercised in-process: get_user_info() returned workspace_name '\"'\"'\"'\"'\"'\"'\"'\"'Test Workspace'\"'\"'\"'\"'\"'\"'\"'\"'\"],\"dependencies\":[\"Python >=3.10 (3.12.3 used)\",\"pip/venv\",\"pydantic 2.x\",\"httpx 0.28.x\",\"Threat.Zone API key (THREATZONE_API_KEY) for live use\"],\"readme_differences\":[\"README Development section uses uv (uv sync --all-extras --dev); not run, only pip install -e used. The full test suite was not run per instructions.\"],\"deviations\":[\"No Threat.Zone API key available in the guest, so no live submission/report could be verified against the platform.\",\"examples/ recipes all require PUBLIC_API_TOKEN; recipe_01 replay fails with the documented missing-token message (expected by design).\"],\"stuck_step\":null,\"stuck_kind\":null,\"missing\":\"key_or_login\",\"main_blocker\":\"THREATZONE_API_KEY is required.\",\"plain_failure\":\"No Threat.Zone API key available in this guest; the SDK correctly refuses to run live calls without one.\",\"suggested_fix\":\"Provide a Threat.Zone API key (THREATZONE_API_KEY, or PUBLIC_API_TOKEN for examples) and rerun the live recipes.\"}\nEOF\n<env-var>=<guest-path> python3 -I <guest-path> --validate 2>&1 | head -5; python3 -I -c \"import json;[json.load(open('\"'\"'\"'\"'\"'\"'\"'\"'.coldpass/'\"'\"'\"'\"'\"'\"'\"'\"'+f)) for f in ['\"'\"'\"'\"'\"'\"'\"'\"'probe.json'\"'\"'\"'\"'\"'\"'\"'\"','\"'\"'\"'\"'\"'\"'\"'\"'claims.json'\"'\"'\"'\"'\"'\"'\"'\"','\"'\"'\"'\"'\"'\"'\"'\"'examples.json'\"'\"'\"'\"'\"'\"'\"'\"','\"'\"'\"'\"'\"'\"'\"'\"'cycles.json'\"'\"'\"'\"'\"'\"'\"'\"','\"'\"'\"'\"'\"'\"'\"'\"'report.json'\"'\"'\"'\"'\"'\"'\"'\"']];print('\"'\"'\"'\"'\"'\"'\"'\"'json ok'\"'\"'\"'\"'\"'\"'\"'\"')\"'\"'\"''",
  "what_failed": "No Threat.Zone API key available in this guest; the SDK correctly refuses to run live calls without one.",
  "suggested_fix": "Provide a Threat.Zone API key (THREATZONE_API_KEY, or PUBLIC_API_TOKEN for examples) and rerun the live recipes.",
  "what_it_did": "Install threatzone SDK per README 'Install' and exercise the client's documented API-key configuration",
  "needs": [
    "credentials"
  ],
  "needs_which": "THREATZONE_API_KEY",
  "missing": "key_or_login",
  "claims": [
    {
      "kind": "claim",
      "claim": "Official Python SDK for the Threat.Zone malware analysis platform",
      "source": "Official Python SDK for the [Threat.Zone](https://threat.zone) malware analysis platform.",
      "input": "n/a",
      "expected": "n/a",
      "command": "",
      "verdict": "blocked",
      "outcome": "prerequisite",
      "evidence": "prerequisite",
      "needs": "user key, account",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "The client reads THREATZONE_API_KEY from the environment and fails without it",
      "source": "The client reads `THREATZONE_API_KEY` from the environment, so `ThreatZone()` is enough",
      "input": "no THREATZONE_API_KEY set",
      "expected": "API key is required error, exit 1",
      "command": ".venv/bin/python -I -c 'from threatzone import ThreatZone\nThreatZone().get_user_info()'",
      "verdict": "blocked",
      "outcome": "Probe runs agent-written code rather than a documented product command.",
      "evidence": "Probe runs agent-written code rather than a documented product command.",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "The client reads THREATZONE_API_KEY from the environment and fails without it",
      "source": "examples/README.md: export PUBLIC_API_TOKEN=... then python examples/recipe_01_submit_and_wait.py",
      "input": "no PUBLIC_API_TOKEN set",
      "command": ".venv/bin/python examples/recipe_01_submit_and_wait.py",
      "evidence": "PUBLIC_API_TOKEN env var is required to run this example live.",
      "deferred": false,
      "expected": "example exits 1 asking for PUBLIC_API_TOKEN (live run needs a user token)",
      "hardware_prerequisite": null,
      "returncode": 1,
      "native_crash": false,
      "stdout": "",
      "stderr": "PUBLIC_API_TOKEN env var is required to run this example live.\n",
      "output_truncated": false,
      "verdict": "no",
      "outcome": "command exited with code 1"
    }
  ],
  "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.md (no cron, schedule, loop, webhook, --once or --now behaviour described), pyproject.toml (no console scripts), and src/threatzone (library only; the grep hits for 'schedule' are type/field names such as static_scan and network models, not a scheduler).",
      "evidence": "Inspected README.md (no cron, schedule, loop, webhook, --once or --now behaviour described), pyproject.toml (no console scripts), and src/threatzone (library only; the grep hits for 'schedule' are type/field names such as static_scan and network models, not a scheduler).",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "fafb5572b53a4a16935d12b1ebbee678fc022ca8",
    "ci_read_at": "2026-11-19T10:36:41Z",
    "ci_state": "SUCCESS",
    "commits_90d": 37,
    "last_commit_at": "2026-11-19T10:33:07Z",
    "last_release_at": "2026-11-19T10:34:38Z",
    "median_reply_hours": null,
    "merged_prs_90d": 17,
    "note": "slow: last commit 0 days ago; 37 commits and 17 merged PRs in 90 days; 0 open issues, 0 open PRs; 0 of 13 recent threads got a maintainer reply; latest release 2026-11-19",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": 0.0,
    "reply_threads": 13,
    "verdict": "slow"
  },
  "dependencies": [
    "Python >=3.10 (3.12.3 used)",
    "pip/venv",
    "pydantic 2.x",
    "httpx 0.28.x",
    "Threat.Zone API key (THREATZONE_API_KEY) for live use"
  ],
  "local_or_hosted": "local",
  "readme_deviations": null,
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 12 known vulnerability.",
    "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": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "104.26.15.184",
        "port": "443",
        "rule": null,
        "programs": [
          "python"
        ],
        "names": [
          "app.threat.zone"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "pip",
          "python3"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "python"
        ],
        "names": [
          "app.threat.zone"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "anyio",
        "version": "4.12.1",
        "advisory": "GHSA-5p39-cfhj-2xmp"
      },
      {
        "package": "anyio",
        "version": "4.12.1",
        "advisory": "GHSA-82r6-8w77-94w6"
      },
      {
        "package": "anyio",
        "version": "4.12.1",
        "advisory": "PYSEC-2026-4024"
      },
      {
        "package": "anyio",
        "version": "4.12.1",
        "advisory": "PYSEC-2026-4025"
      },
      {
        "package": "certifi",
        "version": "2026.1.4",
        "advisory": "GHSA-6q48-6c7w-9gw2"
      },
      {
        "package": "certifi",
        "version": "2026.1.4",
        "advisory": "PYSEC-2026-4320"
      },
      {
        "package": "idna",
        "version": "3.11",
        "advisory": "GHSA-65pc-fj4g-8rjx"
      },
      {
        "package": "idna",
        "version": "3.11",
        "advisory": "PYSEC-2026-215"
      },
      {
        "package": "pygments",
        "version": "2.19.2",
        "advisory": "GHSA-5239-wwwm-4pmq"
      },
      {
        "package": "pygments",
        "version": "2.19.2",
        "advisory": "PYSEC-2026-2987"
      },
      {
        "package": "pytest",
        "version": "9.0.2",
        "advisory": "GHSA-6w46-j5rx-g56g"
      },
      {
        "package": "pytest",
        "version": "9.0.2",
        "advisory": "PYSEC-2026-1845"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 30,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 23,
      "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-e536e2f80f56751774a32b3e8d414d02d9a8c0a579108a3bfb13c1ad1301d3bc",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "app.threat.zone",
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "app.threat.zone",
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [
        "app.threat.zone"
      ],
      "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": "nothing_checked"
}
