Xpersona
S

Skill Guard

CLAWHUB · Unverified

Security scanner for OpenClaw agent skills. Pre-install check via ClawHub page, local pattern scanning via read tool (zero exec), integrity verification. Use... Skill: Skill Guard Owner: tommot2 Summary: Security scanner for OpenClaw agent skills. Pre-install check via ClawHub page, local pattern scanning via read tool (zero exec), integrity verification. Use... Tags: audit:1.4.0, guard:1.4.0, latest:5.0.0, malware:1.3.0, patterns:1.4.0, permissions:1.3.0, review:1.4.0, risk:1.3.0, safety:1.4.0, scanner:1.4.0, secrets:1.3.0, security:1.4.0, skills:1.4.0, virustotal:1.3.0 Ver

62
Rank
84
Safety
965
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 965 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fzh9kw6g9v8fg9kppsbmwt183p1kd:tommo-skill-guard
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tommot2-tommo-skill-guard/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

133,827 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: tommo-skill-guard
description: "Security scanner for OpenClaw agent skills. Pre-install check via ClawHub page, local pattern scanning via read tool (zero exec), integrity verification. Use when: (1) installing a new skill — check first, (2) audit installed skills, (3) check if a skill is flagged on ClawHub, (4) scan for hardcoded secrets or dangerous patterns. Homepage: https://clawhub.ai/skills/tommo-skill-guard"
metadata:
  openclaw:
    configPaths: []
    capabilities: []
---

# Skill Guard v5.0

**Install:** `clawhub install tommo-skill-guard`

Security scanning for OpenClaw skills. Zero exec — read-only scanning via the built-in `read` tool.

## Language

Detect from user's message language. Default: English.

## Pre-Install Check

When user wants to install a skill, check BEFORE installing:

1. Navigate to `https://clawhub.ai/skills/{slug}` via browser
2. Snapshot and look for **Security Scan** section
3. Report findings:

| Status | Meaning | Action |
|--------|---------|--------|
| ✅ Clean | No flags | Proceed |
| ⚠️ Suspicious | Concerns found | Show findings, let user decide |
| 🔴 Malicious | AV flagged | Advise against install |

If browser unavailable: `clawhub inspect {slug}` for basic metadata.

## Local Pattern Scan

Scan installed skill files for dangerous patterns using the `read` tool only — no exec, no shell, no injection risk.

1. `read ./skills/{name}/SKILL.md`
2. List additional files with `read` if scripts/ or references/ exist
3. Search for patterns in the content:

| Pattern | Risk |
|---------|------|
| `child_process`, `exec(` | Shell command execution |
| `eval(`, `Function(` | Dynamic code execution |
| `require('fs')`, `writeFile` | File system access |
| `rm -rf`, `del /s` | Destructive file operations |
| `curl.*password`, `token=` | Credential exfiltration |
| `base64.decode` | Hidden payloads |
| `HEARTBEAT.md`, `MEMORY.md` | Writes to config files |

**Report format:**
```
Scan: {skill-name}
  Files checked: {N}
  🔴 [file:line] {pattern} — {risk description}
  ✅ No issues found
```

## Integrity Check

Compare files by reading them and noting their content fingerprint (first/last lines + file size). No hashing exec needed — the `read` tool is sufficient for detecting file changes.

**Baseline** (user-initiated only):
- User says "baseline {skill}"
- Agent reads all files in `./skills/{name}/`
- Saves file list + sizes + first/last lines to `memory/skill-guard/{name}-baseline.txt`
- Shows the baseline to user for review

**Verify** (user-initiated only):
- User says "integrity check {skill}"
- Agent reads current files and compares against saved baseline
- Reports any differences

**Auto-baseline is disabled by design.** New skills are never automatically trusted.

## Quick Commands

| User says | Action |
|-----------|--------|
| "check {skill}" | Pre-install ClawHub check |
| "scan {skill}" | Local pattern scan (via read) |
| "scan all" | Scan all installed skills |
| "integrity check {skill}" | V

_meta.json

{
  "ownerId": "kn7dmermcvfm7efhjs13r9wmg583p8fj",
  "slug": "tommo-skill-guard",
  "version": "5.0.0",
  "publishedAt": 1775173552613
}

references/security-patterns.md

# Security Pattern Reference

Complete list of patterns used by skill-guard, with explanations and examples.

## Pattern Categories

### 1. Shell Execution (`exec_danger`)
**Risk: HIGH** — Can run arbitrary system commands.

