Trustabl Probe

v0.5.1
io.github.trustabl/agent-network-access-probe Checked 7 hours ago Published 10 hours ago

Drafts a network allow list for agent tools and runs them in a network-blocked sandbox.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

probe_check_setup Check what Probe needs on this machine

Read-only. Reports whether the Probe binary, Docker (running), the sandbox images, and the optional OpenShell runner are ready, which languages can run in the sandbox, and the exact command to fix each missing piece. Changes nothing. Run it before probe_install or when a scan says the sandbox is unavailable.

probe_install Install Probe's own pieces

Downloads the Probe binary from its GitHub release (checksum-verified) and, when Docker is running, pulls the sandbox base images. It never installs system software: for Docker, OpenShell or Python it returns the exact command and its caveats (admin rights, restarts, licensing) for you to show the user and run only with their permission. Pulling all images can take a few minutes; pass `languages` to pull only what the tool needs.

ParameterTypeDescription
languagesarraySandbox images to pull. Default: all four.
pull_imagesbooleanPull the sandbox images when Docker is running. Default true.

probe_scan Scan an agent tool with Probe

Runs Trustabl Probe on a directory of agent tool code (Python, Go, JavaScript/TypeScript, Ruby, Shell). Static analysis always runs; with sandbox 'auto' (default) the tool is also run in an isolated, network-blocked sandbox when Docker or OpenShell is ready, which catches problems that only show up at runtime. Returns a readiness score, the draft network allow list (an OpenShell network policy), and findings worst-first, each with a fix hint for you to apply. Writes network_policies.draft.yaml, probe.findings.json, probe.profile.json and autofix-attestation.json into the scanned directory.

ParameterTypeDescription
allow_write_toolsbooleanRun tools that look destructive (network writes, deletes, payments) in the sandbox too. Default false: they are skipped and only analyzed statically. Only set true when the user asks.
entrypointsarrayEntry point files inside the directory, e.g. ['tool.py']. Default: Probe discovers them.
pathstringDirectory with the tool code. Defaults to the current directory.
sandboxstring'auto' (default) uses the sandbox when a runner is ready; 'on' fails without one; 'off' is static only.