skills/skills-audit/SKILL.md
Security scanner for AI agent skills. Audits skill files for credential theft, data exfiltration, dangerous commands, and obfuscation before installation. Use before installing any new skill to get a structured risk report with score (0-100), severity level, and actionable findings. Runs locally with zero external dependencies — nothing is sent over the network.
npx skillsauth add shieldon-dev/skills skills-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Security scanner that audits AI agent skill files before installation. Detects credential theft, data exfiltration, dangerous commands, and obfuscation using pattern matching. Everything runs locally — no data leaves your machine.
Before installing any new skill or MCP server, scan it first. This catches embedded secrets, reverse shells, data exfiltration endpoints, obfuscated payloads, and other threats that hide in skill files.
Three input modes:
python scripts/scan.py --file /path/to/SKILL.md
python scripts/scan.py --url https://example.com/SKILL.md
python scripts/scan.py --content "<paste skill text here>"
JSON with risk score, severity level, findings, and recommendation:
{
"scan_id": "a1b2c3d4-...",
"risk_score": 75,
"risk_level": "HIGH",
"recommendation": "BLOCK",
"findings": [
{
"type": "regex",
"description": "AWS access key pattern detected",
"severity": "HIGH",
"evidence": "Matched Credential_AWS_Access_Key: AKIAIOSFODNN7EXAMPLE"
}
]
}
| Score | Risk Level | Recommendation | Action | |-------|-----------|----------------|--------| | 0-29 | LOW | SAFE | Proceed with installation | | 30-60 | MEDIUM | REVIEW | Ask human to review findings before proceeding | | 61-70 | HIGH | REVIEW | Ask human to review — multiple concerning patterns | | 71-100 | HIGH/CRITICAL | BLOCK | Do not install — refuse and explain findings |
Any finding with CRITICAL severity overrides to BLOCK regardless of total score.
39 detection patterns across 6 threat categories:
END-OVERRIDE markers, "this skill is disabled" — social engineering aimed at the auditorexec(...http://...), bash <(curl ...), plugin/manifest loaders that defer code or configuration to a remote URL the auditor cannot inspectWhen audit-override framing co-occurs with any non-framing finding (credentials, exfiltration, dangerous commands, obfuscation, multistage), the scanner short-circuits to BLOCK regardless of the score. This mirrors the hosted Shieldon engine's framing co-occurrence policy.
For the full pattern list, see references/DETECTION-COVERAGE.md.
Everything runs locally. The --file and --content modes make zero network requests. The --url mode fetches only the specified URL (5s timeout, 100KB limit) and processes it locally. No data is sent to any external service.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).