Skill Audit ๐Ÿ”

ๆ‰ซๆ OpenClaw skills ไธญ็š„ๅฎ‰ๅ…จ้ฃŽ้™ฉ๏ผŒ้˜ฒๆญขไพ›ๅบ”้“พๆ”ปๅ‡ปใ€‚

3,891 stars
Complexity: easy

About this skill

Skill Audit is a critical security tool designed for the OpenClaw AI agent ecosystem. Its primary function is to scan both installed skills and those available on ClawHub for potential security vulnerabilities and malicious code patterns. It categorizes risks into Critical (e.g., reading credential files, data exfiltration, arbitrary code execution), Warning (e.g., untrusted network requests, file system traversal), and Info (e.g., shell command usage, many dependencies) levels. Users can invoke the skill to scan all currently installed skills, target a specific skill by name or local directory, or proactively check a skill on ClawHub before installation. This systematic approach ensures that AI agents operate in a more secure environment, reducing the risk of compromise from third-party code. The skill provides clear, actionable reports, including a risk score and specific findings, aiding developers and users in making informed decisions about skill trustworthiness. By integrating Skill Audit into their workflow, users can protect their sensitive data, prevent system integrity breaches, and mitigate the threat of supply chain attacks inherent in using external code components. It acts as an essential gatekeeper, offering peace of mind to anyone leveraging the modular capabilities of AI agents.

Best use case

The primary use case for Skill Audit is to enhance the security posture of AI agent environments by proactively identifying and mitigating potential threats within third-party skills. It is most beneficial for AI agent developers, users, and platform maintainers who need to vet new or existing skills for malicious code, prevent data breaches, and ensure the integrity of their automated workflows.

ๆ‰ซๆ OpenClaw skills ไธญ็š„ๅฎ‰ๅ…จ้ฃŽ้™ฉ๏ผŒ้˜ฒๆญขไพ›ๅบ”้“พๆ”ปๅ‡ปใ€‚

Users should expect a detailed security report outlining detected risks, their severity, and specific findings for the audited skill(s), along with a clear recommendation (e.g., 'DO NOT INSTALL').

Practical example

Example input

/skill-audit check suspicious-weather

Example output

๐Ÿ” Skill Audit Report: suspicious-weather
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Risk Score: 85/100 ๐Ÿ”ด HIGH RISK

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ File        โ”‚ Severity โ”‚ Finding                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ index.ts    โ”‚ CRITICAL โ”‚ Reads ~/.openclaw/credentials/  โ”‚
โ”‚ index.ts    โ”‚ CRITICAL โ”‚ POST to webhook.site            โ”‚
โ”‚ utils.ts    โ”‚ WARNING  โ”‚ Uses eval()                     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โš ๏ธ  DO NOT INSTALL - This skill may steal your credentials!

When to use this skill

  • Before installing a new AI agent skill from an unknown or untrusted source.
  • To periodically audit all installed skills for latent vulnerabilities or updated malicious code.
  • When developing a new skill, to self-check against common security pitfalls and best practices.
  • After a security incident or suspected compromise, to investigate potentially affected skills.

When not to use this skill

  • When the skill is confirmed to be running in a fully isolated and sandboxed environment.
  • If the skill's source is already absolutely trusted and manually verified by security experts.
  • For skills that do not involve code execution, file system access, or network requests (though this skill specifically targets code-based skills).
  • If an audit is blocking a time-critical operation and the risk is deemed acceptable for a temporary, low-impact task.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/raini-skill-audit/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/0xraini/raini-skill-audit/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/raini-skill-audit/SKILL.md inside your project
  3. Restart your AI agent โ€” it will auto-discover the skill

How Skill Audit ๐Ÿ” Compares

Feature / AgentSkill Audit ๐Ÿ”Standard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

ๆ‰ซๆ OpenClaw skills ไธญ็š„ๅฎ‰ๅ…จ้ฃŽ้™ฉ๏ผŒ้˜ฒๆญขไพ›ๅบ”้“พๆ”ปๅ‡ปใ€‚

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Skill Audit ๐Ÿ”

