Scanning Claude Code Configurations with AgentShield: Auditing Secrets, Permissions, and MCP Risks Before Activation

Introducing the SkillHub community Skill "Scan Claude Code Configuration for Key Permission Drift and Insecure MCP Connections Using AgentShield" (v1.0.0, it-ops-security). This Skill guides the pre-activation audit of hardcoded keys, overly broad allow rules, risky hooks, and dangerous MCP configurations in Claude Code. Prerequisites include access to the configuration directory and either the AgentShield CLI or npx. The article covers SkillHub installation methods, the directory structure of various Agent skills, Zip-based alternative installation paths, and notes that the official package does not ship with complete scan commands—users must combine the upstream 1991513ccie-png/skills repository with AgentShield documentation to execute them.

Read More