Security review kit
This page is written for the person who has to approve Threadrun. It maps each claim to the place that enforces it, the evidence you can collect, and the honest limit. It does not claim a certification: SOC 2, ISO 27001 and HIPAA are company-level agreements made with your auditor, not a feature a binary can grant. The threat model is in Security; the deployment choices are in Your server.
Where the work and the keys live
Threadrun is a desktop app and a control plane you run on your own computer or your own Ubuntu server. Agents work in a Docker container with its own clone, branch, files and network. Model keys and GitHub logins stay on the runner you control, and the app sends no telemetry. The model provider still receives the prompts and code your agents send it, under that provider's terms.
Controls a reviewer checks
| Control | How it is enforced | Evidence you can collect | Honest limit |
|---|---|---|---|
| Sign-in | OIDC on every plan; SAML 2.0 on Enterprise | Team settings and the audit log of sign-ins | SAML is configured on the runner; the app's Company sign-in form is OIDC |
| Roles | Admin, operator and viewer on every command | GET /export/... and the compliance export list every member and role | Roles are runner-wide; there are no per-repository roles |
| Provisioning | SCIM 2.0 Users and Groups on Enterprise | SCIM request log at the identity provider, plus the team audit log | Groups map by name (threadrun-admins, threadrun-operators, threadrun-viewers); other groups are provisioned but do not change a role |
| Deprovisioning | Deactivating a person ends their sessions at once | Audit line from SCIM or the admin action | A person with host access to the database is outside this control |
| Sandbox | A container per task, non-root, memory and CPU limits, no access to Docker or the host | Thread events and the sandbox lifecycle lines | Containers share the host kernel; they are not virtual machines. Run gVisor yourself if that boundary is required |
| Network | Only allowlisted domains leave the sandbox; every connection is logged on the thread | Thread log lines beginning Egress, and the audit export | Only the browser can leave through a connected desktop, and only on Studio or Enterprise; agent and package traffic always leaves from the server |
| Tool rules | Per-kind allow, ask or deny, plus denied command phrases and forbidden modes | Approval decisions in the thread log | They cover what the harness asks about; Pi does not ask, so only the sandbox limits apply |
| Approvals | A person decides in the Approvals inbox; the decision is recorded | Thread log and the audit chain | Approvals cover a tool call or a stage gate, not every action inside a script |
| Spend | Reported cost and tokens by person and agent; budgets stop new turns at 100% | Analytics, thread usage events and the compliance export | Budgets count reported usage, so a running turn can overshoot and an unreported cost is not counted |
| Audit | Every stored event is hash-chained; Enterprise streams lines to a SIEM | chained_events, the JSONL export with a SHA-256 manifest, the SIEM feed | The chain detects edits made inside the database; someone who controls the host can rewrite both the data and the chain |
| Retention | A retention period per policy; redaction removes secrets before events are stored | Policy snapshot in the compliance export | Backups and the host filesystem follow your own retention rules |
| Updates | The app checks a release checksum; servers update after their agents finish | Release page and the runner version in Settings | The download is unsigned until the project has code-signing certificates; right-click to open on macOS, More info on Windows |
Evidence to ask for
- Compliance export. Settings → License → Export JSON Lines: site and version, license, every member and role, the policy, reported spend, every audit line with its previous hash and hash, and a manifest with the SHA-256 of each line.
- Audit chain check. Verify the chain in the export, or use Verify audit in a thread's Activity panel.
- Policy snapshot. The same file records tool rules, the network allowlist, budgets, retention and redaction as they were at export time.
- SIEM sample. With audit streaming on, the collector receives one JSON object per line and can confirm the feed independently of the runner.
- A run receipt. A factory stage posts the agent, commit, reported cost, approvals and audit chain head to its pull request, so a reviewer can see the work and the record together.
What we do not claim
- No SOC 2, ISO 27001, ISO 42001 or HIPAA certification or BAA is offered today.
- Containers are not virtual machines, and the sandbox is not a hardware boundary.
- The audit log is tamper-evident, not tamper-proof.
- Budgets count reported usage and do not meter tokens at the network.
- The app is free and sends no telemetry; we cannot see your code, prompts or spend.
- No customer logos, benchmarks or testimonials are published, because there are none to publish.
A short questionnaire you can send back
Reply with the version, the deployment (this computer or server), and one line per item:
- Where do code, prompts, model keys and the database live?
- Who can sign in, how are people provisioned, and how fast is deprovisioning?
- Which domains may a sandbox reach, and who approves a change?
- What stops a runaway agent, and what stops a runaway bill?
- Can you export the audit log, verify it, and stream it to our SIEM?
- What is the isolation boundary, and which limits do you accept?
- How are secrets kept out of logs, and how is retention enforced?
- What happens at license expiry, and what keeps working?
The answers are in this page, Governance, Security, Licensing and Review and ship.