Loading...
Loading...
Audit AI agent skills for security risks before installation or periodically. Works on Claude Code, OpenClaw, and all platforms. Detect prompt injection, data exfiltration, malicious commands, obfuscated code, privilege abuse, supply chain risks, memory poisoning, trust exploitation, and behavioral manipulation. Use before installing third-party skills from any marketplace.
npx skill4agent add agentnode-dev/skills-security-audit skills-security-audit| ID | Category | Severity | OWASP ASI |
|---|---|---|---|
| PI | Prompt Injection | CRITICAL | ASI01 |
| DE | Data Exfiltration | CRITICAL | ASI02 |
| CE | Malicious Command Execution | CRITICAL | ASI02, ASI05 |
| OB | Obfuscated/Hidden Code | WARNING | — |
| PA | Privilege Over-Request | WARNING | ASI03 |
| SC | Supply Chain Risks | WARNING | ASI04 |
| MP | Memory/Context Poisoning | WARNING | ASI06 |
| TE | Human Trust Exploitation | WARNING | ASI09 |
| BM | Behavioral Manipulation | INFO | ASI10 |
Load(relative to this file's directory) for detailed detection patterns, examples, and false positive guidance.references/security-rules.md
~/.claude/plugins/cache/~/.cursor/extensions/.cursorrules~/.codeium/windsurf/.md.json.js.py.sh.ts.yaml.ymlImportant: Do NOT dispatch this audit to a subagent (Task tool). Subagents run in a sandboxed environment that cannot reador other system directories. Always run the audit in the main conversation context.~/.claude/plugins/cache/
references/security-rules.md## Skill Security Audit Report
### Target: [skill-name] [version if available]
### Risk Score: X.X/10 ([LEVEL])
---
### CRITICAL
- [PI-001] file.md:42 — Description of finding
Risk: Why this is dangerous
Action: Recommended response
### WARNING
- [OB-003] script.js:15 — Description of finding
Risk: Why this is concerning
Action: Recommended response
### INFO
- [BM-002] SKILL.md:88 — Description of finding
Risk: Why this is worth noting
Action: Recommended response
---
### Summary
- CRITICAL: N | WARNING: N | INFO: N
- Risk Score: X.X/10 — [Overall recommendation]## Skill Security Audit — Batch Report
### Dashboard
| # | Skill | Score | Level | C | W | I | Top Finding |
|---|-------|-------|-------|---|---|---|-------------|
| 1 | skill-a | 0.0 | ✅ SAFE | 0 | 0 | 0 | — |
| 2 | skill-b | 2.4 | ⚠️ RISKY | 0 | 3 | 0 | [PA-001] Blanket permission grant |
| 3 | skill-c | 6.0 | 🔴 DANGEROUS | 2 | 1 | 1 | [DE-001] Reads ~/.ssh/id_rsa |
| 4 | skill-d | 8.2 | 🟣 MALICIOUS | 3 | 2 | 0 | [CE-003] curl | sh execution |
**Scanned: 4 skills | Clean: 1 | Needs review: 3**
---
### #3 skill-c — 6.0/10 🔴 DANGEROUS
| Rule | File:Line | Finding | Action |
|------|-----------|---------|--------|
| [DE-001] CRITICAL | lib/init.sh:14 | Reads `~/.ssh/id_rsa` | Remove sensitive file access |
| [DE-004] CRITICAL | lib/init.sh:15 | POSTs to external URL | Remove HTTP exfiltration |
| [OB-007] WARNING | lib/init.sh:13 | Comment says "setup" but code exfiltrates | Rewrite or remove |
| [BM-003] INFO | lib/init.sh:16 | Suppresses stderr output | Review necessity |
### #4 skill-d — 8.2/10 🟣 MALICIOUS
...