agent-shield

Detect security vulnerabilities in Claude Code configurations with static analysis.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ItsMattG/property-tracker --skill agent-shield
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-shield
Source: https://github.com/ItsMattG/property-tracker/tree/main/.claude/skills/agent-shield
Command: npx skills add https://github.com/ItsMattG/property-tracker --skill agent-shield

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scans CLAUDE configuration files for security vulnerabilities and misconfigurations, helping prevent credential exposure and policy violations.

Core Features & Use Cases

  • Static quick analysis of hooks, skills, CLAUDE.md, and settings.json to identify secrets exposure, permissions issues, and insecure configurations.
  • Deep three-agent Opus pipeline (red-team, blue-team, auditor) to simulate threats and produce remediation guidance.
  • Use Case: After modifications to CLAUDE.md or infrastructure, run a security scan and generate a Markdown report for security reviews.

Quick Start

Run a quick static scan of the .claude directory to generate a Markdown security report.

Frequently Asked Questions about agent-shield

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

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

A deep security scan of Claude configurations uses a three-agent pipeline to simulate threats and produce remediation guidance, while a quick static scan analyzes hooks, skills, CLAUDE.md, and settings.json for vulnerabilities without deep simulation.

Do I need an ANTHROPIC_API_KEY to audit my .claude directory?

You need an ANTHROPIC_API_KEY specifically for deep security scans that utilize the three-agent Opus pipeline to simulate threats, whereas quick static analysis of configuration files does not require it.

What's the best way to prevent secrets leakage in Claude Code hooks and skills?

The best way to prevent secrets leakage in Claude Code hooks and skills is to run automated pre-PR audits and post-change validation that detect misconfigurations and credential exposure across your configuration files.

Can I generate a security report for CLAUDE.md and settings.json modifications?

You can generate a security report for CLAUDE.md and settings.json modifications by running an automated scan that outputs a Markdown report highlighting HIGH and CRITICAL findings with actionable remediation steps.

What types of MCP-related risks are detected during a Claude config audit?

A Claude config audit detects MCP-related risks by scanning infrastructure modifications to prevent policy violations, insecure configurations, and credential exposure across hooks, skills, and settings files.