React Security Stingerのロゴ

React Security Stinger

組織
legioncodeinc
react-security-stinger

Review React 18/19 security, including Next.js clients. Covers XSS, secrets and client trust. Delegate Next.js server surfaces to nextjs-security-stinger. Read-only.

概要

公開者legioncodeinc
リポジトリvibe-coding-tools
スキル名react-security-stinger
スター
94
フォーク
44
同梱ファイル
20
ライセンスAGPL-3.0-or-later
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 20個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    legioncodeincがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「React Security Stinger」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/code-audit-tools/skills/react-security-stinger
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/legioncodeinc/vibe-coding-tools.git /tmp/vibe-coding-tools
mkdir -p .claude/skills
cp -r /tmp/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger .claude/skills/react-security-stinger
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでReact Security Stingerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にReact Security Stingerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、React Security Stingerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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 (or nextjs, for the client half) and dispatches react-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 mario tier's job
  • Architecture review without a security question: react-stinger

Procedure

  1. 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.
  2. Scope and versions: run guides/00-scoping-and-version-detection.md. It runs scripts/react_version_check.py (lockfiles against the advisory table) and scripts/sink_scan.py (candidate lines), maps the stack per path, and decides which guides apply.
  3. XSS and SSR injection: guides/01-xss-and-injection-sinks.md.
  4. RSC and Server Functions (when present outside Next.js): guides/02-rsc-and-server-functions.md.
  5. Secrets and data exposure: guides/03-secrets-and-data-exposure.md.
  6. Auth, routing, client trust: guides/04-auth-routing-client-trust.md.
  7. Supply chain and AI-generated patterns: guides/06-supply-chain-and-ai-patterns.md.
  8. 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.
  9. Return the verdict, finding counts by severity, every coverage cap, and the list of raw files written.

References map

PathLoad when
references/REFERENCE.mdfinding which file holds a check, table, or script option
references/checks-xss-and-ssr.mdguide 01: RX and RS checks with detection, confirmation, severity, code pairs, refs
references/checks-rsc.mdguide 02: RC checks
references/checks-secrets-and-data.mdguide 03: SD checks
references/checks-auth-routing.mdguide 04: AR checks
references/checks-supply-chain-and-ai.mdguide 06, and any AI-built app: SC checks, AI patterns, React 19 behavior table
references/advisory-table.mdexplaining or hand-checking a version finding; updating the script's table
references/detection-patterns.mdripgrep commands per check id
references/finding-rules.mdbefore writing any finding, metrics, or notes
references/research/distilled-react-security.mdverifying 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.pyguide 00, every run
scripts/sink_scan.pyguide 00, every run; reruns with --checks to lift caps
scripts/test/run_tests.pyafter 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-stinger and sveltekit-security-stinger (this pack) - Other stacks in a monorepo.
  • react-stinger in web-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:

Designed and built by Legion Code Inc. Licensed under AGPL-3.0-or-later.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「React Security Stinger」では何ができますか?

Review React 18/19 security, including Next.js clients. Covers XSS, secrets and client trust. Delegate Next.js server surfaces to nextjs-security-stinger. Read-only.

TypingMindでReact Security Stingerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。React Security Stingerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにReact Security Stingerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/code-audit-tools/skills/react-security-stingerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

React Security Stingerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

React Security Stingerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもReact Security Stingerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「React Security Stinger」は無料ですか?

はい。legioncodeincがAGPL-3.0-or-laterライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