security-scan

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

1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/ROLLED740/vibe-clone-pro --skill security-scan-rolled740
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/ROLLED740/vibe-clone-pro/tree/main/.agent/skills/security-scan
Command: npx skills add https://github.com/ROLLED740/vibe-clone-pro --skill security-scan-rolled740

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit Claude Code configurations for security vulnerabilities, misconfigurations, and injection risks to prevent insecure deployments and data exposure.

Core Features & Use Cases

  • Scans CLAUDE.md for hardcoded secrets, prompt injection patterns, and auto-run instructions.
  • Validates settings.json for overly permissive allow lists, missing deny lists, and dangerous bypass flags.
  • Reviews mcp.json for risky MCP servers, hardcoded env secrets, and supply-chain risks.
  • Analyzes hooks/ for command injection via interpolation, data exfiltration, and silent error suppression.
  • Verifies agents/*.md for unnecessary access controls, prompt-injection surface, and missing model specs.

Quick Start

Run the AgentShield scan from the project root to evaluate the Claude Code configuration.

Frequently Asked Questions about security-scan

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

FAQPage Schema
How do I check my Claude Code configuration for security vulnerabilities?

To check Claude Code configurations for security vulnerabilities, run an AgentShield scan from your project root to audit CLAUDE.md, settings.json, MCP configs, hooks, and agent definitions for risks and exposure.

What is prompt injection in CLAUDE.md and how do I detect it?

Prompt injection in CLAUDE.md involves malicious instructions or auto-run commands that manipulate agent behavior. The scan detects these patterns alongside hardcoded secrets to prevent insecure deployments and data exposure.

Can I scan MCP configurations and hooks for command injection risks?

Yes, you can scan MCP configurations and hooks for command injection risks. The audit reviews mcp.json for risky servers and supply-chain risks, and analyzes hooks for data exfiltration and silent error suppression.

How do I validate settings.json for overly permissive allow lists in Claude Code?

To validate settings.json for overly permissive allow lists, the scan checks for missing deny lists and dangerous bypass flags, enforcing security best practices to prevent unauthorized access and insecure deployments.

Does the security scan work for ongoing audits of existing Claude Code projects?

Yes, the security scan applies to both new and existing Claude Code projects. It evaluates changes to CLAUDE.md, settings.json, MCP configurations, and agent definitions, making it suitable for ongoing security hygiene audits.

What security misconfigurations should I look for in Claude Code agents?

Security misconfigurations in Claude Code agents include unnecessary access controls, prompt-injection surface, and missing model specs. The scan verifies agents/*.md files to identify and remediate these exposure risks.