security-scan

Scan Claude Code configurations for security vulnerabilities and misconfigurations.

1|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/VenTheZone/favorite-opencode-setup --skill security-scan-venthezone
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/VenTheZone/favorite-opencode-setup/tree/main/skills/security-scan
Command: npx skills add https://github.com/VenTheZone/favorite-opencode-setup --skill security-scan-venthezone

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ecc-agentshield, and includes references (resource) components.

What problem does it solve?

This Skill helps you identify and fix security vulnerabilities, misconfigurations, and potential injection risks within your Claude Code project setup, ensuring a more secure development environment.

Core Features & Use Cases

  • Vulnerability Scanning: Audits critical configuration files (CLAUDE.md, settings.json, mcp.json) and code structures (hooks/, agents/) for common security flaws.
  • Automated Fixes: Offers options to automatically apply safe fixes for identified issues, such as replacing hardcoded secrets.
  • Use Case: Before deploying a new feature or committing configuration changes, run this Skill to proactively catch any security oversights in your Claude Code setup, preventing potential breaches or misconfigurations.

Quick Start

Run the security scan against 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?

To scan Claude Code configurations for security vulnerabilities, run the security scan against your project's .claude/ directory. It audits CLAUDE.md, settings.json, and MCP servers using AgentShield to detect hardcoded secrets, command injection, and unrestricted tool access risks.

What security misconfigurations can AgentShield detect in Claude Code?

AgentShield detects security misconfigurations in Claude Code by analyzing hooks, agent definitions, and configuration files for hardcoded secrets, command injection vulnerabilities, and unrestricted tool access. It then provides severity grading for each identified risk.

Can I automatically fix hardcoded secrets and injection risks in CLAUDE.md and settings.json?

You can automatically fix hardcoded secrets and injection risks in CLAUDE.md and settings.json using the Skill's auto-fix capabilities. It applies safe fixes to identified vulnerabilities and misconfigurations found during the configuration security scan.

Does the security scan require AgentShield to audit MCP servers and hooks?

The security scan requires the AgentShield dependency to audit MCP servers and hooks. It leverages this dependency to analyze agent definitions and configuration structures for potential command injection and unrestricted tool access vulnerabilities.

When should I run a Claude Code configuration security scan?

You should run a Claude Code configuration security scan before deploying a new feature or committing configuration changes. This proactively catches security oversights in your setup, preventing potential breaches or misconfigurations in your development environment.