useai-pro/openclaw-skills-security/sandbox-guard
Claude Code and agent skill by useai-pro/openclaw-skills-security
- community
Checking that the SKILL.md file is still in the repository.
Generate Docker sandbox configurations for safely running untrusted OpenClaw skills. Isolates filesystem, network,
Install
npx vskill@latest install useai-pro/openclaw-skills-security/sandbox-guardSKILL.md
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)
Profile: Standard (for read/write skills)
Profile: Network (for skills needing API access)
Note: 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
Output
- Dockerfile — minimal base image, non-root user
- docker run command — with all security flags
- 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
- Always default to the most restrictive profile
- Never generate a sandbox with
--privilegedflag - Never mount the Docker socket (
/var/run/docker.sock) - Never mount sensitive host directories (
~/.ssh,~/.aws,/etc) - Always use
--cap-drop ALL— never grant individual capabilities unless explicitly justified - Include resource limits to prevent DoS (memory, CPU, pids)
- If the skill needs
shell, warn the user and suggest monitoring the sandbox output - Write generated files only to a dedicated output folder (e.g.,
.openclaw/sandbox/) — never overwrite existing project files - Require user confirmation before writing any file to disk — present the generated content for review first
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sandbox-guard/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 4
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/useai-pro/openclaw-skills-security/sandbox-guard)