agent-supply-chain-audit
БесплатноЗапускает вложенные скриптыНе проверенAudit the extensions AI coding agents load and trust (skills, plugins, marketplaces, hooks, settings, MCP servers, and instruction files like CLAUDE.md…
от briiirussell★ 541 звезда на GitHubОб этом скилле
Agent Supply-Chain Audit — Skills, Plugins, Hooks, MCP Servers, Instruction Files
Coding agents now load third-party code and third-party instructions with the developer's full privileges: a skill is
prose the model obeys, a hook is a shell command that runs on every prompt, an MCP server is a process launched from
whatever npx resolves today. NVIDIA's SkillSpector write-up cites Liu et al. (2026): of 31,132 public skills analysed,
26.1% had a vulnerability and 5.2% looked malicious. Nobody reviews these the way they review a dependency.
This skill inventories everything the user's agents load, reads it for concealed or hostile behaviour, checks what runs automatically and how it's pinned, and returns a per-item verdict. It never executes, installs, edits, or removes the items it audits.
Cross-references: prompt-injection for the same hidden-instruction and tool-poisoning checks applied to the user's
application (RAG corpora, system prompts, the MCP servers the app exposes); secrets-audit for tokens sitting in MCP
env blocks, agent settings, and session transcripts; dependency-audit for the npm / PyPI packages behind MCP servers
and bundled scripts; ai-risk-management for where agent tooling sits in the org's AI inventory; incident-triage
when a malicious item has already run; personal-opsec for the operator's own machine and accounts around the agent
(C7 checks cached browser versions); patch-sweep for the fleet response when a Chrome CVE lands;
cicd-security for agents that run inside CI workflows (claude-code-action and similar).
Step 0 — Authorization and scope
- Audit the user's own machine, repos, and the items they're considering installing. User-level folders (
~/.claude,~/.codex, …) belong to the person at the keyboard; don't audit another user's home or a shared host without the owner's say-so. - Agree the scope: project (this repo), user (home-directory config), managed (org policy files), or a candidate (a skill / plugin / server the user hasn't installed yet — have them clone it to a scratch directory; don't install it to look at it).
- Any third-party repo (a candidate, an issue repro, interview homework, a fork): clone it, then read its agent config,
hooks,
.vscode/tasks.jsonandpackage.jsonscripts withcatorrgbefore starting Claude Code, Codex, Cursor or VS Code in it. Hooks and folder-open tasks fire on open (BH5; IN1–IN4;personal-opsec). - Read-only. Config files hold tokens: when a match contains a secret, report the file and key name, redact the value
to prefix + last 4, and hand it to
secrets-audit. Don't paste secret values into the conversation. - Never run an item to see what it does (no launching MCP servers, no running bundled scripts or hook commands). Where
dynamic evidence is needed, write the
validation_planfor the user to run in a sandbox.
Step 1 — Inventory
List every instruction file, skill, command, subagent, plugin, marketplace, hook, settings file, and MCP server each agent loads, at every scope. The per-agent path tables and a one-shot discovery command are in references/locations.md. The headline locations:
| Agent | Instructions | Extensions | Executes code |
|---|---|---|---|
| Claude Code | CLAUDE.md, CLAUDE.local.md, ~/.claude/CLAUDE.md |
.claude/skills, ~/.claude/skills, .claude/commands, .claude/agents, ~/.claude/plugins/, .claude-plugin/plugin.json + marketplace.json |
.claude/settings*.json, ~/.claude/settings.json, hooks/hooks.json, .mcp.json, ~/.claude.json, claude_desktop_config.json, managed settings |
| Cross-agent | AGENTS.md |
.agents/skills (where npx skills installs) |
— |
| Cursor | .cursor/rules/*.mdc, .cursorrules |
.cursor/commands |
.cursor/mcp.json, ~/.cursor/mcp.json, .cursor/hooks.json |
| Codex | AGENTS.md, ~/.codex/AGENTS.md |
~/.codex/prompts, ~/.codex/skills |
~/.codex/config.toml ([mcp_servers.*], approval and sandbox policy) |
| Gemini CLI | GEMINI.md, ~/.gemini/GEMINI.md |
.gemini/commands, ~/.gemini/extensions/* |
.gemini/settings.json, ~/.gemini/settings.json (mcpServers) |
| Copilot | .github/copilot-instructions.md, .github/instructions/*.instructions.md |
.github/prompts, .github/agents, .github/chatmodes |
.vscode/mcp.json, .vscode/tasks.json (folderOpen, BH5), VS Code user settings |
| Launch folders | Any AGENTS.md / CLAUDE.md in the folder an agent starts in (~/Downloads, ~/Desktop, $HOME) |
Codex projects.<path>.trust_level in ~/.codex/config.toml; Claude Code's folder-trust prompt |
Whatever those instructions tell the agent to do (LD1–LD4, references/launch-directories.md) |
| IDE extensions | — | ~/.cursor/extensions, ~/.vscode/extensions, ~/.windsurf/extensions, ~/.vscode-oss/extensions, remote ~/.*-server/extensions, JetBrains plugins/ |
Every ext |
Установить agent-supply-chain-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobBash(skillspector scan --no-llm:*)Вложенные файлы
FAQ
Что делает скилл agent-supply-chain-audit?
Audit the extensions AI coding agents load and trust (skills, plugins, marketplaces, hooks, settings, MCP servers, and instruction files like CLAUDE.md, AGENTS.md and .cursor/rules) across Claude Code, Cursor, Codex, Gemini CLI and GitHub Copilot. Read-only: inventories each item with its source and pin, greps for hidden instructions, exfiltration, credential reads, persistence, curl|bash and over-broad tool grants, reviews hooks and MCP pinning and tool poisoning, and gives each item a SAFE / CAUTION / DO-NOT-INSTALL verdict. Use when the user mentions 'audit my skills,' 'is this skill malicious,' 'is this skill safe,' 'is this MCP server safe,' 'review CLAUDE.md,' 'review AGENTS.md,' 'plugin security,' 'check my hooks,' 'CODEOWNERS for .claude,' 'audit my MCP servers,' 'agent supply chain,' 'SkillSpector,' 'tool poisoning,' 'rug pull,' 'audit my IDE extensions,' 'is this VS Code extension safe,' 'is this repo safe to open,' or is about to install a skill, plugin, MCP server, or IDE extension.
Как установить скилл agent-supply-chain-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-supply-chain-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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