claude-code-security-scan
БесплатноБез исполняемых скриптовНе проверенAudit Claude Code configuration for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Scans settings, MCP servers, hooks…
от djc00p1 128 установок в других каталогахОб этом скилле
Security Scan
Audit Claude Code configuration for security issues using AgentShield.
Supply Chain and Scope Safety
AgentShield runs as an npm package. How you invoke it matters.
- Pin the version. Always use an exact pinned version. Never use a floating
tag such as
ecc-agentshield@latest, which can execute changed third-party code at any later run. - Keep it project-local. Install into the project with a lockfile rather than globally, so the exact audited version is pinned in the repository and the install is reviewable in version control.
- Use an isolated work tree. Run the scan against a version-controlled or throwaway working tree so any file changes are reviewable and reversible.
- Hold off on
--fix. Read the proposed changes before letting the tool apply them.--fixmodifies your configuration — that authority should be deliberate. - Hold off on
init.initwrites a starter configuration. Read what it would create before letting it write to your config directory. - Scope the API key. If you enable deep analysis, use a limited API key rather than your primary credential.
Install (project-local, pinned)
# Pin an exact version into the project. The lockfile records the exact tree.
npm install --save-dev [email protected]
Do not use a global install (npm install -g) and do not use an unpinned
npx ecc-agentshield@latest. Both defeat the pinning that makes this scan
reproducible and reviewable.
Run (pinned, local)
# Scan the current project's .claude directory using the pinned local install
npx --no-install ecc-agentshield scan --path .claude
npx --no-install refuses to fetch anything that is not already installed, so
the scan cannot silently pull a different version at run time.
When to Activate
- Setting up a new Claude Code project
- After modifying settings.json, CLAUDE.md, or MCP configs
- Before committing configuration changes
- Onboarding to repo with existing configs
- Periodic security hygiene checks
What It Scans
CLAUDE.md— Hardcoded secrets, auto-run instructions, injection patternssettings.json— Overly permissive allow lists, missing deny listsmcp.json— Risky MCP servers, hardcoded env secretshooks/— Command injection via interpolation, data exfiltrationagents/— Unrestricted tool access, missing model specs
Command reference, severity grades, and critical/high finding detail live in
references/commands-and-findings.md.
Установить claude-code-security-scan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл claude-code-security-scan?
Audit Claude Code configuration for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Scans settings, MCP servers, hooks, agents, and hardcoded secrets. Trigger phrases: security audit, scan config, find vulnerabilities, check MCP, security check, hardcoded secrets. Adapted from everything-claude-code by @affaan-m (MIT)
Как установить скилл claude-code-security-scan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-code-security-scan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic