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 doctor                                # check bwrap, user namespaces, uv, podman

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).

Status

v0.1.1 completes milestone M1 of the spec: shell scripts run sandboxed. Dependency resolution for Python and Bash (M2), 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.1.1

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.1.1
File Size Uploaded Provenance Actions
coldrun-0.1.1.tar.gz 52.3 kB With provenance Details for coldrun-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 89.6 kB

Release files / coldrun-0.1.1.tar.gz

Download URL coldrun-0.1.1.tar.gz
Size 52.3 kB
Tags Source
SHA-256 checksum
How to use checksums
790a289b0bb90ae7474c450db76d8eff1fc637f0eb75e671b294cf8688bea25a
BLAKE2b-256 checksum
How to use checksums
5cb79a2d5db51394fa2252ad19b36510e23a5c56ce7b893de85dac39aa0b36f0
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 12, 2026.

Transparency log

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

Download URL coldrun-0.1.1-py3-none-any.whl
Size 37.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
362dcb083e1ec58628f61986fcd122514512fefcff8939e9284818460ec4d90c
BLAKE2b-256 checksum
How to use checksums
eb0f557dc2a9781d30831d1047787172fc02f2bad4f5c0d192125cc125158baf
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 12, 2026.

Transparency log

Security for coldrun 0.1.1

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.1.1.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 12, 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