skill-scanner

Scan Claude Code skill files for malicious payloads and backdoors.

4|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill skill-scanner-thejordanleopold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-scanner
Source: https://github.com/thejordanleopold/claude-code-skills-distilled/tree/main/skill-scanner
Command: npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill skill-scanner-thejordanleopold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Detects, analyzes, and flags malicious payloads, backdoors, or integrity issues embedded in Claude Code skill files, bundled scripts, or config artifacts, enabling safe skill installation and auditing.

Core Features & Use Cases

  • Comprehensive scanning of skill files and related assets for dangerous vectors including backdoors, prompt injections, and exfiltration attempts.
  • Pre-install auditing and ongoing verification for third-party skills or repository imports, ensuring trust before load and during maintenance.
  • Use case examples include vetting new skills from external sources and performing offline scans of a local skill set prior to deployment.

Quick Start

Run the skill-scanner to audit all skills in your ~/.claude/skills directory for malicious payloads.

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 malicious payloads before installing them?

To scan Claude Code skills for malicious payloads, run the skill-scanner to audit all skills in your ~/.claude/skills directory. It parses skill directories, inspects YAML frontmatter, and scans scripts to detect backdoors, prompt injections, and exfiltration attempts.

What types of security threats can a code-scan detect in skill files?

A code-scan detects malicious payloads, backdoors, prompt injections, and data exfiltration attempts embedded in skill files and bundled scripts. It identifies supply-chain risks by referencing attack-vectors guidance during local repository audits.

Can I audit my local skill repository offline for supply-chain risks?

You can audit local skill repositories offline for supply-chain risks by running the skill-scanner. It operates across local skill directories to parse files, inspect YAML frontmatter, and scan scripts for dangerous patterns without requiring external connectivity.

How does YAML frontmatter inspection help detect prompt injections?

YAML frontmatter inspection helps detect prompt injections by parsing skill files for malicious configurations and dangerous patterns. The scanner uses attack-vectors guidance to identify and flag suspicious metadata that could compromise system integrity.

Do I need any dependencies to run a malware audit on Claude Code skills?

No dependencies are required to run a malware audit on Claude Code skills. The skill-scanner operates independently to parse skill directories, inspect YAML frontmatter, and scan scripts for dangerous patterns to generate risk findings.

What is the best way to quarantine backdoors found in skill scripts?

The best way to quarantine backdoors found in skill scripts is to use the skill-scanner's risk findings, which identify and isolate malicious payloads. It references attack-vectors guidance to safely separate compromised files during pre-install audits.