a2a-security-review
Review agent-to-agent (A2A) / multi-agent-system trust: peer identity and authentication, message integrity,…
Manual, adversarial secure code review focused on exploitable vulnerabilities — OWASP Top 10, injection, authn/authz, business-logic abuse, crypto, SSRF, deserialization, secrets, race conditions. Reviews the current git diff by default, or a path/PR. Supports phase-scoped
Claude Code
$ npx -y skills add jassics/awesome-claude-security --skill secure-review --agent claude-code
Codex
$ npx skills add jassics/awesome-claude-security --skill secure-review -a codex -y
Cursor
$ npx skills add jassics/awesome-claude-security --skill secure-review -a cursor -y
Gemini CLI
$ npx skills add jassics/awesome-claude-security --skill secure-review -a gemini-cli -y
GitHub Copilot
$ npx skills add jassics/awesome-claude-security --skill secure-review -a github-copilot -y
OpenCode
$ npx skills add jassics/awesome-claude-security --skill secure-review -a opencode -y
Windsurf
$ npx skills add jassics/awesome-claude-security --skill secure-review -a windsurf -y
name: secure-review description: >- Manual, adversarial secure code review focused on exploitable vulnerabilities — OWASP Top 10, injection, authn/authz, business-logic abuse, crypto, SSRF, deserialization, secrets, race conditions. Reviews the current git diff by default, or a path/PR. Supports phase-scoped commands (auth, bizlogic, injection, headers, pii, deadcode, all) and poc/fix/chain/triage follow-ups. Complements `sast-review` (scanner triage) with human-style reasoning over the full change, especially business-logic flaws scanners can't see.
An adversarial, code-evidenced vulnerability review of a diff/path/PR — including business-logic abuse a scanner would miss — ranked by severity with concrete fixes.
If invoked with an argument, run only that phase against the scoped code:
| Command | Scope | |---|---| | `auth` | Authn/session + authz/IDOR | | `bizlogic` | Business-logic abuse — see `reference.md` | | `injection` | Injection + input validation | | `headers` | Security headers & transport (CSP/HSTS/CORS/TLS) | | `pii` | Sensitive-data/PII handling | | `deadcode` | Orphan endpoints, debug routes, stale API versions | | `all` | Full flow below | | `poc <FINDING-ID>` | Burp + Postman repro steps for a prior finding | | `fix <FINDING-ID>` | Concrete code fix for a prior finding | | `chain` | Findings that combine into a higher-severity exploit chain | | `triage` | Re-rank existing findings by business impact × exploitability |
Cloud/IaC misconfig and structural secure-by-design architecture review are out of scope here — hand off to `infrastructure-security:iac-security-review` / `host-hardening-review` and `security-architect:security-design-review`.
1. **Scope the change.**
git diff --stat 2>/dev/null && git diff 2>/dev/null # default: working changes # or: git diff main...HEAD for a branch/PR
If given a path, review that path. Read surrounding code for context, not just diff hunks.
2. **Interactive intake — only for business-critical flows** (checkout, payment, KYC, order/refund, auth, admin actions) or when no context has been given yet. Ask in one batch, wait for answers, then proceed; skip silently for small/ non-critical diffs:
3. **Review against the checklist** — for every function, ask "how would I abuse this?":
client-controlled state tampering, replay, TOCTOU races (double-spend, coupon reuse, negative inventory), price/quantity/discount tampering, quota/rate-limit bypass, self-approval/workflow abuse. Full checklist + abuse-scenario template in `reference.md`.
secrets in logs (`secure-coding:secret-guard`).
wildcard+credentials, TLS version — only on endpoint/middleware config changes.
URLs/analytics, masking in lower envs — only on data-model/logging/serialization changes.
change, admin action) logged with actor/outcome; error handling that leaks internals.
commented-out auth-bypass logic — only on routing/controller changes.
4. **Cross-check with tools where useful**: suggest or run `sast-review`, `sca-review`, `secure-coding:secret-guard`, `secure-coding:safe-function-lint` on the touched files.
and the exploit/abuse scenario, formatted as a before/after code pair:
**Vulnerable** (`file:line`): ```<lang> <exact vulnerable snippet from the diff/file>
**Fixed:**
<minimal corrected snippet — same shape, only the fix changed>
Keep both snippets minimal (just the vulnerable statement + immediate context, not the whole function) so the diff is obvious at a glance. - For business-logic findings, use the abuse-scenario format in `reference.md` (actor, goal, steps, business impact). - Score meaningful findings with CVSS via `security-reporting:cvss` rather than a guessed label. - On `poc <ID>`, add Burp Suite and Postman repro steps — template in `reference.md`. - Distinguish confirmed issues from things to verify — if unsure, say "likely vulnerable — please confirm: does X happen?" rather than filing it as confirmed. - A short go/no-go recommendation for merging the change. - For a full multi-finding review, close with a quick-win vs. long-term-fix table (Finding ID | Effort | Priority | Owner) and hand off to `security-reporting:finding` / `security-reporting:pentest-report` for a formal writeup. - Only apply fixes if the user explicitly asks.
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…