Skip to content
alirezarezvani avatar

Skill Security Auditor

A pre-install security gate that scans skill scripts, SKILL.md prompts, and dependencies for risky code.

CCM score
73 of 100
skills.sh installs
858
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers static scans of Python, Bash, JavaScript, and TypeScript scripts, SKILL.md prompt injection, dependency supply chain risks, and file system boundaries
  • Accepts local skill directories or git repo URLs, with --strict, --json, and --cleanup options for CI and batch runs
  • Enforces a PASS, WARN, or FAIL verdict by severity, flagging exfiltration, eval, shell execution, and credential access paths
  • Designed for vetting skills from untrusted sources before installation, as a static check with no dynamic execution

Install

$ npx -y skills add alirezarezvani/claude-skills --skill skill-security-auditor -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Skill Security Auditor

Scan and audit AI agent skills for security risks before installation. Produces a clear PASS / WARN / FAIL verdict with findings and remediation guidance.

Quick Start

# Audit a local skill directory
python3 scripts/skill_security_auditor.py /path/to/skill-name/

# Audit a skill from a git repo
python3 scripts/skill_security_auditor.py https://github.com/user/repo --skill skill-name

# Audit with strict mode (any WARN becomes FAIL)
python3 scripts/skill_security_auditor.py /path/to/skill-name/ --strict

# Output JSON report
python3 scripts/skill_security_auditor.py /path/to/skill-name/ --json

What Gets Scanned

1. Code Execution Risks (Python/Bash Scripts)

Scans all .py, .sh, .bash, .js, .ts files for:

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Security, Skill & Plugin Building
First seen
Jun 3, 2026

Questions

What does the skill-security-auditor skill check before I install a skill?

It audits a local skill directory or a git repo URL for malicious code before installation. It scans scripts for dangerous calls like os.system, eval and network exfiltration, checks SKILL.md for prompt injection, and reviews dependencies and file system boundaries. It ends with a PASS, WARN or FAIL verdict.

How do I install the skill-security-auditor skill?

Run npx -y skills add alirezarezvani/claude-skills --skill skill-security-auditor -y in your project. Once installed, the agent can audit an untrusted skill before you add it, using the bundled skill_security_auditor.py scanner.

Can I run the skill-security-auditor scanner in CI or on a batch of skills?

Yes, the SKILL.md documents a --strict mode that turns any WARN into FAIL and a --json output for reports. It shows a GitHub Actions step and a loop that audits every skill in a directory. You can also use --cleanup to clone a repo to a temp folder, audit it, and remove it.

What are the limits of the skill-security-auditor scan?

It uses static analysis only and does not execute the code it scans. It cannot reliably detect logic bombs or time-delayed payloads, and its obfuscation checks are pattern-based. When in doubt after an audit, the skill says not to install and to ask the author.

More from alirezarezvani/claude-skills

All 259

Similar to Skill Security Auditor

More Security