ๆ‰ซๆ OpenClaw skills ไธญ็š„ๅฎ‰ๅ…จ้ฃŽ้™ฉ๏ผŒ้˜ฒๆญขไพ›ๅบ”้“พๆ”ปๅ‡ปใ€‚

---

## ๆŒ‡ไปค

### `/skill-audit scan [skill-name]`
ๆ‰ซๆๅทฒๅฎ‰่ฃ…็š„ skill๏ผŒๆฃ€ๆต‹ๅฏ็–‘ไปฃ็ ๆจกๅผใ€‚

```bash
# ๆ‰ซๆๆ‰€ๆœ‰ๅทฒๅฎ‰่ฃ… skill
skill-audit scan

# ๆ‰ซๆๆŒ‡ๅฎš skill
skill-audit scan moltdash

# ๆ‰ซๆๆœฌๅœฐ็›ฎๅฝ•
skill-audit scan ./my-skill
```

### `/skill-audit check <clawhub-slug>`
ๅฎ‰่ฃ…ๅ‰ๆฃ€ๆŸฅ ClawHub ไธŠ็š„ skillใ€‚

```bash
skill-audit check some-skill
```

---

## ๆฃ€ๆต‹่ง„ๅˆ™

### ๐Ÿ”ด ้ซ˜้ฃŽ้™ฉ (Critical)
- ่ฏปๅ–ๅ‡ญ่ฏๆ–‡ไปถ: `~/.ssh/`, `~/.env`, `credentials.json`
- ๅค–ๅ‘ๆ•ฐๆฎ: `fetch()`, `curl`, `webhook`, `POST` ๅˆฐๆœช็Ÿฅ URL
- ไปฃ็ ๆ‰ง่กŒ: `eval()`, `exec()`, `child_process`
- ่ฏปๅ–็Žฏๅขƒๅ˜้‡ไธญ็š„ๅฏ†้’ฅ: `process.env.API_KEY`

### ๐ŸŸ  ไธญ้ฃŽ้™ฉ (Warning)  
- ็ฝ‘็ปœ่ฏทๆฑ‚ๅˆฐ้ž็ŸฅๅๅŸŸๅ
- ๆ–‡ไปถ็ณป็ปŸ้ๅކ: `fs.readdir()`, `glob`
- ๅŠจๆ€ require/import
- Base64 ็ผ–็ ็š„ๅญ—็ฌฆไธฒ (ๅฏ่ƒฝๆ˜ฏๆททๆท†)

### ๐ŸŸก ไฝŽ้ฃŽ้™ฉ (Info)
- ไฝฟ็”จ shell ๅ‘ฝไปค
- ่ฏปๅ†™็”จๆˆท็›ฎๅฝ•ๅค–็š„ๆ–‡ไปถ
- ๅคง้‡ไพ่ต–ๅŒ…

---

## ่พ“ๅ‡บ็คบไพ‹

```
๐Ÿ” Skill Audit Report: suspicious-weather
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Risk Score: 85/100 ๐Ÿ”ด HIGH RISK

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ File        โ”‚ Severity โ”‚ Finding                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ index.ts    โ”‚ CRITICAL โ”‚ Reads ~/.openclaw/credentials/  โ”‚
โ”‚ index.ts    โ”‚ CRITICAL โ”‚ POST to webhook.site            โ”‚
โ”‚ utils.ts    โ”‚ WARNING  โ”‚ Uses eval()                     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โš ๏ธ  DO NOT INSTALL - This skill may steal your credentials!
```

---

## ่ฟ่กŒๆ–นๅผ

่ฏฅ skill ้™„ๅธฆไธ€ไธช CLI ่„šๆœฌ๏ผŒagent ๅฏ็›ดๆŽฅ่ฐƒ็”จ๏ผš

```bash
node {baseDir}/src/audit.js scan ~/.openclaw/workspace/skills/moltdash
node {baseDir}/src/audit.js scan --all
```

---

## ๅ‚่€ƒ

