react-security-stinger skill
scriptsReact 18/19アプリケーションを対象に、XSS、シークレットの露出、RSC(React Server Components)のサーバー関数におけるリスクなどのセキュリティ脆弱性を監査します。
- GitHubスター
- 95
- ファイル
- 21
- 最終コミット
- 2026年10月18日
- ライセンス
- AGPL-3.0-or-later
- 許可されたツール
- —
react-security-stinger skillは何をしますか
react-security-stingerはAgent Skillsです。 React 18/19アプリケーションを対象に、XSS、シークレットの露出、RSC(React Server Components)のサーバー関数におけるリスクなどのセキュリティ脆弱性を監査します。.
skillのSKILL.mdから生成された要約。
react-security-stinger skill について
このSKILLの主な機能は、React 18および19アプリケーションのセキュリティ脆弱性を監査することです。Vite、Waku、RedwoodSDKなどの環境において、XSS、シークレットの露出、およびReact Server ComponentsやServer Functionsに関連するリスクを特定する必要がある開発者やセキュリティリサーチャー向けに設計されています。このツールは読み取り専用で動作するため、監査対象のリポジトリに変更を加えることなくコードを分析します。
Reactベースのスタックに対してセキュリティ監査を行う際、エージェントはこのSKILLをロードする必要があります。react_version_check.pyやsink_scan.pyなどのPythonスクリプトを利用して、バージョンや潜在的な脆弱性を検出します。プロセスでは、JSONL形式の検出結果、セキュリティメトリクス、詳細な調査ノートを含む構造化された出力が生成されます。本ツールは、Next.jsフレームワーク外に存在するクライアントコンポーネントやサーバーサイドレンダリングのロジックに特化しており、Next.jsの場合は別の専用ツールが必要となります。
エージェントができること
- 1ViteアプリケーションにおけるXSSの検出Viteベースのシングルページアプリケーションにおけるクロスサイトスクリプティングの脆弱性を確認します。
- 2漏洩したシークレットの特定アプリケーションのバンドルをスキャンし、機密情報が露出していないかを確認します。
- 3AI生成コードのレビューAIスキャフォールディングツールによって構築されたReactアプリケーションに、一般的なセキュリティ上のミスがないか検査します。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
react-security-stinger skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにreact-security-stinger skillをインストールする
/plugin marketplace add legioncodeinc/vibe-coding-tools /plugin install code-audit-tools@wasp-nest
Claude Codeにreact-security-stinger skillをインストールする
~/.claude/skills/react-security-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger ~/.claude/skills/react-security-stingerClaude Code (project)にreact-security-stinger skillをインストールする
.claude/skills/react-security-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger .claude/skills/react-security-stingerCodexにreact-security-stinger skillをインストールする
~/.agents/skills/react-security-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger ~/.agents/skills/react-security-stingerGemini CLIにreact-security-stinger skillをインストールする
~/.gemini/skills/react-security-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger ~/.gemini/skills/react-security-stingerClaude.aiにreact-security-stinger skillをインストールする
npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger react-security-stinger && zip -r react-security-stinger.zip react-security-stinger # claude.ai → Customize → Skills → + → Create skill → Upload a skill → react-security-stinger.zip
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。スキルにはスコア 80、重大な指摘なし、チェックに十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger is public and reachablegithub.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins ↗合格
- オープンソースライセンス (OSI)AGPL-3.0-or-later is not OSI-approvedspdx.org/licenses/AGPL-3.0-or-later.html ↗検出事項
- 過去1年以内にコミットまたはリリースありLast commit 2026-10-18github.com/legioncodeinc/vibe-coding-tools/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がない2 scripts read; no download-and-run, remote eval, base64 execution or credential upload合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗合格
- SKILL.md が Agent Skills の形式に従っているthe description does not say when to use the skillgithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗検出事項
SKILL.md
GitHubで表示React Security Stinger
Designed and built by Legion Code Inc.
Where this skill's files are
Every path below (guides/, references/, scripts/) is relative to the folder that contains this SKILL.md. In Claude Code that folder is ${CLAUDE_SKILL_DIR}. If that text was not replaced with a real path, find the folder yourself (for example with Glob for **/react-security-stinger/SKILL.md) and use it as <skill> in every command.
Purpose
Find, confirm, and report the security weaknesses that are specific to React application code, for the security dimension of an /audit-my-code run (contract 1.0). It covers React 18 and 19 client components, server rendering, and React Server Components with Server Functions where they run outside Next.js (Vite with @vitejs/plugin-rsc, React Router RSC and Framework Mode, Waku, Parcel, RedwoodSDK, hand-rolled react-server-dom-* servers). It produces 02-security/findings-react-security-wasp-drone.jsonl, metrics-react-security-wasp-drone.json, and notes-react-security-wasp-drone.md, with every finding backed by evidence, and changes nothing in the audited repository.
When to use
- The orchestrator's stack routing says
react(ornextjs, for the client half) and dispatchesreact-security-wasp-drone - "Security audit this React app", "check our Vite SPA for XSS", "are we exposed to React2Shell", "is CVE-2025-55182 patched here"
- "Audit our Server Functions", "are our
'use server'actions safe", "do we leak secrets in the bundle" - Reviewing an AI-built React app (Lovable, Bolt, v0, Cursor, Claude Code scaffolds) for the usual generator mistakes
When not to use
- Next.js server surfaces (Server Actions, route handlers, middleware or proxy,
next.config, Next.js version advisories):nextjs-security-stinger - Generic OWASP pass, repository-wide and git-history secret scanning, dependency advisories outside React:
security-stinger - Svelte or SvelteKit:
sveltekit-security-stinger. Non-JavaScript backends:polyglot-security-stinger - Fixing the issues: this Stinger is research-only and never edits the audited repository; remediation planning is the
mariotier's job - Architecture review without a security question:
react-stinger
Procedure
- Read the arming line and the contract (
audit-my-code-stinger/references/audit-contract.md). Write only inside<workspace>/02-security/and only to your per-source files. - Scope and versions: run guides/00-scoping-and-version-detection.md. It runs
scripts/react_version_check.py(lockfiles against the advisory table) andscripts/sink_scan.py(candidate lines), maps the stack per path, and decides which guides apply. - XSS and SSR injection: guides/01-xss-and-injection-sinks.md.
- RSC and Server Functions (when present outside Next.js): guides/02-rsc-and-server-functions.md.
- Secrets and data exposure: guides/03-secrets-and-data-exposure.md.
- Auth, routing, client trust: guides/04-auth-routing-client-trust.md.
- Supply chain and AI-generated patterns: guides/06-supply-chain-and-ai-patterns.md.
- Write findings, metrics, and notes: guides/05-writing-findings.md. Every candidate becomes a finding, a "Not confirmed" note, or a dismissed count; never a finding without evidence.
- Return the verdict, finding counts by severity, every coverage cap, and the list of raw files written.
References map
| Path | Load when |
|---|---|
references/REFERENCE.md |
finding which file holds a check, table, or script option |
references/checks-xss-and-ssr.md |
guide 01: RX and RS checks with detection, confirmation, severity, code pairs, refs |
references/checks-rsc.md |
guide 02: RC checks |
references/checks-secrets-and-data.md |
guide 03: SD checks |
references/checks-auth-routing.md |
guide 04: AR checks |
references/checks-supply-chain-and-ai.md |
guide 06, and any AI-built app: SC checks, AI patterns, React 19 behavior table |
references/advisory-table.md |
explaining or hand-checking a version finding; updating the script's table |
references/detection-patterns.md |
ripgrep commands per check id |
references/finding-rules.md |
before writing any finding, metrics, or notes |
references/research/distilled-react-security.md |
verifying a domain claim or settling a dispute |
| Source research archive (not shipped with the plugin) | Source-repository only; the shipped distillation summarizes it, do not require it |
scripts/react_version_check.py |
guide 00, every run |
scripts/sink_scan.py |
guide 00, every run; reruns with --checks to lift caps |
scripts/test/run_tests.py |
after editing either script or the advisory table |
Related drones and stingers
- react-security-wasp-drone - The paired Drone in this pack; the orchestrator dispatches it with an arming line.
- nextjs-security-stinger - Next.js server boundaries; runs beside this Stinger on Next.js apps.
- audit-my-code-stinger - The run contract, tiers, routing, and the security merge script.
security-stinger(core, when installed) - Generic OWASP pass, repository secrets, non-React dependency advisories.polyglot-security-stingerandsveltekit-security-stinger(this pack) - Other stacks in a monorepo.react-stingerinweb-development-tools(confirm installed) - React architecture questions that come up during the audit.
Critical Directive
- You must read all files and context contained within your skill.
- In the event your core knowledge does not provide sufficient guidance you must make every attempt to search the internet, related knowledge base documentation files, and other available resources to supplement your knowledge prior to proceeding with your task.
- Additional related skills can be found here:
- nextjs-security-stinger - Next.js Server Actions, route handlers, middleware, config, and Next.js version advisories.
- audit-my-code-stinger - Audit My Code contract, tiers, security routing, and merge.
Designed and built by Legion Code Inc. Licensed under AGPL-3.0-or-later.
このスキルのファイル
21react-security-stinger skillに関する質問
Claude Codeにreact-security-stinger skillをインストールするには
npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger ~/.claude/skills/react-security-stingerを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
react-security-stinger skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
どのようなReactのセキュリティ問題に対応していますか?
XSS、シークレット、クライアントの信頼性に加え、Next.js以外の環境で使用されるReact Server Components (RSC) やServer Functionsを対象としています。
見つかったセキュリティ脆弱性を修正することはできますか?
いいえ、これは調査専用のツールであり、監査対象のリポジトリに変更を加えることなく監査のみを実行します。
Next.jsのServer Actionsを監査するためにこのSKILLを使用すべきですか?
いいえ、Server Actions、route handlers、middlewareなどのNext.jsのサーバー機能については、nextjs-security-stingerを使用してください。