security-scan

Audit Claude Code configurations for security vulnerabilities with AgentShield.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/Clean1ines/crm_bot --skill security-scan-clean1ines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/Clean1ines/crm_bot/tree/main/.agents/skills/ecc/security-scan
Command: npx skills add https://github.com/Clean1ines/crm_bot --skill security-scan-clean1ines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams identify and remediate security weaknesses in Claude Code configurations by scanning for secrets, risky MCP settings, and prompt injection vectors before deployment.

Core Features & Use Cases

  • Audits CLAUDE.md for secrets and prompt injection patterns
  • Validates settings.json and MCP configurations for insecure permissions
  • Scans hooks and agent definitions to prevent data exfiltration and unauthorized access
  • Use case: a developer onboarding a Claude Code project runs a security scan after changes to ensure the config remains secure.

Quick Start

Run a security scan on your current Claude Code project to identify vulnerabilities.

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, you can apply this skill to your project. It audits CLAUDE.md, settings.json, and MCP files for risky permissions, secrets, and prompt injection vectors using AgentShield.

What security risks should I check for in CLAUDE.md and MCP files?

Security risks in CLAUDE.md and MCP files include exposed secrets, insecure permissions, and prompt injection patterns. This skill scans these files alongside hooks and agent definitions to identify data exfiltration risks and unauthorized access vectors.

When do I need to run a security audit on my Claude Code project?

You need to run a security audit when onboarding a new Claude Code project, after modifying CLAUDE.md or settings.json, changing MCP configurations, or during periodic security hygiene checks to ensure configurations remain secure before deployment.

Can I automatically fix insecure permissions and secrets found in Claude Code settings?

Yes, you can automatically remediate insecure permissions and secrets found in Claude Code settings. After scanning configurations with AgentShield, this skill can apply safe fixes directly via the CLI to resolve detected vulnerabilities.

Does this security scan check Claude Code hooks and agent definitions for data exfiltration?

Yes, this security scan checks Claude Code hooks and agent definitions for data exfiltration. It validates these components alongside MCP configurations to prevent unauthorized access and ensure your project setup is secure.

What is the best way to prevent prompt injection in Claude Code agents?

The best way to prevent prompt injection in Claude Code agents is to audit configurations for injection patterns. This skill scans CLAUDE.md and agent definitions to detect and remediate prompt injection vectors before deployment.