sandwrap
Run untrusted skills safely with soft-sandbox protection. Wraps skills in multi-layer prompt-based defense (~85% attack prevention). Use when: (1) Running third-party skills from unknown sources, (2) Processing untrusted content that might contain prompt injection, (3) Analyzing suspicious files or URLs safely, (4) Testing new skills before trusting them. Supports manual mode ('run X in sandwrap') and auto-wrap for risky skills.
Why use this skill?
Secure your OpenClaw agent with Sandwrap. Use multi-layer, prompt-based defense to safely execute untrusted skills and prevent prompt injection attacks.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/rubenaquispe/sandwrapWhat This Skill Does
Sandwrap is a specialized security layer designed for OpenClaw AI that provides soft-sandbox protection for running untrusted third-party skills. It does not utilize virtual machines or system-level isolation but instead employs a multi-layered, prompt-based defense mechanism to mitigate approximately 85% of common prompt injection and malicious intent attacks. By wrapping target skills in a strictly defined instruction hierarchy, it forces external content to adhere to your predefined security parameters.
Installation
To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/rubenaquispe/sandwrap
Use Cases
Sandwrap is essential for users who frequently integrate third-party community skills into their workflow. It is highly recommended for:
- Analyzing suspicious URLs or files where you suspect malicious payload intent.
- Testing newly installed skills from unknown sources before granting them full system permissions.
- Processing unstructured data from untrusted sources (like user-submitted web forms or external APIs) that could contain prompt injection vulnerabilities.
- Enforcing strict access control by using presets like 'read-only' to browse sensitive codebases without risking accidental data modification.
Example Prompts
- "Run github-repo-summarizer in sandwrap read-only"
- "Analyze this suspicious email link using sandwrap web-only"
- "Run code-converter-v2 in sandwrap audit preset"
Tips & Limitations
- Understand the Soft-Sandbox Nature: Sandwrap is not an airtight VM or container. It is a prompt-level safety filter. Therefore, do not process high-stakes, hyper-sensitive credentials through sandwrapped skills.
- Preset Selection: Always choose the most restrictive preset that satisfies your workflow needs. Default to 'read-only' whenever possible to minimize the attack surface.
- Pay Attention to Approvals: Layer 4 requires manual human approval for sensitive actions. If you see an injection warning, abort immediately rather than bypassing.
- Limitations: While Sandwrap provides a significant security boost (~85%), sophisticated, adaptive, or novel attack vectors may still bypass these protections. For absolute deterministic security, use a dedicated physical or virtualized sandbox environment instead.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-rubenaquispe-sandwrap": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
skill-auditor
Security scanner that catches malicious skills before they steal your data. Detects credential theft, prompt injection, and hidden backdoors. Works immediately with zero setup. Optional AST dataflow analysis traces how your data moves through code.
GSD Claw
Spec-driven development with built-in verification for substantial projects. Use when user wants to plan a project, scope a feature, build something with structure, or says "GSD mode", "let's plan", "scope out", "spec-driven". Workflow is Discuss → Plan → Execute → Verify. Based on glittercowboy's GSD system (MIT license). NOT for quick questions or simple tasks.
frankenstein
Combine the best parts of multiple skills into one. Searches ClawHub, GitHub, skills.sh, skillsmp.com and other AI skill repos. Analyzes each safely, compares features, and builds a combined 'Frankenstein' skill with the best of each. Uses skill-auditor for security scanning and sandwrap for safe analysis. Use when: (1) Multiple skills exist for same purpose, (2) Want best-of-breed combination, (3) Building a comprehensive skill from fragments.
token-saver
Reduce OpenClaw AI costs with model-aware optimization. Features dynamic compaction presets based on your model's context window, intelligent file compression, and robust model detection with fallback. Supports Claude, GPT-4, Gemini, DeepSeek, and more.