Skill security
Security audit tool for AI agent skills. Scans for credential harvesting, code injection, network exfiltration, obfuscation. ALWAYS run before installing any new skill from external sources. Triggers on: new skill installation, skill audit, security scan, skill review, before loading external skill.From its SKILL.md
npx -y skills add suryast/free-ai-agent-skills --skill skill-securityAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 4 commands, including `./skill-security/audit.sh /path/to/skill` and 3 more.
SKILL.md
3.0 KB, 759 tokens by cl100k_base, as published. Nobody here has run it
Skill Security Scanner
Security audit tool for AI agent skills. Run before installing any new skill.
Quick Audit
# Audit a skill directory
./skill-security/audit.sh /path/to/skill
# Audit all installed skills
./skill-security/audit-all.sh
What It Checks
| Check | Risk Level | Pattern |
|---|---|---|
| Network Exfiltration | π¨ HIGH | requests., urllib, http.client, socket., fetch(, axios |
| Credential Harvesting | π¨ HIGH | .ssh/, .aws/, pass , keyring, credential, secret, token file reads |
| Code Injection | π¨ CRITICAL | exec(, eval(, compile(, Function(, __import__ |
| Obfuscation | β οΈ MEDIUM | base64.decode, atob, encoded payloads |
| Env Dumping | β οΈ MEDIUM | os.environ, process.env, getenv bulk access |
| Subprocess Abuse | β οΈ MEDIUM | subprocess.run, os.system, child_process with credentials |
Severity Levels
- CRITICAL (π¨): Block installation, report to owner
- HIGH (π΄): Requires manual review before use
- MEDIUM (π‘): Note but allow if from trusted source
- LOW (π’): Informational only
Safe Skill Checklist
Before using any skill:
- β Is it from a trusted source? (official OpenClaw, known publisher)
- β Is the code readable (not obfuscated)?
- β Does it document why it needs network/credential access?
- β Does it scope file access to its own directory?
- β Has it been audited by the community?
Integration with AGENTS.md
Add this to your workflow:
## Skill Installation Protocol
Before loading any new skill:
1. Run `./skill-security/audit.sh <skill-path>`
2. If CRITICAL/HIGH findings β STOP, alert the user
3. If MEDIUM findings β Review manually, proceed if justified
4. If CLEAN β Safe to use
Automatic Protection
The scanner creates a blocklist at ./blocklist.txt.
Skills with CRITICAL findings are automatically added.
Manual Override
If a skill is flagged but you've verified it's safe:
echo "skill-name:verified:YYYY-MM-DD:reason" >> allowlist.txt
Premium Skills
Like this? Check out our premium skills at skillpacks.dev:
- π‘οΈ Security Suite β Full PII scanning, secrets detection, prompt injection defense β $9.90
- π§ Structured Memory β Three-tier memory replacing flat MEMORY.md β $9.90
- π Planning & Execution β Systematic task plans with batch execution β $9.90
- π Bundle β all 3 for $24.90
What ships with it: 5 files
8.7 KB alongside SKILL.md, 3 of them executable
- allowlist.txt495 B
- audit-all.shruns2.6 KB
- audit.shruns3.9 KB
- blocklist.txt61 B
- preinstall-check.shruns1.7 KB