v3.0.9: fix(sandbox): isolate each task in a run from the run's other tasks
About SN15 ORO
fix(sandbox): isolate each task in a run from the run's other tasks A run's tasks share one sandbox container and, until now, one uid. Any task could read the other tasks' request logs, the run-wide problem and session files (whose session ids are the only credential for an episode), files the others left in /tmp, and their /proc entries. With --isolate-tasks, which build_sandbox_command now always passes: the executor runs as root with only CHOWN, SETUID, SETGID, KILL and DAC_READ_SEARCH, and each task's child drops to its own random uid before the agent loads; agent code never runs as root each task's only writable place is a private directory (TMPDIR) owned root: 0770; its request log and usage stats live there evaluator mounts move to /run/oro/{logs,output} under a root-only directory; shared /tmp and /dev/shm are root-owned 0711 the executor copies each running task's usage lines to the run's shared sidecar every 2 s, so usage survives the container being killed mid-task, and reads task-written files without following links the run refuses to start without root instead of running unisolated Tasks take their session from problem_data, so ORO_ENVIRONMENT_SESSIONS_FILE is no longer passed. Integration tests now also run when the sandbox executor or command builder changes. Co-Authored-By: Claude Opus 5.5 [email protected] fix(sandbox): never unpickle what a task sends back to the root executor The executor now runs as root, and it read each task's result from a multiprocessing.Queue, which unpickles. An agent could return an object whose reduce calls a builtin, or write its own pickle to the queue's pipe, and have that code run as root. The child now sends [status, data] as JSON bytes on a one-way Pipe, and the parent reads it with recv_bytes (capped at MAX_SANDBOX_OUTPUT_BYTES) and json.loads. A non-JSON result fails the task; a malformed, oversized or partial message reads as no result. The parent closes its copy of the write end, so a child that dies reads
Read the release notes on GitHub ↗
SN15 ORO at a glance
SN15, ORO (α token ο), is one of the independent markets on the Bittensor network, each with its own α token and its own price. Its α currently trades at 0.014674 τ (≈ $2.72), against 12,905 τ of pool liquidity. On-chain, the best-delegated validator on it yields about 84.82% APR (simple) and 133.54% APY (compounded), emissions add 0.003958 τ to the pool each block, epochs run every 360 blocks. It was registered at block #7,366,897.
Taosis newsletters
Taosis News: the week’s articles from the subnet teams, the press and community newsletters, every Friday. Taosis Weekly: the week’s movers, best yields and chain events, with dollar values, every Monday. Past issues
More from SN15 ORO
Taosis indexes announcements, articles, posts and releases about Bittensor subnets from their own channels and keeps a record of each. The text above is the source’s; the figures are read from the chain by Taosis.