- [OWASP LLM Top 10](https://owasp.org/www-project-top-10-for-large-language-model-applications/)
- [Moltbook Security Discussion](https://www.moltbook.com/post/cbd6474f-8478-4894-95f1-7b104a73bcd5)

Related Skills

Compliance & Audit Readiness Engine

3891
from openclaw/skills

Your AI compliance officer. Guides startups and scale-ups through SOC 2, ISO 27001, GDPR, HIPAA, and PCI DSS โ€” from zero to audit-ready. No consultants needed.

Security

Compliance Audit Generator

3891
from openclaw/skills

Run internal compliance audits against major frameworks without hiring a consultant.

Security

AI Safety Audit

3891
from openclaw/skills

Comprehensive AI safety and alignment audit framework for businesses deploying AI agents. Built around the UK AI Security Institute Alignment Project standards (2026), EU AI Act requirements, and NIST AI RMF.

Security

SX-security-audit

3891
from openclaw/skills

ๅ…จๆ–นไฝๅฎ‰ๅ…จๅฎก่ฎกๆŠ€่ƒฝใ€‚ๆฃ€ๆŸฅๆ–‡ไปถๆƒ้™ใ€็Žฏๅขƒๅ˜้‡ใ€ไพ่ต–ๆผๆดžใ€้…็ฝฎๆ–‡ไปถใ€็ฝ‘็ปœ็ซฏๅฃใ€Git ๅฎ‰ๅ…จใ€Shell ๅฎ‰ๅ…จใ€macOS ๅฎ‰ๅ…จใ€ๅฏ†้’ฅๆฃ€ๆต‹็ญ‰ใ€‚ๆ”ฏๆŒ CLI ๅ‚ๆ•ฐใ€JSON ่พ“ๅ‡บใ€้…็ฝฎๆ–‡ไปถใ€‚ๅฝ“็”จๆˆท่ฆๆฑ‚"ๅฎ‰ๅ…จๆฃ€ๆŸฅ"ใ€"ๆผๆดžๆ‰ซๆ"ใ€"ๆƒ้™ๆฃ€ๆŸฅ"ใ€"ๅฎ‰ๅ…จๅฎก่ฎก"ๆ—ถไฝฟ็”จๆญคๆŠ€่ƒฝใ€‚

Security

HIPAA Compliance for AI Agents

3891
from openclaw/skills

Generate HIPAA compliance checklists, risk assessments, and audit frameworks for healthcare organizations deploying AI agents.

Security

Data Governance Framework

3891
from openclaw/skills

Assess, score, and remediate your organization's data governance posture across 6 domains.

Security

Cybersecurity Risk Assessment

3891
from openclaw/skills

You are a cybersecurity risk assessment specialist. When the user needs a security audit, threat assessment, or compliance review, follow this framework.

Security

afrexai-cybersecurity-engine

3891
from openclaw/skills

Complete cybersecurity assessment, threat modeling, and hardening system. Use when conducting security audits, threat modeling, penetration testing, incident response, or building security programs from scratch. Works with any stack โ€” zero external dependencies.

Security

clickhouse-github-forensics

3891
from openclaw/skills

Query GitHub event data via ClickHouse for supply chain investigations, actor profiling, and anomaly detection. Use when investigating GitHub-based attacks, tracking repository activity, analyzing actor behavior patterns, detecting tag/release tampering, or reconstructing incident timelines from public GitHub data. Triggers on GitHub supply chain attacks, repo compromise investigations, actor attribution, tag poisoning, or "query github events".

Security

security-guardian

3891
from openclaw/skills

Automated security auditing for OpenClaw projects. Scans for hardcoded secrets (API keys, tokens) and container vulnerabilities (CVEs) using Trivy. Provides structured reports to help maintain a clean and secure codebase.

Security

mema-vault

3891
from openclaw/skills

Secure credential manager using AES-256 (Fernet) encryption. Stores, retrieves, and rotates secrets using a mandatory Master Key. Use for managing API keys, database credentials, and other sensitive tokens.

Security

guardian-wall

3891
from openclaw/skills

Mitigate prompt injection attacks, especially indirect ones from external web content or files. Use this skill when processing untrusted text from the internet, user-uploaded files, or any external source to sanitize content and detect malicious instructions (e.g., "ignore previous instructions", "system override").

Security