Skip to main content
skill CX Codex

skill-security-scanner — Claude Code skill: what it does and setup

skill-security-scanner audits Claude skills for command injection, unauthorized network calls, and sensitive file access before you install them.

no license 253 installs ★ 13 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/security-skills --skill skill-security-scanner -a claude-code
Open on GitHub

What skill-security-scanner does

The utility runs static code analysis without executing suspicious scripts. It detects calls to curl or requests, access to ~/.ssh/id_rsa, read attempts on .env files, and dangerous shell operations. It flags code injection patterns such as eval, exec, and backdoor sockets.

Issues receive severity ratings: CRITICAL, WARNING, or INFO. You can output findings directly to the terminal, export a JSON report for CI pipelines, or generate a visual HTML file. By default, the scan examines both the current directory and .claude/skills/.

Running the scanner requires Python with pip or a standalone binary built via PyInstaller. If a tool needs legitimate network traffic, you can whitelist specific endpoints: domains like api.anthropic.com and github.com are allowed out of the box.

What it helps with

  • detect credential access and secret leaks in skill files
  • spot destructive system operations and unauthorized shell executions
  • audit local .claude/skills/ folders before running untrusted tools
  • generate structured JSON reports with non-zero exit codes for CI checks

Example prompts for the agent

  • Scan this Claude skill for security risks before I install it
  • Run a security scan on all skill files in this repository
  • Check if this third-party skill contains backdoor code or network requests

How to install skill-security-scanner

1Skills CLI (Vercel)

npx skills add reason-machines/security-skills --skill skill-security-scanner -a claude-code

2Manually: put the files in place

~/.claude/skills/skill-security-scanner/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/skill-security-scanner/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about skill-security-scanner

How to install skill-security-scanner in Claude Code?

Run npx skills add reason-machines/security-skills --skill skill-security-scanner -a claude-code in your terminal, or place the file directly at ~/.claude/skills/skill-security-scanner/SKILL.md.

What does skill-security-scanner do?

It parses Claude skill definitions without executing them to flag unsafe system calls, secret access, reverse shells, and untrusted network traffic.

Can I define custom detection rules?

Yes. Pass a YAML configuration file with the --rules custom-rules.yaml option to add your own regex patterns, severity levels, and whitelists.

Similar skills

All skills for Security →

From the same set129

The whole set →
deepseek-pentest-ai-burp-extension deepseek-pentest-ai-burp-extension guides configuration and usage of a DeepSeek-driven Burp Suite extension to automate parameter detection and security fuzzing. CX Codex +1 262installs claude-pentest-framework claude-pentest-framework — a Claude skill that runs a structured pentest with 15 executor agents and 63 attack categories, asking the operator for approval before anything is exploited. CX Codex +1 261installs pentester-mcp-security-tools pentester-mcp-security-tools connects over 200 penetration testing tools to AI coding agents via MCP. Useful for automated port scanning and directory fuzzing from chat. CX Codex +1 261installs drm-pentesting-toolkit The drm-pentesting-toolkit skill guides agents through a plugin-based DRM testing toolkit for device files, MPD manifests, and license-server requests. Use it for authorized testing. CX Codex +1 261installs gandalf-llm-pentester gandalf-llm-pentester automates security testing of prompt defenses across 7 challenge tiers on Lakera Gandalf. Useful when checking how language models resist injection attempts. CX Codex +1 252installs awesome-pentest-tools-catalog awesome-pentest-tools-catalog is a Claude Code skill for finding penetration testing and red team tools by workflow stage and MITRE ATT&CK. CX Codex +1 251installs dalonso-security-repo dalonso-security-repo brings Microsoft Security hunting material into your agent: KQL queries, Sentinel workbooks and Jupyter notebooks for incident work. CX Codex +1 251installs awesome-ai-security-reference The awesome-ai-security-reference skill points to learning resources and tools for AI security, from prompt injection to privacy attacks. Use it to explore a topic or find ways to test a model. CX Codex +1 248installs

Project sponsors

Companies that keep this analytics open