sandbox-guard

Generate Docker sandbox profiles to restrict OpenClaw skill access to files, network, and processes.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/wongdean/knowledge-base --skill sandbox-guard-wongdean
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sandbox-guard
Source: https://github.com/wongdean/knowledge-base/tree/main/backups/openclaw-config/20260315_232439/workspace-skills/openclaw-skills-security/skills/sandbox-guard
Command: npx skills add https://github.com/wongdean/knowledge-base --skill sandbox-guard-wongdean

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust solution for safely executing untrusted OpenClaw skills by generating secure Docker sandbox configurations, thereby mitigating potential security risks associated with arbitrary code execution.

Core Features & Use Cases

  • Docker Sandbox Generation: Creates isolated Docker environments with pre-defined security flags.
  • Profile Variety: Offers minimal (read-only), standard (read/write), and network-enabled sandbox profiles.
  • Use Case: When you need to run a newly acquired or community-contributed OpenClaw skill whose security is not fully verified, you can use this Skill to generate a secure Docker container configuration that limits its access to your system.

Quick Start

Generate a read-only Docker sandbox configuration for a skill with file-read permissions.

Frequently Asked Questions about sandbox-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely run untrusted code in a Docker sandbox?

A Docker sandbox isolates untrusted code by restricting filesystem, network, and process access through generated container configurations. This approach prevents privilege escalation and limits resources for potentially malicious execution.

How do I prevent privilege escalation when executing community-contributed OpenClaw skills?

Preventing privilege escalation when executing OpenClaw skills requires generating Docker sandbox configurations that enforce secure container patterns. This approach restricts process access and applies resource limiting to isolate untrusted code.

Can I create a read-only Docker sandbox for untrusted skills?

Yes, you can create a read-only Docker sandbox by generating a minimal profile configuration. This profile restricts filesystem access to read-only permissions, ensuring untrusted skills cannot modify system files during execution.

Does Docker sandbox isolation support network-enabled profiles for untrusted code?

Yes, Docker sandbox isolation supports network-enabled profiles for untrusted code. Alongside minimal and standard configurations, the network-enabled profile allows controlled network access while maintaining filesystem and process restrictions.

What are the limitations of using Docker sandboxes to isolate untrusted code?

Limitations of using Docker sandboxes to isolate untrusted code include the need for repeatable configuration generation to avoid gaps in filesystem or network restrictions. Proper privilege escalation prevention requires careful secure container pattern implementation.