Security Scan
Read-only audit tool that scans a .claude/ directory for security vulnerabilities, misconfigurations, and injection risks.
- CCM score
- 69 of 100
- skills.sh installs
- 13.4K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers CLAUDE.md, settings.json, MCP server configs, hooks, and agent definitions, each checked for distinct risk categories
- Grades results A through F and reports in terminal, JSON, Markdown, or HTML, with
--fixapplying only auto-fixable changes - Flags critical issues such as hardcoded secrets,
Bash(*)allow entries, and hook command injection via${file}interpolation - Designed for auditing configs before commits and in CI through a GitHub Action with a fail-on-findings option
Install
$ npx -y skills add affaan-m/ecc --skill security-scan -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Security Scan Skill
Audit your Claude Code configuration for security issues using AgentShield.
When to Activate
- Setting up a new Claude Code project
- After modifying
.claude/settings.json,CLAUDE.md, or MCP configs - Before committing configuration changes
- When onboarding to a new repository with existing Claude Code configs
- Periodic security hygiene checks
What It Scans
| File | Checks |
|---|---|
CLAUDE.md | Hardcoded secrets, auto-run instructions, prompt injection patterns |
settings.json | Overly permissive allow lists, missing deny lists, dangerous bypass flags |
mcp.json | Risky MCP servers, hardcoded env secrets, npx supply chain risks |
hooks/ | Command injection via interpolation, data exfiltration, silent error suppression |
agents/*.md | Unrestricted tool access, prompt injection surface, missing model specs |
Prerequisites
AgentShield must be installed. Check and install if needed:
# Check if installed
npx ecc-agentshield --version
# Install globally (recommended)
npm install -g ecc-agentshield
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Security, Code Review & Quality, Skill & Plugin Building
- First seen
- Jul 14, 2026
Questions
What does the security-scan skill check in Claude Code?
The security-scan skill audits your .claude/ directory for vulnerabilities, misconfigurations and injection risks using AgentShield. It checks CLAUDE.md, settings.json, MCP servers, hooks and agent definitions.
How do I install the security-scan skill?
Run npx -y skills add affaan-m/ecc --skill security-scan -y in your project. The skill then lets the agent scan your Claude Code configuration for security issues and can auto-fix safe findings.
Does security-scan need AgentShield or an API key?
AgentShield must be installed, which you can do globally with npm install -g ecc-agentshield or run directly through npx. The optional Opus 4.6 deep analysis requires an ANTHROPIC_API_KEY, while the basic scan does not.
Where does security-scan rank among Security skills?
On the Claude Marketplaces Security category page it ranks in the top 50. It sits alongside skills such as security-audit and firebase-security-rules-auditor, and it focuses on auditing Claude Code configuration files.
More from affaan-m/ecc
All 257- Django Tdd13.3K
- Deployment Patterns13.3K
- Search First13.3K
- Deep Research13.2K
- Eval Harness13.1K
- Continuous Learning13K
- Cpp Testing13K
- Jpa Patterns13K
- Rust Patterns12.9K
- Kotlin Coroutines Flows12.9K
- Configure Ecc12.9K
- Laravel Tdd12.8K
- Agentic Engineering12.8K
- Clickhouse Io12.7K
- Cost Aware Llm Pipeline12.7K
- Kotlin Patterns12.7K
- Iterative Retrieval12.6K
- Django Verification12.6K
- Nextjs Turbopack12.6K
- Content Engine12.5K
- Springboot Verification12.5K
- Context Budget12.5K
- Nutrient Document Processing12.5K
- Autonomous Loops12.4K
Similar to Security Scan
More Securitysecurity-auditSkillruvnet/ruflo1.4K installsComprehensive security scanner that checks for injection, traversal, CVEs, and hardcoded secrets.
zanadirMCP servermustachecase188 starsGrades CI pipelines for missing security controls and checks that cannot block a merge.
skill-security-auditSkillsmartchainark/skill-security-audit520 installsScans installed agent skills for 13 malicious patterns, including backdoors, credential theft, and supply-chain attacks.
security-auditorSkillcuriositech/some_claude_skills246 installsSecurity scanner that audits codebases for dependency CVEs, leaked secrets, and OWASP Top 10 issues.
vulnerability-scanningSkillaj-geddes/useful-ai-prompts621 installsAutomated vulnerability detection across dependencies, code, containers, and secrets for audits and continuous monitoring.
security-reviewSkillgithub/awesome-copilot5.9K installsAI-powered security scanner that traces data flows across files, self-verifies findings, and proposes patches for human review.