security-scan

Scan Claude Code configurations for security vulnerabilities and misconfigurations.

8|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/cyphercr0w/codeck --skill security-scan-cyphercr0w
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/cyphercr0w/codeck/tree/main/apps/runtime/src/templates/presets/default/ecc/skills/security-scan
Command: npx skills add https://github.com/cyphercr0w/codeck --skill security-scan-cyphercr0w

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ecc-agentshield, and includes 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, ensuring a safer development environment.

Core Features & Use Cases

  • Vulnerability Scanning: Audits CLAUDE.md, settings.json, MCP servers, hooks, and agent definitions for security flaws.
  • Automated Fixing: Offers safe, auto-fixable solutions for common security issues like hardcoded secrets.
  • Use Case: Before deploying your Claude Code project, run this scan to catch any hardcoded API keys or overly permissive tool access that could be exploited.

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 my Claude Code configuration for security vulnerabilities?

To scan your Claude Code configuration for security vulnerabilities, you can run a security scan that audits files like CLAUDE.md, settings.json, MCP servers, hooks, and agent definitions for risks like hardcoded secrets and excessive permissions.

What security risks should I look for in my CLAUDE.md and settings.json files?

Common security risks in CLAUDE.md and settings.json files include hardcoded API keys, prompt injection vulnerabilities, and overly permissive tool access. A configuration security scan identifies these misconfigurations to ensure a safer development environment.

Can I automatically fix hardcoded secrets and misconfigurations in my Claude Code setup?

Yes, you can automatically fix hardcoded secrets and misconfigurations in your Claude Code setup by using the auto-fix option. This feature offers safe, automated remediation for common security issues found during the configuration audit.

Does AgentShield work with Claude Code MCP servers and agent definitions?

Yes, AgentShield works with Claude Code MCP servers, hooks, and agent definitions. It analyzes these specific configuration components to detect excessive permissions and potential injection risks within your development environment.

What is the best way to audit Claude Code hooks for prompt injection risks?

The best way to audit Claude Code hooks for prompt injection risks is to perform a comprehensive configuration scan using AgentShield. This process identifies potential injection vulnerabilities and supports outputting the audit results in JSON or Markdown formats.

What output formats are supported when scanning Claude Code for excessive permissions?

When scanning Claude Code configurations for excessive permissions, the scan supports various output formats including JSON and Markdown. This allows you to easily review the identified security flaws and apply safe auto-fixable solutions.