Install
openclaw skills install alfred-openshell-sandboxProvides isolated sandboxes using NVIDIA OpenShell for secure code execution, security scans, debugging, and test running with resource and network restricti...
openclaw skills install alfred-openshell-sandboxSecure execution environment for specialist agents using NVIDIA OpenShell.
OpenShell provides sandboxed containers with Landlock LSM + seccomp + network namespaces + L7 policy engine. Each specialist agent gets an isolated sandbox for safe code execution.
| Sandbox | Agent | Purpose | Status |
|---|---|---|---|
coder-sandbox | coder | Code execution, builds, tests | Ready |
security-sandbox | security | Pentesting, security scans | Ready |
debug-sandbox | debug | Bug reproduction, diagnosis | Ready |
test-sandbox | qa-tester | Test execution | Ready |
# List all sandboxes
openshell sandbox list
# Execute command in sandbox
openshell sandbox exec -n <sandbox-name> -- <command> [args...]
# Interactive shell
openshell sandbox connect -n <sandbox-name>
# Create new sandbox
openshell sandbox create --name <name>
# Delete sandbox
openshell sandbox delete <name>
# View logs
openshell logs -n <sandbox-name>
# Gateway status
openshell status
# Diagnose issues
openshell doctor check
When executing code that could affect the host system:
# Instead of running locally:
python3 script.py
# Run in sandbox:
openshell sandbox exec -n coder-sandbox -- python3 /workspace/script.py
When running security tools or scans:
# Run nmap, nikto, etc. in isolated sandbox
openshell sandbox exec -n security-sandbox -- nmap -sV target
When reproducing bugs or testing fixes:
openshell sandbox exec -n debug-sandbox -- node test.js
When running test suites:
openshell sandbox exec -n test-sandbox -- pytest tests/
To copy files between host and sandbox:
# Copy file INTO sandbox (via exec cat)
cat local_file.py | openshell sandbox exec -n coder-sandbox -- tee /workspace/local_file.py
# Copy file FROM sandbox
openshell sandbox exec -n coder-sandbox -- cat /workspace/result.txt > local_result.txt
Default policies apply L7 network restrictions. To view/modify:
openshell policy list
openshell sandbox list to check statusopenshell status and openshell doctor checkopenshell policy to modifyHost (Ubuntu ARM64)
└── OpenShell Gateway (Docker + k3s)
├── coder-sandbox (aarch64, Python 3.13, Node 22)
├── security-sandbox (aarch64)
├── debug-sandbox (aarch64)
└── test-sandbox (aarch64)