Skip to main content

coldrun

CI Coverage PyPI Licence: MIT

Fetch, vet and sandbox any downloaded script in one command.

coldrun run https://github.com/someone/tool/blob/main/script.py -- --target 10.10.11.5

coldrun takes a script from a file, URL, GitHub repo, gist or exploit-db ID, works out what it needs, checks it for behaviour aimed at your machine, and runs it inside a sandbox with no network and no access to your home directory.

Install

uvx coldrun --version          # run without installing
pipx install coldrun           # or install for good

Needs Linux, Python 3.10+ and bubblewrap (pacman -S bubblewrap on Arch and Omarchy, apt install bubblewrap on Debian, Kali and Ubuntu). coldrun doctor checks the rest.

Usage

coldrun run SOURCE [flags] [-- script args]   # fetch, detect, vet, sandbox, run
coldrun deps SOURCE                           # print resolved dependencies, run nothing
coldrun doctor                                # check bwrap, user namespaces, uv, podman
coldrun cache list | clean                    # cached dependency environments

SOURCE is a local path, an http(s) URL or a GitHub blob URL. Everything after -- is passed to the script untouched.

Flag Default Meaning
--net none|full none Network policy inside the sandbox (allow with --allow-host arrives in v0.4.0)
--rw PATH none Mount one host path read-write; repeatable. /, $HOME and credential directories are refused
--out DIR ./coldrun-out Where files the script writes in /work are copied on exit
--backend bwrap auto Force a sandbox backend (Podman arrives in v1.0.0)
--lang NAME auto Override type detection
--yes off Skip the confirmation on medium risk
--force off Run despite a high-risk verdict; prints a warning

What the sandbox guarantees

No $HOME, SSH keys, browser profiles, cloud credentials, Docker socket or D-Bus session. New user, PID, mount, IPC, UTS and network namespaces; no capabilities; no_new_privs. Read-only root, private /tmp, the script read-only in /work. Network off unless you ask. Environment scrubbed to an allowlist.

Exit codes

The script's own exit code, except 100 (refused by vetting), 101 (sandbox could not be set up; run coldrun doctor) and 102 (dependency resolution failed).

Runners

Runner Dependencies from Installed with
Python 3 PEP 723 block, requirements.txt beside the script, else imports parsed with ast uv, once per dependency set, cached under ~/.cache/coldrun/envs
Bash / sh Commands the script invokes Nothing; missing tools are reported with the pacman or apt line

Status

v0.2.0 completes milestone M2 of the spec: Python and Bash scripts run sandboxed with their dependencies resolved. Vetting with Semgrep, YARA and GuardDog (M3), --allow-host and GitHub/gist/exploit-db sources (M4), and Podman plus more runners (M5) follow.

Licence

MIT. See LICENSE.

Metadata

Release files for coldrun 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coldrun 0.2.0
File Size Uploaded Provenance Actions
coldrun-0.2.0.tar.gz 62.3 kB With provenance Details for coldrun-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coldrun 0.2.0
File Interpreter ABI Platform Actions
coldrun-0.2.0-py3-none-any.whl Python 3 none any Details for coldrun-0.2.0-py3-none-any.whl

Total release size: 106.9 kB

Release files / coldrun-0.2.0.tar.gz

Download URL coldrun-0.2.0.tar.gz
Size 62.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e97f32bac032f782ec91a3cd3becdcc785c28b95766658fcc0bd0a7652be34a6
BLAKE2b-256 checksum
How to use checksums
2bdd5b3c7ba074f1dad196f31f5a6ec85389341a5f4e83b1cc352398f40bde07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / coldrun-0.2.0-py3-none-any.whl

Download URL coldrun-0.2.0-py3-none-any.whl
Size 44.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96c1d1d2cc9d5ace9f807f870ac3be70401e4e3e4e65bc115b12f7d87bea47d8
BLAKE2b-256 checksum
How to use checksums
f9749622b9d3a8ccf01599359423672209d15ce0dccca06352755c899c25004f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for coldrun 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for coldrun-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page