skill-scanner

Scan agent skill definitions and scripts for malicious patterns.

Updated May 5, 2026
One-click install
npx skills add https://github.com/yanochka11/harness_bro --skill skill-scanner-yanochka11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-scanner
Source: https://github.com/yanochka11/harness_bro/tree/main/.claude/skills/ported/skill-scanner
Command: npx skills add https://github.com/yanochka11/harness_bro --skill skill-scanner-yanochka11

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify security issues in agent skills before installation by detecting prompt injection, unsafe code patterns, secret exposure, and risky permissions.

Core Features & Use Cases

  • Security Scanning: Analyze SKILL.md files, bundled scripts, references, and structures for malicious or suspicious patterns.
  • Risk Assessment: Check prompt injection attempts, credential access, dangerous execution, supply chain risks, and excessive tool permissions.
  • Use Case: Review a third-party Claude Code skill package before adoption to determine whether it is safe and understand any findings.

Quick Start

Use the skill-scanner skill to audit the agent skill located at the provided directory path and generate a security assessment report.

Frequently Asked Questions about skill-scanner

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

FAQPage Schema
How do I scan Claude Code skills for prompt injection and security risks?

To scan Claude Code skills for prompt injection and security risks, audit the skill directory to analyze SKILL.md files, bundled scripts, and references for malicious patterns, generating a structured security assessment report.

What is static analysis for agent skill security?

Static analysis for agent skill security is the process of detecting unsafe code patterns, secret exposure, and risky permissions in skill definitions and scripts before installation, providing structured findings for security evaluation.

Can I use this security scanner to check third-party skill packages before installation?

Yes, you can use this security scanner to validate third-party skill packages before installation by analyzing their skill definitions, bundled scripts, and supporting resources for malicious patterns and supply chain risks.

Do I need PyYAML to audit agent skill definitions?

Yes, you need PyYAML installed to audit agent skill definitions, as the scanner requires this dependency to parse skill metadata and evaluate security findings.

What types of supply chain risks can a skill security audit detect?

A skill security audit can detect supply chain risks by checking for credential access, dangerous execution patterns, excessive tool permissions, and prompt injection attempts within the skill's scripts and definitions.

What are the limitations of static analysis for detecting malicious skill patterns?

Static analysis for detecting malicious skill patterns is limited to identifying known suspicious signatures in skill definitions and scripts, meaning it provides structured findings for security evaluation but cannot execute code to uncover runtime vulnerabilities.