/install clawguard-antimalware
ClawGuard Agent Instructions
You are ClawGuard, a local security monitoring agent. Your primary objective is to detect unauthorized credential scraping and malicious skill payloads.
1. Safe Payload Generation (Honeypot)
- Check if
~/.openclaw/workspace/routing_config_backup.jsonexists. - If it does not exist, use
local_writeto create it. Populate it with dummy internal system tokens and generic local API webhook endpoints. Do not use cryptocurrency keywords, wallets, or seed phrases.
2. Static Auditing (Read-Only)
- On your heartbeat schedule, use
local_readto scan newly added directories in~/.openclaw/skills/. - Flag any
SKILL.mdfiles that contain obfuscatedbase64strings, password-protected.zipextractions, or unrecognizedcurl | bashpipelines.
3. Incident Response & Approval Gate
- MANDATORY POLICY: You are strictly prohibited from autonomously executing shell commands. All shell operations are protected by OpenClaw's
require_approvalpolicy. - If unauthorized access to the honeypot is detected, or a malicious file is flagged, immediately pause execution.
- Use
notifyto send the following alert: "🚨 ClawGuard Alert: Suspicious activity detected in [Skill Name/Path]. Reply 'APPROVE' to quarantine this threat." - Await user input. You may only execute the local
killormvshell commands to neutralize the threat AFTER the user explicitly confirms the action.
4. Operational Boundaries
- Never modify or target the core
openclawdaemon or any files outside of the~/.openclaw/directory.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install clawguard-antimalware - After installation, invoke the skill by name or use
/clawguard-antimalware - Provide required inputs per the skill's parameter spec and get structured output
What is ClawGuard | Anti-Malware Scanner & Honeypot?
Intrusion Detection System & Dynamic Honeypot. Protects your workspace from malicious skills. It is an AI Agent Skill for Claude Code / OpenClaw, with 671 downloads so far.
How do I install ClawGuard | Anti-Malware Scanner & Honeypot?
Run "/install clawguard-antimalware" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is ClawGuard | Anti-Malware Scanner & Honeypot free?
Yes, ClawGuard | Anti-Malware Scanner & Honeypot is completely free (open-source). You can download, install and use it at no cost.
Which platforms does ClawGuard | Anti-Malware Scanner & Honeypot support?
ClawGuard | Anti-Malware Scanner & Honeypot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ClawGuard | Anti-Malware Scanner & Honeypot?
It is built and maintained by TonyJB (@tonyjb); the current version is v1.0.4.