clawguard

Security scanner for OpenClaw/Clawdbot skills - detect malicious patterns before installation

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "clawguard" with this command: npx skills add devinfloyd1/clawguarddevin

ClawGuard

Security Scanner for OpenClaw/Clawdbot Skills

Protect yourself from malicious skill installations. ClawGuard scans skills for dangerous patterns before you install them - including patterns from the ClawHavoc campaign (341 malicious skills discovered by Koi Security).

Quick Start

# Scan a skill by name
python scan.py --skill <skill-name>

# Scan a skill by path  
python scan.py --path /path/to/skill

# Scan all installed skills
python scan.py --all

What It Detects

CategoryExamplesSeverity
🔴 Reverse Shellssocket.connect(), pty.spawn(), /dev/tcpCritical
🔴 Data Exfiltrationrequests.post() to suspicious TLDsCritical
🔴 Credential HarvestReading ~/.ssh/id_rsa, AWS credentialsCritical
🔴 Obfuscationbase64.b64decode(exec), chr() chainsCritical
🔴 ClawHavoc IOCsglot.io scripts, fake Apple URLs, known C2 IPsCritical
🟠 Code Executionexec(), eval(), subprocessHigh
🟡 Suspicious NetworkURL shorteners, weird portsMedium

Output Formats

# Console (default) - colored terminal output
python scan.py --skill github

# JSON - machine-readable for CI/CD
python scan.py --skill github --format json

# Markdown - for sharing reports
python scan.py --skill github --format markdown

Risk Scoring

ScoreLevelAction
0-10🟢 SafeInstall freely
11-25🟢 LowQuick review
26-50🟡 MediumReview findings
51-75🔴 HighReview carefully
76-100🔴 CriticalDo not install

IOC Database

70+ indicators of compromise including:

  • Remote access (reverse shells, C2)
  • Data exfiltration
  • Credential harvesting
  • Code obfuscation
  • Real ClawHavoc campaign IOCs (from Koi Security research)
  • Known malicious IPs, hashes, and skill names

Requirements

  • Python 3.8+
  • No external dependencies (stdlib only)

Credits

IOCs enriched with research from Koi Security - ClawHavoc campaign analysis by Oren Yomtov and Alex.

Links


Built for the Clawdbot community 🐾

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Agent Causal

Helps decide to ship, continue, or roll back changes from A/B test and DiD data by providing statistical analysis, decisions, and audit trails.

Registry SourceRecently Updated
Security

Code Review Inspector

Automated code review checking for bugs, security issues, best practices, performance problems, and code style

Registry SourceRecently Updated
250Profile unavailable
Security

Docker Optimizer

Optimize Dockerfiles with multi-stage builds, layer caching, security best practices, and size reduction techniques

Registry SourceRecently Updated
260Profile unavailable
Security

Skill Auditor

Audit core: a classification taxonomy and a severity scoring function, kept orthogonal. Operates on the whole skill bundle (SKILL.md plus any referenced scri...

Registry SourceRecently Updated
1250Profile unavailable