security-scan

Audit Claude Code configurations for security weaknesses and misconfigurations.

1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/firstsun-dev/yao-agent-skills --skill security-scan-firstsun-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/firstsun-dev/yao-agent-skills/tree/main/external/develop/security/security-scan
Command: npx skills add https://github.com/firstsun-dev/yao-agent-skills --skill security-scan-firstsun-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit Claude Code configurations for security vulnerabilities, misconfigurations, and injection risks to reduce exposure.

Core Features & Use Cases

  • AgentShield-based scanning of CLAUDE.md, settings.json, mcp.json, hooks, and agent definitions for vulnerabilities.
  • Auto-fix and remediation guidance for common misconfigurations.
  • Use Case: Ensure new Claude Code projects start with a hardened configuration baseline.

Quick Start

Scan the current Claude Code configuration to surface vulnerabilities and misconfigurations using AgentShield.

Frequently Asked Questions about security-scan

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

FAQPage Schema
How do I audit Claude Code configurations for security vulnerabilities?

Scanning Claude Code configurations involves checking CLAUDE.md, settings.json, mcp.json, hooks, and agents/*.md files for weaknesses. This audit identifies injection risks and misconfigurations, providing a comprehensive report to ensure new projects start with a hardened configuration baseline.

Do I need AgentShield installed to scan my Claude Code settings?

Yes, you need AgentShield installed to perform security scanning. It provides the core scanning engine required to audit your Claude Code configurations, detect vulnerabilities, and generate remediation guidance for common misconfigurations.

What is the best way to harden a new Claude Code project baseline?

The best way to harden a new Claude Code project baseline is to run an AgentShield-based scan on your configuration files. This surfaces vulnerabilities and misconfigurations early, offering auto-fix and remediation guidance to secure your setup from the start.

Can I get auto-fix remediation guidance for Claude Code misconfigurations?

Yes, you can get auto-fix and remediation guidance for common misconfigurations. The security scan evaluates your configuration files and provides actionable recommendations to correct identified security weaknesses and injection risks.

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

You should run a security scan when starting new Claude Code projects, updating existing configurations, or performing ongoing security hygiene checks. This ensures continuous protection against vulnerabilities and maintains a hardened configuration baseline.