Back to skills
SKILL.md
Skillguard
ASecuritySecurity scanner for AgentSkill packages. Scan skills for credential theft, code injection, prompt manipulation, data exfiltration, and evasion techniques before installing them. Use when evaluating skills from ClawHub or any untrusted source.
- 651 stars
- 0 votes
- 0 copies
- 6 views
- Added February 10, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add sundial-org/awesome-openclaw-skills --skill skillguard --agent claude-codeAre you the author of Skillguard?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sundial-org-skillguard)---
name: skillguard
description: Security scanner for AgentSkill packages. Scan skills for credential theft, code injection, prompt manipulation, data exfiltration, and evasion techniques before installing them. Use when evaluating skills from ClawHub or any untrusted source.
metadata: {"openclaw": {"requires": {"bins": ["node"]}}}
---
# SkillGuard — Agent Security Scanner
When asked to check, audit, or scan a skill for security, use SkillGuard.
## Commands
### Scan a local skill directory
```bash
node /home/claw/.openclaw/workspace/skillguard/src/cli.js scan <path>
```
### Scan with compact output (for chat)
```bash
node /home/claw/.openclaw/workspace/skillguard/src/cli.js scan <path> --compact
```
### Check text for prompt injection
```bash
node /home/claw/.openclaw/workspace/skillguard/src/cli.js check "<text>"
```
### Batch scan multiple skills
```bash
node /home/claw/.openclaw/workspace/skillguard/src/cli.js batch <directory>
```
### Scan a ClawHub skill by slug
```bash
node /home/claw/.openclaw/workspace/skillguard/src/cli.js scan-hub <slug>
```
## Score Interpretation
- 80-100 ✅ LOW risk — safe to install
- 50-79 ⚠️ MEDIUM — review findings before installing
- 20-49 🟠 HIGH — significant security concerns
- 0-19 🔴 CRITICAL — do NOT install without manual review
## Output Formats
- Default: full text report
- `--compact`: chat-friendly summary
- `--json`: machine-readable full report
- `--quiet`: score and verdict only
Files in this skill
- README.md
- RED-TEAM-NOTES.md
- SKILL.md
- package.json
- rules/dangerous-patterns.json
- src/ast-analyzer.js
- src/clawhub.js
- src/cli.js
- src/index.js
- src/prompt-analyzer.js
- src/reporter.js
- src/scanner.js
- test-fixtures/clean-skill/SKILL.md
- test-fixtures/clean-skill/weather.js
- test-fixtures/evasive-01-string-concat/SKILL.md
- test-fixtures/evasive-01-string-concat/index.js
- test-fixtures/evasive-02-encoded/SKILL.md
- test-fixtures/evasive-02-encoded/index.js
- test-fixtures/evasive-03-prompt-subtle/SKILL.md
- test-fixtures/evasive-04-timebomb/SKILL.md
Attribution
Comments
Loading comments…