Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Config Security Scan

ASecurity

Statically review a Claude Code / AI-agent setup for security misconfigurations — risky hooks, over-broad permissions, untrusted or cleartext MCP servers, hardcoded secrets, endpoint redirection, over-privileged agents/skills, and prompt-injection in steering files. Use when asked to audit a `.claude/` directory, `settings.json`, `.mcp.json`, a plugin/marketplace, or `CLAUDE.md`, or to add a config-security gate to CI. Drives the `agentscanner` CLI.

8 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentsrustgobashgitsecurity

Works with

claude codeclimcp

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 9/19/2026

$npx -y skills add jassics/awesome-claude-security --skill config-security-scan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Config Security Scan?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Config Security Scan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jassics-config-security-scan/badge)](https://www.skillsdirectory.com/skills/jassics-config-security-scan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: config-security-scan
description: >-
  Statically review a Claude Code / AI-agent setup for security misconfigurations
  — risky hooks, over-broad permissions, untrusted or cleartext MCP servers,
  hardcoded secrets, endpoint redirection, over-privileged agents/skills, and
  prompt-injection in steering files. Use when asked to audit a `.claude/`
  directory, `settings.json`, `.mcp.json`, a plugin/marketplace, or `CLAUDE.md`,
  or to add a config-security gate to CI. Drives the `agentscanner` CLI.
---

# Goal

A triaged, prioritized view of the security risks in a Claude Code configuration —
the trust-bearing artifacts that steer the agent and run code on its behalf — with
each real finding confirmed against the offending line and a concrete fix, plus a
hardening path so the issue does not recur.

# Why this matters

A hook is arbitrary code that runs on every tool call; an MCP server is an arbitrary
process; a permission rule decides what the agent may do un-prompted; a skill or
`CLAUDE.md` is untrusted text that steers the model. Misconfigurations and malicious
contributions in these files create real risk — code execution, credential exfil,
permission bypass, supply-chain compromise, and prompt injection. This skill scans
for them **without ever executing what it parses** (agentscanner reads config as
data only — see `reference.md`).

# Steps

1. **Ensure the tool is available** — `agentscanner` is a published PyPI package
   (Apache-2.0), independent of this marketplace. Prefer `uvx agentscanner …` (no
   install) or `pipx install agentscanner`. See `reference.md` for invocation,
   scopes, and CI wiring. Do not vendor or reimplement it.
2. **Scope the scan** — decide what to cover: the repo's project config
   (`.claude/`, `.mcp.json`, `CLAUDE.md`), the user scope (`~/.claude`, via
   `--include-user`), or a plugin/marketplace tree. Each finding is tagged with its
   scope (project / local / user / managed / plugin). Note: the scan `PATH` is a
   **repo root** — always point it at the directory that *contains* `.claude/` /
   `plugins/`, never a bare subdirectory (see `reference.md`), or discovery silently
   finds nothing.
3. **Run the scanner** — `agentscanner scan <repo-root>` (add `--output sarif
   --output-file agentscanner.sarif` for code scanning, `--fail-on HIGH` for a CI
   gate). Run `agentscanner list-checks` for the authoritative, current catalog of
   checks and severities — treat that output as the source of truth, not memory.
4. **Triage each finding** — open the cited `file:line` and confirm it. Is the broad
   `Bash(*)` allow intentional? Is the MCP `env` secret a real key or a placeholder?
   Is the `bypassPermissions` mode deliberate and scoped? Classify true positive /
   false positive / accepted-risk, and suppress accepted ones via the documented
   ignore mechanism rather than lowering the bar globally.
5. **Remediate** — give the specific fix: scope an over-broad permission, move a
   secret to a helper/env reference, pin an MCP package, switch a remote MCP to
   HTTPS, drop an over-privileged agent's `tools: *`, or remove injected steering.
6. **Harden** — point to a secure baseline (`agentscanner`'s `hardened/` reference
   settings) so the config is correct by construction, and propose a CI gate so
   regressions are caught on every change.

# Output

A triaged findings table: check-id · severity · scope · `file:line` · what it
catches · TP/FP/accepted · fix. Confirmed issues → `security-reporting:finding`
(and SARIF for GitHub code scanning). Recommend a CI gate (`--fail-on HIGH`) and the
hardened baseline as the durable follow-up.

# Notes

- **Categories you'll see** (run `list-checks` for specifics): hooks (remote-code
  execution, unsafe paths, network calls, missing timeouts), permissions
  (bypass modes, over-broad `Bash`, unscoped dangerous commands), MCP (plaintext
  secrets, cleartext `http://`, auto-trust-all, unpinned packages), env (endpoint/
  token redirection away from Anthropic), secrets, agents/skills (over-privilege,
  risk-tier spoofing, missing signatures), and prompts (injection/hidden-unicode in
  steering files).
- This complements, not replaces: `sast-sca` scans your application source;
  `supply-chain-security` covers dependency provenance; `agentic-ai-security` secures
  agents you *build*. This skill secures the Claude Code **setup itself**.
- The scanner is static and read-only; reachability/intent still need human triage,
  so always confirm at the cited line before reporting.

Attribution

jassicsjassics
View sourceSee grades on GitHubMore from jassics →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

696481 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes
View all in ai-agents →