a2a-security-review
Review agent-to-agent (A2A) / multi-agent-system trust: peer identity and authentication, message integrity,…
Scan Python or React/JS code for outdated, banned, or vulnerable functions/methods (eval, pickle.loads, subprocess shell=True, dangerouslySetInnerHTML, md5 for passwords, etc.) and propose the exact safe alternative for each hit. Use when reviewing a diff/PR, before a commit, or
Claude Code
$ npx -y skills add jassics/awesome-claude-security --skill safe-function-lint --agent claude-code
Codex
$ npx skills add jassics/awesome-claude-security --skill safe-function-lint -a codex -y
Cursor
$ npx skills add jassics/awesome-claude-security --skill safe-function-lint -a cursor -y
Gemini CLI
$ npx skills add jassics/awesome-claude-security --skill safe-function-lint -a gemini-cli -y
GitHub Copilot
$ npx skills add jassics/awesome-claude-security --skill safe-function-lint -a github-copilot -y
OpenCode
$ npx skills add jassics/awesome-claude-security --skill safe-function-lint -a opencode -y
Windsurf
$ npx skills add jassics/awesome-claude-security --skill safe-function-lint -a windsurf -y
name: safe-function-lint description: Scan Python or React/JS code for outdated, banned, or vulnerable functions/methods (eval, pickle.loads, subprocess shell=True, dangerouslySetInnerHTML, md5 for passwords, etc.) and propose the exact safe alternative for each hit. Use when reviewing a diff/PR, before a commit, or when the user asks "is this function safe", "any vulnerable functions here", or wants a secure-coding pass on Python or React code.
For a given diff, file, or directory, find every use of a banned/outdated/vulnerable function or API in Python or React/JS, and for each hit report: the exact standard it violates, why it's risky, and the concrete safe replacement — never just "this is bad."
1. Determine scope: staged diff (`git diff --cached`) by default if inside a git repo and no path is given; otherwise the path/files the user named. 2. Identify language(s) present (`.py` → Python rules; `.js/.jsx/.ts/.tsx` → React/JS rules). 3. Load `reference.md` in this skill directory — it is the rule pack (CWE/OWASP ASVS cited, matcher pattern, safe alternative) — and check the scoped code against it. 4. If Semgrep is installed, prefer running it for precision:
semgrep --config "$CLAUDE_PLUGIN_ROOT/rules/semgrep-python.yml" <path> # Python semgrep --config "$CLAUDE_PLUGIN_ROOT/rules/semgrep-react.yml" <path> # React/JS
If Semgrep isn't installed, fall back to manually pattern-matching against `reference.md` directly — do not skip the check, degrade to manual review instead. 5. De-duplicate and rank findings by severity (Critical/High/Medium/Low, per `reference.md`).
For each finding, report in this exact shape:
[<severity>] <file>:<line> — <banned function/pattern> Standard: <CWE-ID / OWASP ASVS section> Risk: <one sentence — what breaks and how it's exploited> Fix: <exact safe replacement, as a code snippet if it's not a 1:1 rename>
Close with a one-line summary count by severity. Do not restate the whole file — only the offending lines and their fixes.
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…