affaan-m avatar

Security Scan

This audits your .claude/ directory for security issues using AgentShield. It scans CLAUDE.md for hardcoded secrets and prompt injection patterns, checks settings.json for overly permissive allow lists, flags risky MCP server configs, and looks for command injection in hooks. You'd run it before committing config changes or when inheriting someone else's Claude Code setup. The --opus flag runs a three-agent red team/blue team analysis if you want deeper coverage. Outputs terminal, JSON, markdown, or HTML. The auto-fix mode handles safe remediations like replacing hardcoded secrets with env var references. Useful security hygiene tool if you're working with Claude Code configurations that touch sensitive repos or production systems.

skills.sh installs
5.8K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill security-scan --agent claude-code

Installs into .claude/skills of the current project.

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

FileChecks
CLAUDE.mdHardcoded secrets, auto-run instructions, prompt injection patterns
settings.jsonOverly permissive allow lists, missing deny lists, dangerous bypass flags
mcp.jsonRisky MCP servers, hardcoded env secrets, npx supply chain risks
hooks/Command injection via interpolation, data exfiltration, silent error suppression
agents/*.mdUnrestricted 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

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Frontend Development, Security, AI & Agent Building
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1composiohq avatarwebapp-testingcomposiohq/awesome-claude-skillsToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing br4.9Kskills.sh installs
2raphaelsalaja avataruserinterface-wikiraphaelsalaja/userinterface-wikiUI/UX best practices for web interfaces. Use when reviewing animations, CSS, audio, typography, UX patterns, prefetching, or icon implementations. Covers 11 cat4.7Kskills.sh installs
3anthropics avatarcompetitive-intelligenceanthropics/knowledge-work-pluginsResearch your competitors and build an interactive battlecard. Outputs an HTML artifact with clickable competitor cards and a comparison matrix. Trigger with "c4.7Kskills.sh installs
4assistant-ui avatarmarkdownassistant-ui/skillsRender and customize assistant message text as markdown in assistant-ui. Use when displaying model output as formatted markdown with MarkdownTextPrimitive from 4.5Kskills.sh installs
5lobehub avatarproject-overviewlobehub/lobehubLobeHub open-source monorepo architecture map. Use when locating code layers, understanding apps/packages/src layout, business stubs, project structure, or onbo4.4Kskills.sh installs
6starchild-ai-agent avatarslide-creatorstarchild-ai-agent/official-skillsBuild 16:9 slide decks as HTML, exported to PDF (not PowerPoint format). Use when making a deck, presentation, or pitch (e.g. 10-slide pitch deck for X, trainin4.1Kskills.sh installs