skill-threat-scanner
Scan OpenClaw skills for malware, prompt injection, reverse shells, wallet theft, supply chain attacks, and data exfiltration. Protect your agent from the 386+ malicious ClawHub skills (ClawHavoc). 9-category threat detection, tamper monitoring, JSON reports, zero dependencies.
Why use this skill?
Protect your OpenClaw agent from malware, prompt injection, and supply chain attacks with the Skill Threat Scanner. 9-category audit tool.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/benlee2144/skill-threat-scannerWhat This Skill Does
Skill Threat Scanner is an essential security hardening tool for the OpenClaw ecosystem. Designed as a proactive defense mechanism, it monitors and audits your installed skills against a 9-category threat detection matrix. Whether you are downloading new tools from ClawHub or managing custom local scripts, this agent ensures your environment remains secure from malware, prompt injection, reverse shells, wallet theft, supply chain attacks, and data exfiltration. By leveraging static code analysis, smart domain monitoring, and baseline hash tracking, the tool provides a deep-dive audit of your ~/clawd/skills/ directory. It automatically flags suspicious patterns such as Base64-encoded payloads, hidden shell injections, and unauthorized attempts to access system-sensitive files like SSH keys, AWS credentials, or cryptocurrency wallets. With zero dependencies and native Python execution, it offers high-performance protection that integrates directly into your agent's workflow.
Installation
To install the Skill Threat Scanner, use the ClawHub command-line interface within your terminal:
clawhub install openclaw/skills/skills/benlee2144/skill-threat-scanner
Once installed, verify the installation by navigating to the skill directory and running the scanner:
python3 ~/clawd/skills/skill-guard/scripts/skillguard.py scan
Use Cases
- Routine Security Audits: Periodically scan your entire skill library to ensure that updates haven't introduced malicious code or changed file footprints since the last baseline.
- Vetting New Skills: Use the
checkcommand on a newly downloaded directory before allowing it full access to your system environment. - Continuous Monitoring: Utilize the
watchcommand via system cron jobs to receive real-time alerts if any installed skill alters its behavior or codebase unexpectedly.
Example Prompts
- "OpenClaw, run a full security audit on all installed skills and provide me with a JSON report summarizing any potential threats."
- "Scan the directory ~/clawd/skills/test-project and let me know if it attempts to access any sensitive environment variables or crypto wallets."
- "Check if there have been any file changes in the current skill baseline and alert me immediately if a suspicious modification is detected."
Tips & Limitations
- Baseline Often: Always run the
--baselineflag after you have verified that your skills are clean and functioning as expected. This ensures the integrity monitor has a valid reference point. - JSON for Automation: Use the
--jsonflag when piping output into other monitoring tools or automated alert systems. - Domain Awareness: The scanner uses an allowlist for known API domains. If you use custom private APIs, ensure your requests are clearly documented to avoid false positive warnings.
- Limitations: While the scanner is highly effective at identifying known attack patterns, it is a static analysis tool. It cannot execute the code in a sandbox to observe runtime behavior; therefore, it is best used as a first line of defense alongside your own code reviews.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-benlee2144-skill-threat-scanner": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, code-execution
Related Skills
doctorbot-ci-validator
Stop failing in production. Validate your GitHub Actions, GitLab CI & Keep workflows offline with surgical precision. Born from Keep bounty research, perfected for agents.
arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
AURA Security Scanner
Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them
sbom-explainer
把依赖清单或 SBOM 翻译成非技术可读的风险说明,按影响面排序。;use for sbom, dependencies, risk workflows;do not use for 伪造 CVE 状态, 替代专业漏洞扫描.
china-renewable-energy-sourcing
Comprehensive renewable energy industry sourcing guide for international buyers – provides detailed information about China's solar PV, wind power, energy storage, and hydrogen manufacturing clusters, supply chain structure, regional specializations, and industry trends (2026 updated).