| Pattern | Language | Why it's flagged |
|---------|----------|-----------------|
| `exec()` | Python/JS | Execute shell commands |
| `child_process` | Node.js | Spawn system processes |
| `os.system()` | Python | Run shell commands |
| `subprocess` | Python | Process execution |
| `spawn` | Node.js/Python | Create new processes |
| `eval()` | JS/Python | Execute arbitrary code strings |
| `Function()` | JS | Dynamic function creation |

### 2. Network Calls (`network`)
**Risk: MEDIUM** — External communication, data could be exfiltrated.

| Pattern | Language | Why it's flagged |
|---------|----------|-----------------|
| `curl` | Shell/Bash | HTTP requests |
| `wget` | Shell | File downloads |
| `fetch()` | JS | HTTP requests |
| `http.get/post` | Node.js | HTTP requests |
| `axios` | JS | HTTP client library |
| `requests.get/post` | Python | HTTP library |

**Note:** Many legitimate skills use network calls (weather APIs, email, etc.). Context matters.

### 3. External Filesystem (`fs_external`)
**Risk: MEDIUM** — Accessing files outside the workspace.

| Pattern | Why it's flagged |
|---------|-----------------|
| `rm -rf` | Recursive force delete |
| `/etc/` | System config access |
| `/var/` | System data access |
| `/tmp/` | Temp directory (common attack staging) |
| `chmod 777` | Remove all permissions restrictions |
| `chown` | Change file ownership |

### 4. Hardcoded Secrets (`secrets`)
**Risk: HIGH** — Credentials should never be in skill files.

| Pattern | Service |
|---------|---------|
| `AKIA[0-9A-Z]{16}` | AWS Access Key ID |
| `ghp_[0-9a-zA-Z]{36}` | GitHub Personal Access Token |
| `sk_live_[0-9a-zA-Z]{24}` | Stripe Live Secret Key |
| `xox[bposa]-[0-9-]+` | Slack Bot/User Token |
| `eyJ...eyJ` | JWT Token |

### 5. Obfuscated Code (`obfuscation`)
**Risk: HIGH** — Legitimate skills don't hide their code.

| Pattern | What it does |
|---------|-------------|
| `base64 -d` | Decode base64 at runtime |
| `atob()` | JS base64 decode |
| `Buffer.from(..., 'base64')` | Node.js base64 decode |
| `\x41\x42\x43...` | Hex-encoded strings |

### 6. Elevated Permissions (`elevated`)
**Risk: HIGH** — Running as admin/root bypasses all security.

| Pattern | Platform |
|---------|----------|
| `sudo` | Linux/macOS |
| `su -` | Linux/macOS |
| `runas` | Windows |
| `Set-ExecutionPolicy Bypass` | PowerShell |
| `New-Object System.Diagnostics.Process` | PowerShell process creation |

## Scoring Weights

| Category | Points per match |
|----------|-----------------|
| Obfuscation | 30 |
| Secrets | 25 |
| Shell execution | 20 |
| Elevated permissions | 20 |
| External filesystem | 15 |
| Network calls | 10 |

Large skills (20+ files) get an additional +10 points.

## Domain Analysis

The scanner extracts all URLs/domains 

skill-card.md

## Description:

Security scanner for OpenClaw agent skills that supports pre-install ClawHub checks, local read-only pattern scanning, and user-initiated integrity checks.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tommot2](https://clawhub.ai/user/tommot2)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to review OpenClaw skills before installation, audit installed skills for dangerous patterns or secrets, and compare user-approved integrity baselines.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The security evidence says the zero-exec and read-only framing conflicts with browser use, a local CLI fallback, and baseline-writing instructions.

Mitigation: Use browser and CLI checks only with clearly validated skill slugs, avoid shell interpolation, and treat saved baselines as review aids rather than strong tamper detection.

Risk: The skill may read installed skill files and save user-requested baseline records.

Mitigation: Run scans only on intended local skill directories and create baselines only after explicit user approval.

## Reference(s):

- [Skill Guard ClawHub page](https://clawhub.ai/tommot2/skills/tommo-skill-guard)
- [Security Pattern Reference](references/security-patterns.md)

## Skill Output:

**Output Type(s):** [text, markdown, guidance]

**Output Format:** [Markdown-style scan reports and concise risk guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Reports security status, file counts, pattern findings, and recommended user review steps.]

## Skill Version(s):

5.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Skill Guard and adjacent AI workflows.