skill-security-auditor
Skill5 starsChanged 9 months agoMITView on GitHub
Automated security auditing tool for AgentSkills. Scan skills for vulnerabilities including unsafe network requests, file operations, command execution, API key handling, permission declarations, and error handling. Use when: (1) Auditing existing skills for security issues, (2) Reviewing third-party skills before installation, (3) Validating self-built skills before publishing, (4) Teaching security best practices
- Reads credentials
20 other projects use a version of this.
Adopted by
Most recently taken up by
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- kazemcodes/skill-treetheir own version, first seen Nov 8, 2026
- JoaoPeixoto72/skill-auditortheir own version, first seen Oct 13, 2026
- scayver/marketing-skillstheir own version, first seen Oct 13, 2026
- sp1e/claude-skillstheir own version, first seen Oct 12, 2026
- talhaMah56/claude_skillstheir own version, first seen Sep 12, 2026
Used with
Projects with it also use pr-review-expert, ci-cd-pipeline-builder and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mar-antayaSkillpr-review-expert
PR Review Expert
Also in 4 projects that use this
mar-antayaSkillci-cd-pipeline-builder
CI/CD Pipeline Builder
Also in 4 projects that use this
Arnav-0Skillenv-secrets-manager
Env & Secrets Manager
Also in 3 projects that use this
- +3 more from mar-antaya
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- mar-antaya/my-claude-skills★ 148same name
- Hassaan146/claude-skills★ 18same name
- eraycc/Openclaw-Skills★ 16same name
- scayver/marketing-skills★ 8same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- Json55Hdz/OpenACM★ 2same name
- Tano73/agent-skills★ 2same name
- burakseyman/skill-security-auditor★ 1same name
- kazemcodes/skill-tree★ 1same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository103 other files it gives its agents.
- ab-test-setupSkill
- analytics-trackingSkill
- apple-notesSkill
- apple-remindersSkill
- audit-supportSkill
- blogwatcherSkill
- camsnapSkill
- canned-responsesSkill
- canvas-designSkill
- canvasSkill
- close-managementSkill
- coding-agentSkill
- company-valuesSkill
- competitive-ads-extractorSkill
- competitive-analysisSkill
- competitor-alternativesSkill
- complianceSkill
- content-strategySkill
- contract-reviewSkill
- copy-editingSkill
- copywritingSkill
- deep-researchSkill
- email-sequenceSkill
- feature-specSkill
- file-organizerSkill
- finance-reconcileSkill
- financial-statementsSkill
- find-communitySkill
- first-customersSkill
- form-croSkill
- free-tool-strategySkill
- gifgrepSkill
- goose-adventure-gameSkill
- himalayaSkill
- image-optimizerSkill
- imsgSkill
- instagram-marketingSkill
- journal-entry-prepSkill
- launch-strategySkill
- legal-risk-assessmentSkill
- local-placesSkill
- marketing-ideasSkill
- marketing-psychologySkill
- mcporterSkill
- meeting-briefingSkill
- metrics-trackingSkill
- minimalist-reviewSkill
- model-usageSkill
- mvpSkill
- nano-banana-proSkill
- nano-pdfSkill
- nda-triageSkill
- notionSkill
- onboarding-croSkill
- openai-image-genSkill
- openai-whisper-apiSkill
- openai-whisperSkill
- openhueSkill
- oracleSkill
- ordercliSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 4 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Run security audit on all skills:
- Very specific: line 133
Fix: Add timeout=30 to requests
- Very specific: line 146
Fix: Add to metadata.openclaw.requires.env
- Distinctive: line 156
Fix: Remove from frontmatter or verify implementation
- Very specific: line 163
Fix: Use Path.resolve() and validate against base directory
- Very specific: line 169
Fix: Use minimum required permissions (0o600 for files, 0o700 for directories)
- Distinctive: line 177
Fix: Use list arguments in subprocess, never use shell=True
- Very specific: line 183
Fix: Add timeout=30 parameter
- Distinctive: line 236
Educate: Use findings to learn secure coding patterns
- Very specific: line 254
Verify the skills directory path
- Very specific: line 255
Ensure each skill has a SKILL.md file
- Distinctive: line 258
Make sure you're running from the skill root directory
- Very specific: line 259
Check that all scanner files exist in scripts/scanners/
- Very specific: line 262
Ensure the script has execute permissions: chmod +x scripts/audit.py
“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Security Auditor
Automated security analysis tool for AgentSkills that detects vulnerabilities and provides actionable remediation guidance.
Quick Start
Run security audit on all skills:
scripts/audit.py /path/to/skillsAudit specific skill:
scripts/audit.py /path/to/skills --skill instagram-marketingGenerate detailed report:
scripts/audit.py /path/to/skills --format markdown --output security-report.mdCore Capabilities
1. Network Safety Detection
Scans for unsafe network operations:
- Unencrypted HTTP (NET-001): Detects
http://usage that should behttps:// - Missing Rate Limiting (NET-002): Identifies API calls without rate limiting
- Missing Timeout (NET-003): Finds network requests without timeout protection
- URL Injection (NET-004): Detects user-controlled URLs without validation
2. Permission Validation
Cross-checks declared permissions against actual usage:
- Undeclared Environment Variables (PERM-001):
os.environusage not inmetadata.requires.env - Undeclared Binaries (PERM-002):
subprocesscalls not inmetadata.requires.bins - Unused Declarations (PERM-003): Declared permissions never used in code
3. File Operation Security
Detects file system vulnerabilities:
- Path Traversal (FILE-001): User input in file paths without validation
- Unsafe Permissions (FILE-002): Excessive permissions like
0o777or0o666
4. Command Execution Safety
Scans for dangerous command patterns:
- Shell Injection (CMD-001):
shell=True,os.system(),eval(),exec() - Missing Timeout (CMD-002):
subprocesscalls without timeout
Usage
Basic Commands
# Console output (default)
scripts/audit.py /path/to/skills
# Filter by risk level
scripts/audit.py /path/to/skills --min-risk HIGH
# Specific skill
scripts/audit.py /path/to/skills --skill skill-nameOutput Formats
# Console (real-time colored output)
scripts/audit.py /path/to/skills --format console
# Markdown report
scripts/audit.py /path/to/skills --format markdown --output report.md
# JSON for CI/CD
scripts/audit.py /path/to/skills --format json --output report.jsonCLI Options
| Option | Description |
skills_dir | Path to skills directory (required) |
--skill NAME | Audit only specified skill |
--format {console,markdown,json} | Output format (default: console) |
--output, -o PATH | Output file path |
--min-risk {INFO,LOW,MEDIUM,HIGH,CRITICAL} | Minimum risk level to report |
--no-progress | Disable progress indicators |
Risk Levels
| Level | Score | Description |
| 🔴 CRITICAL | 10 | Immediate security threat (e.g., hardcoded secrets, command injection) |
| ⚠️ HIGH | 5 | Serious vulnerability (e.g., unsafe HTTP, missing validation) |
| ⚡ MEDIUM | 2 | Security best practice violation (e.g., missing timeout, no rate limiting) |
| ℹ️ LOW | 1 | Minor issue or optimization opportunity |
| 📝 INFO | 0 | Informational finding |
Security Rules Reference
Network Safety
NET-001: Unencrypted HTTP
- Severity: HIGH
- Pattern:
http://URLs - Fix: Replace with
https:// - CWE: CWE-319
NET-002: Missing Rate Limiting
- Severity: MEDIUM
- Pattern: API calls without rate limiting mechanism
- Fix: Implement exponential backoff
- References: Cloud Rate Limiting Strategies
NET-003: Missing Timeout
- Severity: MEDIUM
- Pattern: Network requests without
timeoutparameter - Fix: Add
timeout=30to requests
NET-004: URL Injection
- Severity: CRITICAL
- Pattern: User-controlled URL in network request
- Fix: Validate against whitelist, use
urlparse - CWE: CWE-918 (SSRF)
Permission Validation
PERM-001: Undeclared Environment Variables
- Severity: HIGH
- Pattern:
os.environusage not declared in frontmatter - Fix: Add to
metadata.openclaw.requires.env
PERM-002: Undeclared Binary Dependencies
- Severity: MEDIUM
- Pattern: External binary usage not declared
- Fix: Add to
metadata.openclaw.requires.bins
PERM-003: Unused Declarations
- Severity: LOW
- Pattern: Declared permissions never used
- Fix: Remove from frontmatter or verify implementation
File Operations
FILE-001: Path Traversal
- Severity: CRITICAL
- Pattern: User input in file paths without validation
- Fix: Use
Path.resolve()and validate against base directory - CWE: CWE-22
FILE-002: Unsafe Permissions
- Severity: MEDIUM
- Pattern:
chmod(0o777),chmod(0o666) - Fix: Use minimum required permissions (
0o600for files,0o700for directories) - CWE: CWE-732
Command Execution
CMD-001: Shell Injection
- Severity: CRITICAL/HIGH
- Pattern:
shell=True,os.system(),eval(),exec() - Fix: Use list arguments in subprocess, never use shell=True
- CWE: CWE-78
CMD-002: Missing Command Timeout
- Severity: MEDIUM
- Pattern:
subprocesscalls without timeout - Fix: Add
timeout=30parameter
Exit Codes
| Code | Meaning |
| 0 | No issues found |
| 1 | High severity issues found |
| 2 | Critical issues found |
Examples
Audit Before Publishing
# Check your skill before packaging
scripts/audit.py ~/.claude/skills --skill my-new-skill
# If any issues found, fix them and re-run
scripts/audit.py ~/.claude/skills --skill my-new-skill --min-risk HIGHCI/CD Integration
# In GitHub Actions or similar
- name: Security Audit
run: |
python scripts/audit.py ./skills --format json --output audit-report.json
- name: Check Results
run: |
if [ $? -eq 2 ]; then
echo "Critical issues found!"
exit 1
fiReview Third-Party Skills
# Before installing a community skill
git clone https://github.com/user/skill-repo /tmp/skill-review
scripts/audit.py /tmp/skill-review --format markdown --output review.md
cat review.mdBest Practices
- Run Regularly: Audit skills monthly or after updates
- Prioritize: Fix CRITICAL issues immediately, HIGH within 30 days
- Verify: Re-scan after fixes to validate improvements
- Track: Monitor security scores over time
- Educate: Use findings to learn secure coding patterns
Security Score Calculation
Each skill receives a security score from 0-100:
- Starts at 100
- Deduct points based on findings:
- CRITICAL: -10 points
- HIGH: -5 points
- MEDIUM: -2 points
- LOW: -1 point
Overall score is the average across all audited skills.
Troubleshooting
No skills found
- Verify the skills directory path
- Ensure each skill has a SKILL.md file
Import errors
- Make sure you're running from the skill root directory
- Check that all scanner files exist in
scripts/scanners/
Permission errors
- Ensure the script has execute permissions:
chmod +x scripts/audit.py
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

