security-scan

Audit Claude Code configurations for security issues and misconfigurations.

Updated May 27, 2025
One-click install
npx skills add https://github.com/vinwang/tools --skill security-scan-vinwang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/vinwang/tools/tree/main/iflow/skills/security-scan
Command: npx skills add https://github.com/vinwang/tools --skill security-scan-vinwang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit Claude Code configurations for security issues, misconfigurations, and prompt injection vulnerabilities using AgentShield.

Core Features & Use Cases

  • Scans CLAUDE.md for hardcoded secrets, prompt injection patterns, and misconfigurations
  • Checks settings.json, MCP servers, hooks, and agent definitions for risky configurations
  • Provides a scaffold and guidance for securing a Claude Code project and ongoing hygiene

Quick Start

Run a quick audit by installing AgentShield and scanning the project directory.

Frequently Asked Questions about security-scan

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

FAQPage Schema
How do I scan Claude Code configurations for security vulnerabilities?

To scan Claude Code configurations for security vulnerabilities, install AgentShield and run a project directory audit to detect hardcoded secrets, prompt injection patterns, and risky settings. It checks CLAUDE.md, settings.json, mcp.json, hooks/, and agent definitions.

What security misconfigurations can AgentShield detect in MCP servers and hooks?

AgentShield security scanning detects hardcoded secrets, prompt injection patterns, and risky configurations in MCP servers, hooks, settings.json, and agent definitions. It identifies insecure setups across CLAUDE.md and mcp.json files to maintain project security hygiene.

Do I need AgentShield installed to audit my Claude Code project?

Yes, you need AgentShield installed to audit your Claude Code project. The security scan requires AgentShield to evaluate CLAUDE.md, settings.json, mcp.json, hooks, and agent files for misconfigurations and prompt injection vulnerabilities.

When should I perform a Claude Code security audit on my repository?

You should perform a Claude Code security audit when setting up a new project, updating CLAUDE.md or settings.json, modifying MCP configurations, or conducting periodic security hygiene checks across your repositories.

Can I auto-fix Claude Code security issues found during a scan?

Yes, you can auto-fix Claude Code security issues found during a scan. The security scanning process supports an auto-fix option to resolve detected misconfigurations and vulnerabilities across your configuration files and agent definitions.

What output formats are supported when scanning Claude Code configurations?

Scanning Claude Code configurations supports various output formats for the security audit results. The scan generates reports detailing detected vulnerabilities, prompt injection patterns, and misconfigurations found in your CLAUDE.md, settings.json, and MCP files.