What problem does it solve?
The security-scan Skill helps teams detect security vulnerabilities, misconfigurations, and injection risks in Claude Code configuration files and related assets so deployments and CI gates do not introduce secrets, unsafe hooks, or supply-chain exposures. It focuses on repository-level configuration issues rather than Apex code reviews, and it highlights risky MCP servers, dangerous hook interpolations, and prompt injection surfaces.
Core Features & Use Cases
- Automated AgentShield Scans: Run ecc-agentshield to identify hardcoded secrets, command interpolation, and prompt injection patterns across CLAUDE.md, settings.json, mcp.json, hooks/, and agents/*.md.
- Manual Fallback Checks: Provide grep-based patterns and SF Code Analyzer commands to find SOQL injection indicators, missing sharing/FLS, hardcoded IDs, and unsafe endpoints when AgentShield is unavailable.
- CI Integration & Severity Grading: Output JSON-formatted findings for CI gates and classify results (A-F) so pre-deploy checks can block or triage issues.
- Use Case: Run this Skill before AppExchange submission or as a pre-deploy pipeline step to catch configuration-level risks and reduce security review churn.
Quick Start
Run the security-scan skill to audit CLAUDE.md, settings.json, mcp.json, hooks/, and agents files for hardcoded secrets, prompt injection, and configuration misconfigurations.