Agent skill · Security

config-security-scan

Scan .claude/ directory for security misconfigurations, exposed secrets, unsafe permissions

vibeevalgithub.com/vibeevalGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add vibeeval/vibecosystem --skill config-security-scan --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Allowed tools: BashReadGrepGlob
Path: skills/config-security-scan/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Config Security Scan Scan your `.claude/` directory and related configuration files for security issues. Inspired by AgentShield pattern - checks CLAUDE.md, settings.json, MCP configs, hooks, and agent definitions for misconfigurations, exposed secrets, and unsafe permissions. ## Usage ``` /config-security-scan [path] ``` Default path: `.claude/` in current project. ## What It Checks ### 1. Secrets Detection (CRITICAL) ``` - API keys, tokens, passwords in CLAUDE.md - Hardcoded credentials in hook scripts - Secrets in MCP server configs - Bearer tokens in agent definitions - .env files committed to git ``` ### 2. Permission Escalation (HIGH) ``` - dangerouslySkipPermissions in settings.json - Overly broad tool permissions (all tools for simple agents) - MCP servers with filesystem write access - Hooks with shell execution and no validation - Agents with Bash tool that don't need it ``` ### 3. MCP Server Security (HIGH) ``` - Unknown/untrusted MCP servers - MCP servers with network access + filesystem access - Missing authentication on MCP endpoints - MCP servers running as root/admin - Unverified npm packages in MCP configs ``` ### 4. Hook Security (MEDIUM) ``` - Hooks that execut

What's inside
Steps it walks through
  1. Usage
  2. What It Checks
  3. 1. Secrets Detection (CRITICAL)
  4. 2. Permission Escalation (HIGH)
  5. 3. MCP Server Security (HIGH)
  6. 4. Hook Security (MEDIUM)
  7. 5. Agent Definition Security (MEDIUM)
  8. 6. Configuration Hygiene (LOW)
  9. Scan Procedure
  10. Output Format
  11. Hard Exclusion List (Skip These)
  12. Integration
Commands it runs
Step 1: Find all config files
find .claude/ -type f \( -name "*.json" -o -name "*.md" -o -name "*.yml" -o -name "*.yaml" -o -name "*.js" -o -name "*.mjs" -o -name "*.ts" \)
Step 2: Secret patterns
grep -rn "api[_-]?key\|password\|secret\|token\|bearer\|sk-\|pk_\|ghp_\|gho_\|xoxb-\|xoxp-" .claude/
Step 3: Permission checks
grep -rn "dangerouslySkipPermissions\|allowedTools.*Bash\|shell_exec\|eval(" .claude/
Step 4: MCP config review
cat .mcp.json 2>/dev/null | jq '.mcpServers | keys'
Step 5: Hook review
ls .claude/hooks/ 2>/dev/null
More from vibecosystem
All skills →
About this skill
What does the config-security-scan skill do?

Scan .claude/ directory for security misconfigurations, exposed secrets, unsafe permissions

How do I install it?

Run `npx skills add vibeeval/vibecosystem --skill config-security-scan --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going