Security
How Boxport handles your keys and data
Boxport creates sandboxes on your own vendor accounts, so it holds your vendor keys. This page says how they are stored, what else Boxport keeps and who processes it. To report a vulnerability, email security@boxport.dev.
Your vendor keys
- Each key is sealed with AES-256-GCM before it is stored. The sealing key is derived per account with HKDF-SHA-256 from a master secret held as a Cloudflare Worker secret, so one account's sealing key opens no other account's keys.
- No API route or dashboard page returns a vendor key. You can replace or remove a key at any time.
- When you save a key, Boxport makes one call to the vendor to check it. After that, keys are used only for the calls you ask for: building templates, creating and killing sandboxes, running commands, files and ports.
- Modal's and Vercel's SDKs can't run on Cloudflare Workers, so calls to those two go through a relay Boxport runs on a Linux server, reached over a Cloudflare Tunnel. The key travels with each call and the relay stores nothing.
- Boxport's operators hold the master secret, so they could decrypt stored keys. Give Boxport keys scoped to sandboxes where your vendor offers that, and rotate them with the vendor if you stop using Boxport.
Boxport API keys and agents
- An API key is shown once. Boxport stores only its SHA-256 hash, with its name, when it was made, when it was last used and who made it.
- Each key can have its own spend caps on top of the account's. Revoking a key stops it on the next request.
- MCP clients connect with OAuth: authorization code with PKCE (S256 only), redirect URIs registered in advance and codes valid for two minutes. Approving creates a named key you can revoke under API keys.
- Inside a sandbox, E2B SDK calls carry a signed token for that one sandbox. It can't create or kill sandboxes or reach any other.
- Agents can read spend but can't change caps or vendor keys over MCP.
Dashboard and teams
- Sign-in is with GitHub, asking for no scopes: Boxport reads your public profile (user id, login and avatar).
- The session cookie is signed, HttpOnly, Secure and SameSite=Lax, and lasts 30 days. "Sign out everywhere" ends every session at once. Writes from other sites are refused.
- An account has one owner and up to 50 members. The owner invites with a link that works once, expires after 7 days and can be revoked. Opening a link never adds anyone by itself: the person confirms on a Boxport page. Removing a member revokes the API keys they made, MCP keys included.
- Only the owner manages billing and members. Card details go to Stripe and never reach Boxport.
What Boxport keeps, and for how long
| Data | What it holds | Kept |
|---|---|---|
| Spend ledger | Per sandbox: vendor, size, start and end time, estimated cost and the API key that made it. | 31 days after the sandbox closes |
| Commands | The newest 50 commands per sandbox, cut to 200 characters, with exit code and duration. Never their output. A secret typed into a command line is stored with it. | With its ledger record |
| Activity | The latest 500 placement events: vendors tried, outcomes and the first 200 characters of any vendor error. | Until newer events replace them |
| Value report | Per day: creates, failovers and estimated costs per vendor. | 400 days |
| Templates | Name, image, setup commands and environment variables, so Boxport can build them again on a new vendor. | Until you replace them |
| Billing | Stripe customer id, plan status and the days already reported to Stripe. | While the account exists |
Boxport doesn't write request bodies or keys to logs, and Workers Logs is off. To delete an account and everything stored with it, email security@boxport.dev from the GitHub account that owns it.
What is shared across accounts
- Placement uses pooled vendor health: for each vendor's last 200 creates, the outcome kind, the time and how long it took. No account, key, sandbox id or error text is pooled. Failures caused by your own key or plan never count against a vendor.
- The public scoreboard is built from that pooled health and from daily failover counts with no account attached.
- Boxport's operators can see each account's routed spend per day, to run the service and bill it.
Where it runs and who processes data
| Service | What for |
|---|---|
| Cloudflare | Runs Boxport: Workers, Durable Objects storage, Tunnel to the relay, Turnstile on sign-up. |
| GitHub | Dashboard sign-in. |
| Stripe | Billing, once an owner adds a card. |
| A Linux server Boxport operates | The Modal and Vercel relay. Keys pass through and are not stored. |
| Your sandbox vendors | Run your sandboxes on your own accounts, under their own terms. |
Reporting a vulnerability
Email security@boxport.dev with what you found and how to reproduce it. Please give us time to fix it before you publish. Test only against accounts and keys you own.