Isolation layers
Every session gets its own fresh box. The public node at tickbox.cloud runs boxes as Docker containers on the gVisor runtime (runsc), a user-space kernel that sits between the box and the host kernel. Self-hosted nodes can use the bubblewrap runner instead, which adds its own namespaces and a seccomp filter.
- One box per session. Nothing is shared between sessions or accounts.
- No network. The box has no network interface besides loopback (
--network none): nothing goes in or out. - Read-only system. The root filesystem is mounted read-only. Only
/workand/tmpare writable, and both live in memory. - No root. Code runs as an unprivileged user (uid 1000), every Linux capability is dropped, and
no-new-privilegesblocks setuid escalation. - Syscall filtering. gVisor serves system calls itself rather than passing them to the host kernel. The bubblewrap runner uses a seccomp filter.
- Wiped on stop. When the session stops, idles out or runs out of budget, the box and its
/workare deleted. Nothing carries over to the next session.
Resource limits
| Memory | 150 MB, no swap. A command that goes over is stopped. |
|---|---|
| CPU | 0.5 core |
| Processes | at most 64 |
| Disk | /work 512 MB and /tmp 256 MB, both in memory |
| Budget | at most 2 USDG per session (~83 min at 0.0004 USDG/s) |
| Idle | a session with no command running closes after 120 s |
| Sessions | one open session per account and per agent key |
Requests and receipts
- Every API call is signed with the caller's ed25519 key over method, path, timestamp, nonce and body hash. Requests older than 60 s or with a reused nonce are refused.
- Every closed session ends in a receipt signed by the node's own ed25519 key. Anyone can check it with
npx tickbox verifyor on Scan. - Agent keys carry their own spend limit, expiry and allowed workers, and can be revoked at any time; revoking one stops its open sessions.
What is not guaranteed
- No secrecy from the node operator. The operator of a node can see the code you send and what it prints. Don't put secrets, keys or personal data in a box.
- No escape-proof promise. gVisor and the other layers make escaping hard, not impossible. A new kernel or runtime bug could break isolation.
- No side-channel protection beyond what gVisor and the host give, for example against timing attacks between boxes on the same machine.
- No correctness proof. A receipt proves that the node signed those seconds and amounts, not that your program produced the right answer.
- No persistence and no uptime promise. Boxes are wiped on stop, and the public node can restart; open sessions are refunded in full when it does.
- No anchoring yet. Receipts are batched for Robinhood Chain, but they are only written on chain once the anchor contract is deployed.
Reporting a vulnerability
Please report security issues privately, not in a public issue.
- Use Report a vulnerability in the Security tab of the GitHub repository. The report stays private between you and the maintainers.
- Include what you found, the steps or a minimal proof of concept, and the impact you expect. Test only against your own sessions and accounts.
- Please give us a reasonable time to fix it before you publish. We'll credit you if you want to be named.