a2a-security-review
Review agent-to-agent (A2A) / multi-agent-system trust: peer identity and authentication, message integrity,…
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
Claude Code
$ npx -y skills add jassics/awesome-claude-security --skill config-security-scan --agent claude-code
Codex
$ npx skills add jassics/awesome-claude-security --skill config-security-scan -a codex -y
Cursor
$ npx skills add jassics/awesome-claude-security --skill config-security-scan -a cursor -y
Gemini CLI
$ npx skills add jassics/awesome-claude-security --skill config-security-scan -a gemini-cli -y
GitHub Copilot
$ npx skills add jassics/awesome-claude-security --skill config-security-scan -a github-copilot -y
OpenCode
$ npx skills add jassics/awesome-claude-security --skill config-security-scan -a opencode -y
Windsurf
$ npx skills add jassics/awesome-claude-security --skill config-security-scan -a windsurf -y
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.
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.
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`).
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.
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.
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).
`supply-chain-security` covers dependency provenance; `agentic-ai-security` secures agents you *build*. This skill secures the Claude Code **setup itself**.
so always confirm at the cited line before reporting.
A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.
Review agent-to-agent (A2A) / multi-agent-system trust: peer identity and authentication, message integrity,…
Test the agent execution harness/runtime itself — LangChain/LangGraph, AutoGen, CrewAI, custom ReAct-style loops, or…
Assess an autonomous / tool-using AI agent for security end-to-end: tool privileges, autonomy and approval boundaries, excessive…
Test what an AI agent will actually do without human confirmation, including under injected-goal / prompt-injection scenarios, to…
Review the security of MCP (Model Context Protocol) servers/clients an agent uses: server trust tier, tool/resource description…
Inventory the tools/functions an AI agent can call and audit their privileges, side effects, and approval requirements to find…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…