OpenCLaw Security MasterCLass (Complete secure setup and Security) Docker + Sandboxing + Bug Fixes
DO NOT let your unsecured OpenCLaw to ruin your life! Join our Community to learn more, 7 days FREE trial: ๐ https://cutt.ly/8tn3tT5J The Link to the Openclaw security trilogy Playlist: https://www.youtube.com/watch?v=j64xeCRiZZ8&list=PLPgpRjv6lgtGjPXnhjNdOsDsY2zUz7C7H ๐ IMPORTANT UPDATES โ Read Before Following Along A few things have been patched since this video was recorded. Here's what to know: 1. "Missing Gateway Token" Error (NEW Late-Feb Update) Because of the new "Zero-Trust Device Pairing" update, fresh Docker installs do NOT auto-generate the Gateway block safely anymore, which throws an "Unauthorized" error. FIX: Open `~/.openclaw/openclaw.json` via nano and paste this exact block near the top (replace with your YOUR_TOKEN_HERE from your .env file): "gateway": { "auth": { "token": "YOUR_TOKEN_HERE" }, "remote": { "token": "YOUR_TOKEN_HERE" } }, 2. VULN-188 Patch Command (Step 5) If you run this command and get Error: Cannot find module '/app/config' โ just skip it. This is a bug in the current OpenClaw CLI, not something you did wrong. The other hardening steps (localhost ports, read-only filesystem, privilege drops) still fully protect you. We'll update this when a fix is confirmed upstream. 3. Dashboard URL Command (Step 7) If `docker compose run --rm openclaw-cli dashboard --no-open` returns nothing or fails, use this instead: `docker compose run --rm openclaw-cli node dist/index.js dashboard --no-open` 4. Duplicate Entrypoint Bug If your gateway keeps restarting after setup, open `docker-compose.yml` and check the gateway service. If you see both an entrypoint: line AND a command: line with the same `["node", "dist/index.js"]` value โ delete the command: line. Keep only entrypoint. This is a bug in the setup script output. ๐ CORRECTION โ 27:00 (docker.sock) Sharp-eyed viewer @alifseen_yt caught a mistake: the docker.sock mount should go under the gateway service in docker-compose.yml โ NOT under cli. The gateway is what spawns sandbox containers. If you put it on cli, sandboxing silently breaks and you'll never know why. The updated Security Manual (link in description) has the correct config. Sorry for the confusion and thanks for keeping this community sharp! ๐ ๐ก The manual is kept up to date with every patch and change. For the most current version with all fixes, troubleshooting callouts, and community Q&A โ join our Skool community: ๐ https://cutt.ly/8tn3tT5J 0:00 โ Intro: Why Security Questions Dominated the Comments 0:30 โ What You'll Have By the End of This Video 1:31 โ How OpenClaw Actually Works (Architecture Refresher) 2:23 โ The Three Security Vulnerability Zones 3:29 โ โ ๏ธ WARNING: Fake Extensions & Real Malware in the Wild 4:56 โ The Only Official OpenClaw Sources 5:02 โ The Security Framework: Hardware vs Software 6:00 โ Option 1: Dedicated Hardware at Home (Mac Mini / Pi / Old Laptop) 7:45 โ Network Isolation: VLAN & Guest Wi-Fi Setup 8:27 โ Step-by-Step Router Hardening (TP-Link Walkthrough) 10:44 โ Isolating OpenClaw on the Guest Network 12:25 โ Option 2: Running on Your Daily Driver PC (The Risky Option) 13:36 โ The Real Solution: Docker + Guest Wi-Fi Combined 14:56 โ Docker Setup Begins 15:51 โ Git Clone + Setup Wizard Walkthrough 22:42 โ Editing the Config Files for Lockdown 23:26 โ Two Critical Exploits You Must Patch (VAN-210 & VAN-188) 24:33 โ Version Check: Are You Vulnerable? 25:00 โ Locking Down Ports in docker-compose.yml 26:35 โ Read-Only File System + tmpfs Scratch Pad 29:58 โ Launch & Test the Hardened Container 33:36 โ Running the Built-in OpenClaw Security Auditor 35:47 โ Part A: Creating Your Telegram Bot (BotFather) 36:25 โ Part B: Configuring the Telegram Gateway in OpenClaw 41:24 โ Agent Sandboxing: The Final Security Layer 42:06 โ Building the Sandbox Docker Image 43:04 โ Enabling Sandbox Mode in OpenClaw 44:45 โ Locking Down the Sandbox (No Internet, Read-Only, Cap Drop All) 47:06 โ Restart & Verify the Sandbox is Live 48:48 โ What Comes Next / Skool Community CTA 49:59 โ See You Inside โ ๏ธ WARNING: Never run unpatched OpenClaw in production - this video shows you why and how to fix it. OpenClaw is powerful but dangerous out of the box. This video makes it production-ready. โฌ๏ธ All code and configs in pinned comment Learn to deploy OpenClaw SAFELY with enterprise-grade security in under [X] minutes. OpenClaw gives AI the ability to control your computer - but with great power comes great responsibility. This tutorial walks through every security layer you need. The Link to the Openclaw security trilogy Playlist: https://www.youtube.com/watch?v=j64xeCRiZZ8&list=PLPgpRjv6lgtGjPXnhjNdOsDsY2zUz7C7H #OpenClaw #AISecurity #Docker #Sandboxing #gVisor #ComputerUseAgent #SecurityMasterclass #DevOps #AIAgent #ContainerSecurity #CyberSecurity #Tutorial
Download
0 formatsNo download links available.