security-scan

Scan Claude Code configurations for security vulnerabilities and misconfigurations.

Updated Jul 27, 2026
One-click install
npx skills add https://github.com/kouiso/designdiff --skill security-scan-kouiso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/kouiso/designdiff/tree/main/.claude/skills/security-scan
Command: npx skills add https://github.com/kouiso/designdiff --skill security-scan-kouiso

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill identifies and helps fix security vulnerabilities, misconfigurations, and potential injection risks within your Claude Code project's configuration files and agent definitions.

Core Features & Use Cases

  • Comprehensive Scanning: Analyzes CLAUDE.md, settings.json, MCP configurations, hooks, and agent definitions for security flaws.
  • Vulnerability Detection: Flags issues like hardcoded secrets, prompt injection patterns, overly permissive access, and supply chain risks.
  • Use Case: Before deploying your Claude Code project, run this scan to ensure your configuration is hardened against common security threats, preventing potential breaches or misuses.

Quick Start

Run a security scan on your current project's .claude 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?

Scanning Claude Code configurations for security vulnerabilities involves checking files like CLAUDE.md, settings.json, and MCP servers for hardcoded secrets, prompt injection, and excessive permissions. This Skill uses AgentShield to detect and report these misconfigurations so you can harden your project setup.

What is prompt injection in Claude Code agent definitions?

Prompt injection in Claude Code agent definitions involves malicious instructions hidden in config files that manipulate agent behavior. This Skill detects these injection patterns and other supply chain risks across your CLAUDE.md and MCP configurations to prevent unauthorized actions.

Do I need AgentShield installed to scan settings.json and MCP configurations?

Yes, you need AgentShield installed or available via npx to scan settings.json and MCP configurations. The Skill relies on AgentShield to perform the vulnerability checks that identify hardcoded secrets and excessive permissions in your Claude Code project.

What is the best way to harden Claude Code hooks against misconfigurations?

The best way to harden Claude Code hooks against misconfigurations is to run a comprehensive security scan before deployment. This Skill analyzes your hooks and agent definitions, flagging overly permissive access and supply chain risks so you can fix them.

Why does my Claude Code security scan report excessive permissions?

A Claude Code security scan reports excessive permissions when your settings.json or MCP server configurations grant broader access than necessary. The Skill identifies these overly permissive settings to help you restrict access and prevent potential misuse.