30 questions to ask any agent sandbox provider before you sign up
Every sandbox provider's homepage says "secure" and "isolated". The differences are in the details, and the details are usually in the docs, the pricing table and the legal pages. This is the checklist we would use to co
Every sandbox provider's homepage says "secure" and "isolated". The differences are in the details, and the details are usually in the docs, the pricing table and the legal pages. This is the checklist we would use to compare providers, including us. Each question is answerable from public pages or a short email; if a provider cannot answer one, that is an answer too.
For Sandscale, each section ends with where to look on sandscale.dev.
Isolation
- What is the boundary between my run and the next customer's? A shared-kernel container, a user-space kernel such as gVisor, or a virtual machine with its own kernel? Is it the same for every workload, or does it depend on region, plan or hardware?
- Is there a mode where isolation is off? Some platforms run ordinary containers unless a runtime class is set. Know the default.
- Is a pooled or warm box ever reused across customers or runs?
- What runs as root inside the box, and does it matter? Inside a VM, root in the guest is expected; inside a shared-kernel container, it is a larger risk.
Sandscale: each run gets its own Firecracker microVM with its own kernel (sandboxes). A pooled sandbox has never run anyone's code before you claim it (warm pools).
Network
- Is outbound network off by default?
- How do I allow only specific hosts, and does that cover DNS?
- Can I reach package registries without opening the whole internet?
- How do inbound connections (previews, ports) work, and who can reach them?
Sandscale: sandboxes start with network mode none; allowlist uses your organization's egress allowlist and package registry presets. See security and our post on egress allowlist design.
Secrets
- How does a run receive a credential? Environment variable, file, or a proxy that injects it outside the box?
- Can code inside the box read the credential? If it arrives in the environment, yes. Some designs keep it outside entirely.
- When does the credential stop working?
- Is the value ever in logs, the API's response or the audit trail?
Sandscale: Vault hands secrets to the sandbox in memory as environment variables, keeps values out of prompts, logs, the API's answer and the audit log, and ends them with the run; code in the box can read them (Vault).
Lifecycle
- What is the default lifetime, and the longest?
- What survives a pause or stop: files only, or memory and running processes too?
- Does work inside the box keep it alive, or only outside requests?
- What happens to boxes when my orchestrator crashes?
Sandscale: timeoutSeconds on create (server default one hour) within your plan's session length; pause keeps memory and files on every plan (pause and resume). See three timeouts for agent sandboxes.
Billing
- What does a box cost while it waits on a model? This is the single most important pricing question for agents.
- Is memory billed separately, and is it billed while idle?
- What is included in the plan, and what happens when I run out: overage, a hard stop, or running boxes killed?
- Can I cap spend per project or per agent?
Sandscale: awake vCPU-hours with 4 GiB per vCPU included; paused time and idle time between tool calls do not count; beyond the plan you turn usage on, buy an hour pack or keep it off, and running boxes are never stopped; spend caps per task, agent, project and organization on paid plans (pricing). Our billing models comparison puts five meters side by side.
Governance
- Is every action recorded, by whom, and can the record be checked for tampering?
- Can a person approve risky steps before they happen?
- Can I stop every agent at once?
- Is there SSO, and roles that limit who can start what?
Sandscale: hash-chained audit log, human approvals, Vault and DLP on every plan; SSO, roles and audit export on Team; SCIM and custom roles on Enterprise (security, plans and limits).
Data location and compliance
- Where do my runs, files and outputs live, and what is global?
- Which certifications are claimed, and which are not?
- Can it run in my own cloud account?
Sandscale: US (N. Virginia) today, Europe (Frankfurt) announced and not open yet; a sandbox's files, snapshots and output stay in its region, while account and billing records are global (regions). Sandscale claims no certification; Team and Enterprise can export the audit log as evidence for your own assessments (FAQ). Bring your own cloud on AWS is Enterprise.
Reliability and leaving
- Is there a published availability commitment or service credit?
- Is there a status page with history?
- How do I leave? Can I export templates, files and logs, and is the API plain enough to replace?
Sandscale: our service levels page says there is no availability commitment or service credit yet. Status is at /status. The REST API is plain HTTP and JSON.
How to use this list
Copy it into a doc, add a column per provider, and fill each cell with a link to the page that answers it. Cells you cannot fill with a link are the ones to ask about. Then weigh them against your own threat model: a team running only its own code in CI cares about different rows from a platform running its customers' agents.
Originally published on the Sandscale blog.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.