Install
openclaw skills install clawhub-security-scanPre-publish security scan for ClawHub skills - Scans code for patterns that might get flagged as suspicious and gives fixing suggestions.
openclaw skills install clawhub-security-scanPre-publish security scan for ClawHub skills. Scans your skill code for patterns that might trigger automatic suspicious flagging on ClawHub, and gives actionable fixing suggestions.
| Command | Description |
|---|---|
scan.py | Scan a skill folder for suspicious patterns |
precheck.py | Interactive pre-publish checklist wizard - step-by-step security check before publishing |
review.py | Review scan results and get modification suggestions |
# Scan a skill folder
python scripts/scan.py --path ./my-skill
Scans for code patterns that commonly trigger ClawHub VirusTotal Code Insight suspicious flagging:
/etc/passwd, ~/.ssh/*, id_rsa, etc.)eval(), exec(), execfile()) without validationsubprocess, os.system to run system commands0.001 USDT per call, billed via SkillPay.me.
You can create a .clawhub-security file in your skill root to ignore specific patterns that you know are safe:
# .clawhub-security - ignore patterns that are safe
ignore: high-entropy-secret # ignore the high-entropy warning for your SkillID
ignore: os\.environ # ignore environment variable warnings
One pattern per line. Lines starting with # are comments.
ClawHub automatically scans published skills with VirusTotal Code Insight. Some perfectly normal patterns (like reading env vars or making API requests) get flagged as "suspicious" scaring users. This tool helps you find and address those issues before publishing.
This tool doesn't guarantee you won't get flagged, but it greatly reduces the chance.