skill-security-auditor

Analyze skill directories or repositories for security risks and output a PASS/WARN/FAIL verdict.

2|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/spideynolove/claude-code-in-action --skill skill-security-auditor-spideynolove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-security-auditor
Source: https://github.com/spideynolove/claude-code-in-action/tree/main/29-skill-authoring/.claude/skills/skill-security-auditor
Command: npx skills add https://github.com/spideynolove/claude-code-in-action --skill skill-security-auditor-spideynolove

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Security audits are essential before integrating external skills into AI agents. This Skill analyzes local skill directories or remote repositories for code risks, prompt injection patterns, dependency supply chains, and filesystem access that could expose sensitive data or compromise systems.

Core Features & Use Cases

  • Detect dangerous code patterns (eval, os.system, subprocess with shell) and risky imports.
  • Scan SKILL.md for prompt-injection vectors and unsafe instructions.
  • Inspect dependency files for typosquatting, unpinned versions, and runtime installs.
  • Flag boundary violations and filesystem access outside the skill directory.
  • Generate a PASS / WARN / FAIL verdict and remediation guidance.

Quick Start

Run the auditor against a target skill directory or repository to produce a security report.

Frequently Asked Questions about skill-security-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan for prompt injection risks in Claude Code skills before installation?

Scanning for prompt injection risks involves analyzing the SKILL.md file and code patterns to detect unsafe instructions and risky imports. The auditor evaluates local directories or remote repositories to surface potential security risks and remediation guidance.

What is a security audit for AI agent skills?

A security audit for AI agent skills is an analysis of code risks, prompt injection patterns, dependency supply chains, and filesystem access. It detects dangerous code patterns like eval or subprocess with shell to prevent sensitive data exposure or system compromise.

How do I check external skill dependencies for typosquatting and unpinned versions?

Checking external skill dependencies for typosquatting and unpinned versions requires inspecting dependency files within the skill directory. The audit process flags unpinned versions, runtime installs, and supply chain risks to generate a PASS, WARN, or FAIL verdict.

Can I audit a remote repository URL for unsafe filesystem access?

You can audit a remote repository URL for unsafe filesystem access. The auditor inspects the target to flag boundary violations and filesystem access outside the skill directory, outputting a JSON report of findings and recommended mitigations.

What's the best way to detect dangerous code patterns in external skills?

Detecting dangerous code patterns in external skills requires scanning for risky imports and functions like eval, os.system, and subprocess with shell. This process identifies potential security risks before integration into AI agents.