security-scan

Scans Claude Code configurations for vulnerabilities, misconfigurations, and injection risks.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/unju-ai/ecc --skill security-scan-unju-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/unju-ai/ecc/tree/main/docs/ja-JP/skills/security-scan
Command: npx skills add https://github.com/unju-ai/ecc --skill security-scan-unju-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill identifies and helps remediate security vulnerabilities, misconfigurations, and injection risks within Claude Code project settings, ensuring a safer development environment.

Core Features & Use Cases

  • Vulnerability Scanning: Audits CLAUDE.md, settings.json, MCP configurations, hooks, and agent definitions for security flaws.
  • Automated Remediation: Offers options to automatically fix common issues like hardcoded secrets.
  • Use Case: Before committing changes to a new Claude Code project, run this skill to automatically detect and fix any hardcoded API keys or overly permissive access controls, preventing potential security breaches.

Quick Start

Run the security scan command to audit the 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 and injection risks?

Scanning Claude Code configurations for security vulnerabilities involves auditing `CLAUDE.md`, `settings.json`, MCP servers, hooks, and agent definitions. This skill uses AgentShield to identify misconfigurations and injection risks, providing detailed reports and optional automated fixes.

What is the best way to find hardcoded secrets in Claude Code settings?

Finding hardcoded secrets in Claude Code settings requires auditing project configuration files like `CLAUDE.md` and `settings.json`. This skill detects hardcoded API keys and overly permissive access controls, offering automated remediation to prevent potential security breaches.

How does AgentShield work with MCP server configurations?

AgentShield works with MCP server configurations by analyzing their definitions within the Claude Code environment to detect security flaws. It targets these configurations alongside hooks and agent definitions to identify injection risks and misconfigurations, generating detailed security reports.

Can I automatically fix security misconfigurations in my Claude Code project?

You can automatically fix security misconfigurations in your Claude Code project using the automated remediation features provided. After scanning `CLAUDE.md` and `settings.json`, the skill offers options to automatically resolve common issues like hardcoded secrets and access controls.

When should I run a security scan on my Claude Code agent definitions?

You should run a security scan on your Claude Code agent definitions before committing changes to a new project. This ensures the detection and remediation of security vulnerabilities, misconfigurations, and injection risks within your development environment.