Execute code in a real cloud machine (code-interpreter style) — a full root Ubuntu VM with Python, Node, Go, Rust and every major runtime preinstalled, not a constrained isolate. Per-second billing makes a run cost cents. Use to run scripts, data jobs, or generated code that needs real packages, subprocesses, or Docker.
2 stars
0 votes
0 copies
0 views
Added September 7, 2026
ai-agentspythonrustgojavarubyphpc++bashnodedocker
Works with
api
Security analysis
F34/100
criticalPipes output to a shell interpreter
mediumUses curl or wget to download content
criticalDownloads and executes remote scripts — classic supply chain attack
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Are you the author of Code Execution?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ariana-dot-dev-code-execution)
---
name: code-execution
description: Execute code in a real cloud machine (code-interpreter style) — a full root Ubuntu VM with Python, Node, Go, Rust and every major runtime preinstalled, not a constrained isolate. Per-second billing makes a run cost cents. Use to run scripts, data jobs, or generated code that needs real packages, subprocesses, or Docker.
---
# Code execution (Box)
Use this when you need to **actually run code** and get its output: a Python data job, a Node script, a build, or generated code that does `pip install`, spawns subprocesses, or writes files. A real machine (vs a JS isolate or limited code-interpreter) means those operations succeed.
## Why Box
- **Every runtime preinstalled** — Python 3, Node/Bun/Deno, Go, Rust, Java, .NET, Ruby, PHP, C/C++.
- **Real OS** — `apt install`, Docker, subprocesses, 80 GB disk.
- **Cheap per run** — per-second billing; a short execution costs cents.
Prefer another tool for: thousands of <500 ms micro-executions (E2B/Modal microVMs) or GPU compute (Modal).
## Prereqs
`curl -fsSL https://box.ascii.dev/install | sh`, then `box login "$BOX_API_KEY" --json`.
## Recipe
```bash
box_id="$(box new --json | jq -r 'select(.event == "ready") | .id')"
box ssh "$box_id" -- "cat > /tmp/main.py" < ./main.py
box ssh "$box_id" -- "cd /tmp && timeout 120 python3 main.py"
box delete "$box_id" --json
```
## Limits
EU-only; 100 active VMs soft cap; disk-level snapshots only.