FC openclaw-security-monitor
Proactive security monitoring, threat scanning, and auto-remediation for OpenClaw deployments
Proactive security monitoring, threat scanning, and auto-remediation for OpenClaw deployments
As a process C 51/100 · Has gaps — weak spots: result and completion, when it triggers, failures and branches
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The purpose itself is risky: wallets, browser password stores, offensive security. Even an honest implementation gives the agent access to things that cost money.
Explain in the description why the access is needed and how it is limited; add tests that show refusals on dangerous requests.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".
If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 65
-
high Dangerous commands
cmd-persistencescripts/dashboard.sh:166Persistence mechanism (cron / launchd / scheduled task / autorun registry)CRON_EXISTS=$(crontab -l 2>/dev/null | grep -c "$SELF_DIR_NAME" || true)
Medium and low: 64
-
medium Dangerous commands
cmd-persistenceREADME.md:164Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)ls ~/Library/LaunchAgents/ | grep -ivE "com\.apple|com\.openclaw\.security"
security skill -
medium Dangerous commands
cmd-persistenceREADME.md:619Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)ls -la ~/Library/LaunchAgents/ | grep -iE "openclaw|clawdbot|moltbot"
security skill -
medium Dangerous commands
cmd-persistenceREADME.md:621Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)launchctl unload ~/Library/LaunchAgents/<suspicious-plist>
security skill -
medium Dangerous commands
cmd-persistenceREADME.md:622Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)rm ~/Library/LaunchAgents/<suspicious-plist>
security skill -
medium Dangerous commands
cmd-privilegescripts/remediate/check-04-exfil-endpoints.sh:118Privilege escalation / world-writable permissionssudo cp /etc/hosts "$HOSTS_BACKUP"
-
medium Risky intent
intent-wallet-secretsscripts/remediate/check-05-crypto-wallet.sh:73Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer targeta) Transfer funds to a NEW wallet with a NEW seed phrase:
-
medium Risky intent
intent-wallet-secretsscripts/remediate/check-05-crypto-wallet.sh:74Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target- Create new wallet with fresh seed phrase
-
medium Risky intent
intent-wallet-secretsscripts/remediate/check-05-crypto-wallet.sh:76Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target- Never reuse the old seed phrase
-
medium Dangerous commands
cmd-pipe-to-shellscripts/remediate/check-06-curl-pipe.sh:78Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed)"curl | sh" and similar patterns are extremely dangerous as they:
code literal -
medium Exfiltration
exfil-read-secret-filesscripts/remediate/check-16-env-leakage.sh:11Reads credential / secret files (quoted — discussed, not commanded)"cat.*\.aws/credentials"
quoted -
medium Dangerous commands
cmd-persistencescripts/remediate/check-22-persistence.sh:5Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)log "Check 22: Audit/remove unauthorized LaunchAgents/crontabs"
code literal -
medium Dangerous commands
cmd-persistencescripts/scan.sh:643Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)CRON_ENTRIES=$(crontab -l 2>/dev/null | grep -ivE "${SELF_DIR_NAME}|#" | grep -iE "openclaw|clawdbot|moltbot|curl.*\|.*sh|wget.*\|.*bash" || true)security skill -
medium Exfiltration
net-credential-usescripts/telegram-setup.sh:24Credential used in a network call (verify the destination is the intended service)UPDATES=$(curl -s "https://api.telegram.org/bot${TELEGRAM_TOKEN}/getUpdates?limit=5" --connect-timeout 10 2>/dev/null) -
medium Exfiltration
net-credential-usescripts/telegram-setup.sh:37Credential used in a network call (verify the destination is the intended service)RESULT=$(curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" \ -
medium Dangerous commands
cmd-persistenceSKILL.md:125Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)launchctl unload ~/Library/LaunchAgents/com.openclaw.security-dashboard.plist
security skill -
medium Dangerous commands
cmd-persistenceSKILL.md:126Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)launchctl load ~/Library/LaunchAgents/com.openclaw.security-dashboard.plist
security skill -
low Risky intent
intent-offensive-securitydocs/threat-model.md:57Offensive-security / dual-use content (legitimate for authorised testing; review intended use)### 5. Credential Harvesting
-
low Risky intent
intent-offensive-securitydocs/threat-model.md:184Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| GHSA-v773-* | Slack dmPolicy=open privilege escalation | Medium | v2026.2.14 |
-
low Risky intent
intent-offensive-securityioc/c2-ips.txt:13Offensive-security / dual-use content (legitimate for authorised testing; review intended use)# Reverse shell endpoint
-
low Risky intent
intent-offensive-securityioc/c2-ips.txt:14Offensive-security / dual-use content (legitimate for authorised testing; review intended use)54.91.154.110|clawhavoc-revshell|2026-01-28|Reverse shell target port 13338
-
low Risky intent
intent-offensive-securityioc/malicious-domains.txt:15Offensive-security / dual-use content (legitimate for authorised testing; review intended use)burpcollaborator.net|exfil|generic|Pentest tool (suspicious in skills)
-
low Risky intent
intent-offensive-securityioc/malicious-skill-patterns.txt:47Offensive-security / dual-use content (legitimate for authorised testing; review intended use)^polymarket-all-in-one$|reverse-shell|Contains reverse shell backdoor (noreplyboter)
-
low Dangerous commands
cmd-cron-mentionREADME.md:50Mentions editing / listing crontab (documentation of a security skill)crontab -l | { cat; echo "0 6 * * * $(pwd)/scripts/daily-scan-cron.sh"; } | crontab -security skill -
low Risky intent
intent-offensive-securityREADME.md:179Offensive-security / dual-use content (legitimate for authorised testing; review intended use)**What it means:** A skill contains reverse shell patterns (`nc -e`, `/dev/tcp/`, `socat exec`, etc.) or Gatekeeper bypass commands (`xattr -cr`).
-
low Dangerous commands
cmd-privilegeREADME.md:213Privilege escalation / world-writable permissions (documentation of a security skill)sudo sh -c 'echo "127.0.0.1 webhook.site" >> /etc/hosts'
security skill -
low Dangerous commands
cmd-privilegeREADME.md:214Privilege escalation / world-writable permissions (documentation of a security skill)sudo sh -c 'echo "127.0.0.1 pipedream.net" >> /etc/hosts'
security skill -
low Dangerous commands
cmd-privilegeREADME.md:215Privilege escalation / world-writable permissions (documentation of a security skill)sudo sh -c 'echo "127.0.0.1 hookbin.com" >> /etc/hosts'
security skill -
low Dangerous commands
cmd-privilegeREADME.md:216Privilege escalation / world-writable permissions (documentation of a security skill)sudo sh -c 'echo "127.0.0.1 requestbin.com" >> /etc/hosts'
security skill -
low Dangerous commands
cmd-shell-rcREADME.md:283Writes to a shell startup file (documentation of a security skill)echo 'umask 077' >> ~/.zshrc
security skill -
low Dangerous commands
cmd-cron-mentionREADME.md:633Mentions editing / listing crontab (documentation of a security skill)crontab -l | grep -iE "openclaw|clawdbot|moltbot"
security skill -
low Dangerous commands
cmd-cron-mentionREADME.md:635Mentions editing / listing crontab (documentation of a security skill)crontab -e
security skill -
low Dangerous commands
cmd-privilegeREADME.md:680Privilege escalation / world-writable permissions (documentation of a security skill)sudo sh -c 'echo "$HOME/.openclaw/logs/*.log 640 7 1000 * J" >> /etc/newsyslog.conf'
security skill -
low Risky intent
intent-offensive-securityREADME.md:721Offensive-security / dual-use content (legitimate for authorised testing; review intended use)**What it means:** The `exec-approvals.json` allows remote command execution without confirmation. The CVE-…253 exploit chain used `exec.approvals.set` to disable confirmation prompts.
-
low Dangerous commands
cmd-pipe-to-shell-known-hostREADME.md:780Pipe-to-shell installer from a well-known host (still executes remote code) (documentation of a security skill)curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
security skill -
low Risky intent
intent-offensive-securityREADME.md:974Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| `54.91.154.110` | ClawHavoc | Reverse shell endpoint (port 13338) |
-
low Risky intent
intent-offensive-securityREADME.md:1109Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (detector / deny-list definition)| CVE-…763 | Command injection | #3: Reverse shell patterns |
detector -
low Risky intent
intent-offensive-securityREADME.md:1128Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| [SOCRadar](https://socradar.io/blog/cve-…ken/) | CVE-…253 Analysis | Exploit chain technical details |
-
low Dangerous commands
cmd-pipe-to-shell-known-hostREADME.md:1259Pipe-to-shell installer from a well-known host (still executes remote code) (documentation of a security skill)curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
security skill -
low Exfiltration
exfil-webhook-urlscripts/daily-scan-cron.sh:57Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" \placeholder -
low Exfiltration
net-credential-usescripts/daily-scan-cron.sh:57Credential used in a network call (verify the destination is the intended service) (documentation of a security skill)curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" \security skill -
low Exfiltration
exfil-webhook-urlscripts/daily-scan-cron.sh:84Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)UPDATES=$(curl -s "https://api.telegram.org/bot${TELEGRAM_TOKEN}/getUpdates?limit=5" --connect-timeout 10 2>/dev/null)placeholder -
low Exfiltration
net-credential-usescripts/daily-scan-cron.sh:84Credential used in a network call (verify the destination is the intended service) (documentation of a security skill)UPDATES=$(curl -s "https://api.telegram.org/bot${TELEGRAM_TOKEN}/getUpdates?limit=5" --connect-timeout 10 2>/dev/null)security skill -
low Dangerous commands
cmd-cron-mentionscripts/dashboard.sh:166Mentions editing / listing crontabCRON_EXISTS=$(crontab -l 2>/dev/null | grep -c "$SELF_DIR_NAME" || true)
-
low Dangerous commands
cmd-cron-mentionscripts/remediate/check-03-reverse-shells.sh:91Mentions editing / listing crontabcrontab -l
-
low Dangerous commands
cmd-privilegescripts/remediate/check-04-exfil-endpoints.sh:122Privilege escalation / world-writable permissions (detector / deny-list definition; code comment)echo "127.0.0.1 $domain # Blocked by openclaw-security-monitor" | sudo tee -a /etc/hosts > /dev/null
detectorcomment -
low Dangerous commands
cmd-cron-mentionscripts/remediate/check-22-persistence.sh:35Mentions editing / listing crontabif crontab -l &>/dev/null; then
-
low Dangerous commands
cmd-cron-mentionscripts/remediate/check-22-persistence.sh:38Mentions editing / listing crontabcrontab -l | while IFS= read -r line; do
-
low Dangerous commands
cmd-cron-mentionscripts/remediate/check-22-persistence.sh:52Mentions editing / listing crontab (detector / deny-list definition; string literal in code, not executed)guidance " crontab -e"
detectorcode literal -
low Dangerous commands
cmd-privilegescripts/remediate/check-22-persistence.sh:70Privilege escalation / world-writable permissions (string literal in code, not executed)guidance " sudo rm \"$plist\""
code literal -
low Dangerous commands
cmd-pipe-to-shell-known-hostscripts/remediate/check-28-nodejs-cve.sh:59Pipe-to-shell installer from a well-known host (still executes remote code) (string literal in code, not executed)" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash" \
code literal -
low Dangerous commands
cmd-background-processscripts/remediate/check-31-internet-expose.sh:157Starts a background / autostarted process (string literal in code, not executed)" sudo systemctl enable iptables" \
code literal -
low Dangerous commands
cmd-background-processscripts/remediate/check-31-internet-expose.sh:158Starts a background / autostarted process (string literal in code, not executed)" sudo systemctl enable ip6tables"
code literal -
low Dangerous commands
cmd-cron-mentionscripts/scan.sh:643Mentions editing / listing crontab (documentation of a security skill)CRON_ENTRIES=$(crontab -l 2>/dev/null | grep -ivE "${SELF_DIR_NAME}|#" | grep -iE "openclaw|clawdbot|moltbot|curl.*\|.*sh|wget.*\|.*bash" || true)security skill -
low Exfiltration
exfil-webhook-urlscripts/telegram-setup.sh:24Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)UPDATES=$(curl -s "https://api.telegram.org/bot${TELEGRAM_TOKEN}/getUpdates?limit=5" --connect-timeout 10 2>/dev/null)placeholder -
low Exfiltration
exfil-webhook-urlscripts/telegram-setup.sh:37Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)RESULT=$(curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" \placeholder -
low Risky intent
intent-offensive-securitySKILL.md:45Offensive-security / dual-use content (legitimate for authorised testing; review intended use)26. Exec-approvals configuration audit (CVE-…253 exploit chain)
-
low Dangerous commands
cmd-cron-mentionSKILL.md:142Mentions editing / listing crontab (documentation of a security skill)crontab -l | { cat; echo "0 6 * * * $HOME/.openclaw/workspace/skills/<skill-dir>/scripts/daily-scan-cron.sh"; } | crontab -security skill
A further 7 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 58. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when")
Process rating: all ten parameters 51/100
- 0Result and completion. Does not say what the result is
- 0Failures and branches. Linear process with no failure handling
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 4 mutating operations with no state check
- 60Tools and files. Uses tools (bash, web) that frontmatter does not declare
- 70Inputs and preconditions. Inputs and preconditions are listed
- 85Steps. 69 steps, 3 vague phrases
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2686 tokens
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Description length 93: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- -41 reference files, but SKILL.md never points to them: the model will not open them
- +1No license
- +2Single-language instructions
- +4Structure: 14 headings
- +3Step-by-step instructions: 69 items
- +4Has examples (8 code blocks)
- +3All 7 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 68.