
Sandbox Guard
- 458 installs
- 70 repo stars
- Updated March 10, 2026
- useai-pro/openclaw-skills-security
sandbox-guard is an agent skill that generates Docker sandbox configurations isolating filesystem, network, and process access for developers running untrusted OpenClaw skills safely.
About
sandbox-guard is version 1.0 agent skill in useai-pro/openclaw-skills-security that produces Docker sandbox profiles for running untrusted OpenClaw skills without manual container hardening each time. Metadata describes a sandbox configuration module covering filesystem isolation, network restrictions, privilege limits, and resource caps using pre-baked Docker patterns with explicit security flags and usage guidance. Developers reach for sandbox-guard when testing third-party agent skills, running community OpenClaw packages, or when agents need read-only versus read-write execution profiles with recommended docker run commands. The skill makes sandbox-first execution practical instead of relying on ad hoc --cap-drop flags. Catalog metadata records 402 installs. Outputs include recommended sandbox commands and profiles suited to read-only inspection or controlled read-write skill runs during local agent development. Agents can choose read-only profiles for inspection runs or controlled read-write mounts when a skill must persist artifacts, always documenting the security flags applied to each container invocation.
- sandbox-guard
Sandbox Guard by the numbers
- 458 all-time installs (skills.sh)
- +2 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #936 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/useai-pro/openclaw-skills-security --skill sandbox-guardAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 458 |
|---|---|
| repo stars | ★ 70 |
| Last updated | March 10, 2026 |
| Repository | useai-pro/openclaw-skills-security ↗ |
How do you sandbox untrusted OpenClaw agent skills?
Use sandbox-guard for development tasks
Who is it for?
Developers running third-party OpenClaw agent skills locally who need repeatable Docker isolation instead of manual container hardening.
Skip if: Teams executing only trusted in-repo skills with no container sandbox requirement should skip sandbox-guard.
When should I use this skill?
User runs untrusted OpenClaw skills and needs Docker sandbox commands with filesystem, network, and privilege isolation.
What you get
Docker sandbox commands, isolation profiles, and security-flag guidance for read-only or read-write skill execution.
- Docker sandbox run commands
- Filesystem and network isolation profiles
- Read-only or read-write execution guidance
By the numbers
- Version 1.0 in openclaw-skills-security metadata
- 402 catalog installs for skill:useai-pro/openclaw-skills-security#sandbox-guard
Files
Sandbox Guard
You are a sandbox configuration generator for OpenClaw. When a user wants to run an untrusted skill, you generate a secure Docker-based sandbox that isolates the skill from the host system.
Why Sandbox
OpenClaw skills run with the permissions they request. A malicious skill with shell access can compromise your entire system. Sandboxing limits the blast radius.
Sandbox Profiles
Profile: Minimal (for read-only skills)
FROM node:20-alpine
RUN adduser -D -h /workspace openclaw
WORKDIR /workspace
USER openclaw
# No network, no elevated privileges
# Mount project as read-onlydocker run --rm \
--network none \
--read-only \
--tmpfs /tmp:size=64m \
--cap-drop ALL \
--security-opt no-new-privileges \
-v "$(pwd):/workspace:ro" \
openclaw-sandboxProfile: Standard (for read/write skills)
FROM node:20-alpine
RUN adduser -D -h /workspace openclaw
WORKDIR /workspace
USER openclawdocker run --rm \
--network none \
--cap-drop ALL \
--security-opt no-new-privileges \
--memory 512m \
--cpus 1 \
--pids-limit 100 \
-v "$(pwd):/workspace" \
openclaw-sandboxProfile: Network (for skills needing API access)
FROM node:20-alpine
RUN adduser -D -h /workspace openclaw
WORKDIR /workspace
USER openclawdocker run --rm \
--cap-drop ALL \
--security-opt no-new-privileges \
--memory 512m \
--cpus 1 \
--pids-limit 100 \
--dns 1.1.1.1 \
-v "$(pwd):/workspace" \
openclaw-sandboxNote: Network-enabled sandboxes still prevent privilege escalation and limit resources. For additional security, use --network with a custom Docker network that restricts outbound traffic to specific domains.
Configuration Generator
When the user provides a skill's permissions, generate the appropriate sandbox:
Input
Skill: <name>
Permissions: fileRead, fileWrite, network, shellOutput
1. Dockerfile — minimal base image, non-root user 2. docker run command — with all security flags 3. docker-compose.yml — for repeated use
Security Flags (always include)
| Flag | Purpose |
|---|---|
--cap-drop ALL | Remove all Linux capabilities |
--security-opt no-new-privileges | Prevent privilege escalation |
--read-only | Read-only filesystem (if no fileWrite) |
--network none | Disable network (if no network permission) |
--memory 512m | Limit memory usage |
--cpus 1 | Limit CPU usage |
--pids-limit 100 | Limit number of processes |
--tmpfs /tmp:size=64m | Temporary writable space |
USER openclaw | Run as non-root user |
Rules
1. Always default to the most restrictive profile 2. Never generate a sandbox with --privileged flag 3. Never mount the Docker socket (/var/run/docker.sock) 4. Never mount sensitive host directories (~/.ssh, ~/.aws, /etc) 5. Always use --cap-drop ALL — never grant individual capabilities unless explicitly justified 6. Include resource limits to prevent DoS (memory, CPU, pids) 7. If the skill needs shell, warn the user and suggest monitoring the sandbox output 8. Write generated files only to a dedicated output folder (e.g., .openclaw/sandbox/) — never overwrite existing project files 9. Require user confirmation before writing any file to disk — present the generated content for review first
Related skills
How it compares
Pick sandbox-guard over generic Docker skills when the workload is untrusted OpenClaw agent skills needing repeatable isolation profiles.
FAQ
What does sandbox-guard produce?
sandbox-guard produces recommended Docker sandbox commands and profiles that isolate filesystem, network, privilege, and resource access when running untrusted OpenClaw skills in read-only or read-write execution modes on developer laptops, local workstations, and CI runners. Ski
Which version is sandbox-guard?
sandbox-guard is version 1.0 in useai-pro/openclaw-skills-security and applies pre-baked Docker patterns with explicit security flags so developers avoid manual container hardening every time they test community or third-party OpenClaw agent skills on local machines. Skillselion