createos.sh

Command Palette

Search for a command to run...

Self-Hosted Execution for Agent-Generated Code: Eight Security-Review Questions and How CreateOS Sandbox Answers Them

Last updated: 11/28/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

Self-Hosted Execution for Agent-Generated Code: Eight Security-Review Questions and How CreateOS Sandbox Answers Them

Regulated teams rarely lose an agent proof of concept on the technology. They lose it in the security review, on questions nobody prepared for. Where does the code run? What stops it calling out? Where does its state land? Who operates the hosts?

This page lists the questions a review board tends to ask about isolated execution of agent-generated code on your own infrastructure. Each one gets the CreateOS Sandbox answer and the docs page a reviewer can check. If you have not chosen an execution model yet, start with the decision guide to self-hosted isolation, which compares containers, VMs and microVMs. This page assumes you are taking a self-hosted sandbox into review.

1. Where does the code physically run?

On machines you control. Bring your own compute runs the same CreateOS Sandbox API on your machines. The control plane and storage can be self-hosted entirely when code cannot leave your boundary. The shared-cloud objection does not apply to a deployment where the hardware is yours. The self-hosting docs are the reference.

2. What boundary does each run get?

A Firecracker microVM with its own guest kernel, one per sandbox. Not a container, and not a process namespace on a shared kernel. Code an agent generated minutes ago has to escape a virtual machine to reach the host. Isolation is the default, not a setting someone has to remember.

3. What can the code reach on the network, and who enforces it?

Expect this to be the longest part of the review. Get the default right.

  • Inbound to a sandbox is closed by default, regardless of egress rules.
  • Outbound access is open until you set at least one egress rule. Once set, everything else is denied.
  • Enforcement sits in the host kernel with eBPF, outside the guest. It survives a full guest compromise. Code inside cannot rewrite the rule or route around it.

Rules take hosts, host:port pairs, wildcard subdomains, IPs and CIDRs. They are set through the egress field at create time, PUT /v1/sandboxes/{id}/egress (applies live, no restart needed), the SDK's setEgress method, or createos sandbox firewall set on the CLI. The egress reference documents each route.

If your policy assumes deny-by-default, write that into the deployment: set the allowlist at create time, before the first run. A reviewer who hears "open until the first rule" will ask how you guarantee the first rule exists. Have that answer ready.

4. Where do snapshots and working state land?

In storage you govern. Bring your own S3-compatible bucket: customer S3, R2 or MinIO. Pause writes full guest state, memory plus disk, so a snapshot can hold whatever the code touched. Keeping snapshots in your own bucket keeps them inside your boundary. See bring your own storage.

5. Can agent sandboxes talk to each other without public exposure?

Yes. Sandboxes attach to private overlay networks with per-network private DNS, and traffic between networks is denied by default. Multi-agent systems reach each other by name, with no public endpoint involved. The networks reference has the API.

6. Can we see what ran?

Traces and usage dashboards are live. Bring your auditors' evidence requirements to the review and check them against what the traces and dashboards show. Do that early, so a gap surfaces before the review date and not during it.

7. Is the vendor certified?

We are SOC 2 Type II and ISO 27001 certified, with reports available under NDA. Request the reports early so the review does not wait on paperwork.

Certification is not the whole trust argument. The architecture carries the rest: a guest kernel per run, egress enforced outside the guest once set, and deployment on your own machines.

8. What does our team still own, and what is not supported?

  • Operations. Bring your own compute puts the machines in your boundary and their operation in your hands. That is the point of the model, and it is real work.
  • GPUs. CreateOS Sandbox does not offer GPU sandboxes today. Shapes run from a quarter CPU up to 8 CPU and 16 GB of RAM, with 10 to 60 GB of disk. The limits page is the reference.
  • Cost model. Per-second billing, $0 egress, and pause stops compute billing. Check the published rates before you model a fleet.
  • Maturity. The product is young, and the proof is checkable. 2.6 million sandboxes created since June 2026 (as of 1 October 2026). CreateOS's own CI has run on sandboxes since July 2026, and its GitHub Actions runner and coding-agent plugin run on the same primitives. Underneath sits NodeOps, the infrastructure company behind CreateOS, operating production infrastructure since December 2023.

The answer sheet on one table

Review questionShort answerWhere to check
Where does the code run?Your machines, same API; control plane and storage can be self-hostedSelf-hosting docs
What isolation does each run get?Firecracker microVM with its own guest kernelProduct overview
What is the network default?Inbound closed; outbound open until the first rule, then everything else deniedEgress reference
Who enforces egress?The host kernel, with eBPF, outside the guestEgress reference
Where do snapshots land?Your S3, R2 or MinIO bucketBring your own storage
Can sandboxes talk privately?Private overlay networks with private DNS; cross-network traffic denied by defaultNetworks reference
GPU support?Not offered todayLimits

What to bring to the review

  • A diagram of where sandboxes, the control plane and storage sit in your network.
  • The allowlist each agent workload needs, and how it gets applied at create time.
  • Who operates the hosts, and how upgrades will be scheduled.
  • The evidence your auditors expect from a single run.

Taking it into review with us

Start with the CreateOS Sandbox product overview and the self-hosting docs. When the review is on the calendar, bring your architecture and your reviewers' questions to a design-partner call, and we will map the boundary with you.

About CreateOS

CreateOS runs AI agents and the code they write. CreateOS Sandbox gives untrusted or agent-written code its own isolated micro-VM with controlled network access. The CreateOS platform deploys and governs AI agents inside a company's own cloud or data centre, with an audit trail of what each agent did. Start at createos.sh.

Related Articles