Caelguard: Open-Source Security Scanner for OpenClaw Instances

Caelguard is an open-source security scanner specifically built for OpenClaw instances, developed by a cybersecurity professional with 12+ years of enterprise email security experience. The tool was created in response to the ClawHavoc supply chain attack that revealed over 2,400 malicious skills on ClawHub, with Reuters reporting on March 26 that 12% of the entire marketplace is malware.
Key Features and Checks
The community edition runs 22 security checks across your OpenClaw instance, including:
- Docker isolation
- Tool permission scoping
- Skill supply chain verification
- Prompt injection resistance
- Network egress monitoring
- MCP server integrity
- Config file integrity monitoring
What It Catches
Specific vulnerabilities the scanner identifies:
- Skills installed from ClawHub with no hash pinning (supply chain risk)
- Tool permissions set to allow-all instead of an explicit allowlist
- No DOCKER-USER iptables rules (containers can talk to anything)
- SOUL.md files with zero prompt injection directives
- Cron jobs running in main session context instead of isolated
Implementation Details
Caelguard provides a security score out of 140 with a letter grade and tells you what to fix first. The developer's own instance scored 4 out of 140 initially (now at 83 after remediation). The tool is MIT licensed and available at https://github.com/Caelguard/caelguard-community.
The developer notes that most instances are likely in the 20-40 score range based on observed patterns and is actively seeking feedback on missing checks and edge cases.
📖 Read the full source: r/openclaw
👀 See Also

Security Analysis of AI Agents Reveals Broken Trust Model and High Vulnerability Rates
A security analysis of AI agents shows the fundamental trust model is broken, with 49% of MCP packages having security findings and indirect injection achieving 36-98% attack success rates across state-of-the-art models.

AI Agent Exploits SQL Injection to Compromise McKinsey's Lilli Chatbot
Security researchers at CodeWall used an autonomous AI agent to hack McKinsey's internal Lilli chatbot, gaining full read-write access to its production database in two hours via an SQL injection vulnerability in unauthenticated API endpoints.

Hackerbot-Claw: AI Bot Exploiting GitHub Actions Workflows
An AI-powered bot called hackerbot-claw executed a week-long automated attack campaign against CI/CD pipelines, achieving remote code execution in at least 4 out of 6 targets including Microsoft, DataDog, and CNCF projects. The bot used 5 different exploitation techniques and exfiltrated a GitHub token with write permissions.

Security Alert for Local OpenClaw Instances Without Sandboxing
A Reddit post warns that running vanilla OpenClaw instances locally without proper isolation can lead to exposed API keys, accidental file deletion, and data leaks. The source recommends sandboxing bash tools or using a managed service.