Browse / Agent tools
For maintainers
Fix your README for agents
Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.
Improve the README and setup experience of Malwation/threatzone-python-sdk so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Needs keys or hardware (THREATZONE_API_KEY, tested 2026-11-25).
Please:
1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
3. Keep install and first-use commands copy-pasteable with pinned dependencies.
Also review the recorded check notes (known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.Shareable status badge
Add a live Coldpass Linux verification badge to your README.
[](https://coldpass.dev/repo/Malwation--threatzone-python-sdk/)Static status badge · SVG · read-only JSON
What we checked
Is it safe?Review first. Found: known vulnerabilities.Each check
- Malware: none found in its 30 pinned dependency versions or the 23 Python and npm packages installed during our run (OSV malware advisories).
- Secrets in its files: none found by gitleaks.
- Known vulnerabilities in its dependencies: 24 OSV advisories: anyio 4.12.1 (GHSA-5p39-cfhj-2xmp); anyio 4.12.1 (GHSA-82r6-8w77-94w6); anyio 4.12.1 (PYSEC-2026-4024); anyio 4.12.1 (PYSEC-2026-4025); certifi 2026.1.4 (GHSA-6q48-6c7w-9gw2); certifi 2026.1.4 (PYSEC-2026-4320); idna 3.11 (GHSA-65pc-fj4g-8rjx); idna 3.11 (PYSEC-2026-215); pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721); pygments 2.19.2 (GHSA-5239-wwwm-4pmq); pygments 2.19.2 (PYSEC-2026-2987); pytest 9.0.2 (GHSA-6w46-j5rx-g56g); pytest 9.0.2 (PYSEC-2026-1845).
- Lines that download and run a program: none found in its source.
- Planted fake secret files: repo code opened none.
- Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
- Hosts the repo's own code contacted: app.threat.zone. Reached past our sandbox (answered or refused), from any program on our test machine, not only the repo: app.threat.zone. No reply seen, or stopped by our sandbox: none.
From our newest run of each setup (Nov 25, 2026). A quiet run is not a safety guarantee.
Can a small agent set it up?Not tested (Haiku, THREATZONE_API_KEY)
Not tested (Luna, THREATZONE_API_KEY)The run
Stuck at: /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'"'"'"'"'"'"'"'"' [ {"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"} ] EOF cat > .coldpass/cycles.json <<'"'"'"'"'"'"'"'"'EOF'"'"'"'"'"'"'"'"' {"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)."} EOF mkdir -p .coldpass && cat > .coldpass/report.json <<'"'"'"'"'"'"'"'"'EOF'"'"'"'"'"'"'"'"' {"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."} EOF <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.
Test history
- Nov 25, 2026 · fafb5572b53a · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
- Nov 24, 2026 · fafb5572b53a · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
- Nov 24, 2026 · fafb5572b53a · linux / Luna · needs a key or login we did not have · run JSON
- Nov 24, 2026 · fafb5572b53a · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
- Nov 22, 2026 · fafb5572b53a · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
- Nov 19, 2026 · fafb5572b53a · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
Does it do what the README says?0 of 2 claims held up. A claim is one README promise we ran and checked.Evidence
No claim held up.
Which checks were skipped?2 checks skipped.Reasons
Skipped checks count as neither passes nor failures.
- Official Python SDK for the Threat.Zone malware analysis platform: prerequisite
- The client reads THREATZONE_API_KEY from the environment and fails without it: Probe runs agent-written code rather than a documented product command.
Does the repo’s own CI pass?Success.GitHub checks
GitHub’s check status for the default branch at the commit we tested. We did not run their CI.
Needs keys, a login or a browser?Yes.Details
credentials
What does it depend on?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 useDependencies
Software the test agent reported the README needed.
Local or hosted?Local: runs on your machineHow we tell
From the README and the endpoint we tested.
Is the README accurate?Yes.Deviations
No step differed.
What did it do when we ran it?During our run, it tried to contact 1 outside address.What we saw
Linux / Haiku
- During our run, python tried to contact 1 address on port 443: 104.26.15.184 (app.threat.zone).
- While installing, git-remote-https looked up github.com.
- While installing, pip, python3 looked up files.pythonhosted.org, pypi.org.
- During our run, python looked up app.threat.zone.
- We found no known-malicious packages among the 23 Python and npm packages we observed (checked against OSV malicious-package advisories).
Linux / Luna
- Nothing unexpected in the trace for this setup.
- While installing, git-remote-https looked up github.com.
- While installing, python looked up files.pythonhosted.org, pypi.org.
- We found no known-malicious packages among the 24 Python and npm packages we observed (checked against OSV malicious-package advisories).
We found no compiled programs in its files.
What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.
What we didn't check: host names looked up by programs with their own resolver, such as Go programs; which program made a connection that got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.
A quiet run is not a safety guarantee.
Is it maintained?SlowActivity
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
AboutStars: 0 · Forks: 0 · Contributors: 3 · Owner account since Jul 13, 2020Source
Recorded GitHub repository and owner account metadata.
LicenseSPDX: MIT · commercial use: yesSource
From GitHub’s license detection. The repository’s license text gives the terms.
Cost to runNeeds a key or login (THREATZONE_API_KEY)Details
Peak guest RAM: 475 MiB
Guest disk change: 44 MiB
GPU need: not captured
Paid service: not captured