Навык react-security-stinger
scriptsАудит приложений на React 18/19 на наличие уязвимостей, включая XSS, утечку секретов и риски серверных функций RSC.
- Звёзды на GitHub
- 95
- Файлы
- 21
- Последний коммит
- 18 окт. 2026 г.
- Лицензия
- AGPL-3.0-or-later
- Разрешённые инструменты
- —
Что делает навык react-security-stinger?
react-security-stinger — это Agent Skill. Аудит приложений на React 18/19 на наличие уязвимостей, включая XSS, утечку секретов и риски серверных функций RSC.
Сводка сгенерирована из SKILL.md навыка.
О skill react-security-stinger
Основная функция этого SKILL — аудит приложений на React 18 и 19 на наличие уязвимостей безопасности. Он предназначен для разработчиков и исследователей безопасности, которым необходимо выявить XSS, утечки секретов и риски, связанные с React Server Components или Server Functions в таких средах, как Vite, Waku или RedwoodSDK. Инструмент работает в режиме только для чтения, то есть анализирует код, не внося никаких изменений в проверяемый репозиторий.
Агенту следует загружать этот SKILL при проведении аудита безопасности стека на базе React. Он использует Python-скрипты, такие как react_version_check.py и sink_scan.py, для определения версий и потенциальных уязвимостей. Процесс генерирует структурированные выходные данные, включая результаты в формате JSONL, метрики безопасности и подробные исследовательские заметки. Инструмент специально адаптирован для клиентских компонентов и логики серверного рендеринга, существующих вне фреймворка Next.js, для которых требуется другой специализированный инструмент.
Что агент может делать с ним
- 1Обнаружение XSS в приложениях ViteПроверка одностраничных приложений на базе Vite на наличие уязвимостей межсайтового скриптинга.
- 2Поиск утечек секретовСканирование бандла приложения, чтобы убедиться, что конфиденциальная информация не оказывается в открытом доступе.
- 3Проверка кода, сгенерированного ИИИнспекция React-приложений, созданных с помощью инструментов ИИ-генерации кода, на наличие типичных ошибок безопасности.
Написано на основе skill SKILL.md. Каждый сценарий использования проверен по цитате из него.
Как установить навык react-security-stinger
Каждая команда копирует папку навыка в каталог навыков клиента. Перезапустите клиент или начните новую сессию, чтобы загрузить его.Установка навыка react-security-stinger в Плагин
/plugin marketplace add legioncodeinc/vibe-coding-tools /plugin install code-audit-tools@wasp-nest
Установка навыка react-security-stinger в Claude Code
~/.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-stingerУстановка навыка react-security-stinger в Claude Code (project)
.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-stingerУстановка навыка react-security-stinger в Codex
~/.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-stingerУстановка навыка react-security-stinger в Gemini CLI
~/.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-stingerУстановка навыка react-security-stinger в Claude.ai
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
Автоматические проверки
Запущено 14 нояб. 2026 г.Полный отчёт →Ещё не проверен. Навыку нужно 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 ↗Пройдено
- Open source лицензия (OSI)AGPL-3.0-or-later is not OSI-approvedspdx.org/licenses/AGPL-3.0-or-later.html ↗Проблема
- Коммит или релиз за последний год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 Skillsthe description does not say when to use the skillgithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗Проблема
SKILL.md
Открыть на GitHubReact 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.
Файлы в этом навыке
21Вопросы о навыке react-security-stinger
Как установить навык react-security-stinger в Claude Code?
Выполните 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 (один проект) и использует навык, когда его описание соответствует задаче.
Какие клиенты могут использовать навык react-security-stinger?
Любой клиент, который читает формат Agent Skills: Claude Code, Codex, Gemini CLI и claude.ai (загрузить как ZIP). Скрипты в навыке выполняются только там, где клиент разрешает выполнение кода.
Какие именно проблемы безопасности React охватывает этот SKILL?
Он охватывает XSS, утечку секретов и вопросы доверия на стороне клиента, а также React Server Components (RSC) и Server Functions при их использовании вне Next.js.
Исправляет ли этот SKILL найденные уязвимости?
Нет, это инструмент только для исследования, который проводит аудит без внесения каких-либо изменений в проверяемый репозиторий.
Стоит ли использовать этот SKILL для аудита Next.js Server Actions?
Нет, серверные возможности Next.js, такие как Server Actions, обработчики маршрутов (route handlers) и middleware, следует проверять с помощью SKILL nextjs-security-stinger.