Skill react-security-stinger
scriptsMelakukan audit pada aplikasi React 18/19 untuk menemukan celah keamanan seperti XSS, kebocoran secrets, dan risiko pada fungsi server RSC.
- Bintang GitHub
- 95
- File
- 21
- Commit terakhir
- 18 Okt 2026
- Lisensi
- AGPL-3.0-or-later
- Tool yang diizinkan
- —
Apa fungsi skill react-security-stinger?
react-security-stinger adalah agent skill. Melakukan audit pada aplikasi React 18/19 untuk menemukan celah keamanan seperti XSS, kebocoran secrets, dan risiko pada fungsi server RSC.
Ringkasan dibuat dari SKILL.md skill ini.
Tentang skill react-security-stinger
Fungsi utama dari skill ini adalah melakukan audit keamanan pada aplikasi React 18 dan 19. Tool ini dirancang untuk developer dan security researcher yang perlu mengidentifikasi XSS, kebocoran secrets, serta risiko yang terkait dengan React Server Components atau Server Functions di lingkungan seperti Vite, Waku, atau RedwoodSDK. Tool ini beroperasi secara read-only, yang berarti ia menganalisis kode tanpa melakukan perubahan apa pun pada repository yang diaudit.
Agent sebaiknya memuat skill ini saat melakukan audit keamanan pada stack berbasis React. Skill ini menggunakan script Python seperti react_version_check.py dan sink_scan.py untuk mendeteksi versi dan potensi kerentanan. Prosesnya menghasilkan output terstruktur termasuk temuan dalam format JSONL, metrik keamanan, dan catatan riset yang mendalam. Skill ini dikhususkan untuk client components dan logika server-side rendering yang berada di luar framework Next.js, yang memerlukan tool spesialis berbeda.
Apa yang bisa dilakukan agent dengannya
- 1Deteksi XSS pada aplikasi ViteMemeriksa single page application berbasis Vite untuk mencari kerentanan cross-site scripting.
- 2Identifikasi kebocoran secretsMemindai application bundle untuk memastikan informasi sensitif tidak terekspos.
- 3Review kode hasil generate AIMenginspeksi aplikasi React yang dibangun menggunakan AI scaffolding tools untuk menemukan kesalahan keamanan umum.
Ditulis dari SKILL.md milik skill tersebut. Setiap use case diverifikasi dengan kutipan darinya.
Cara install skill react-security-stinger
Setiap perintah menyalin folder skill ke direktori skills client. Restart client atau mulai sesi baru untuk memuatnya.Install skill react-security-stinger di Plugin
/plugin marketplace add legioncodeinc/vibe-coding-tools /plugin install code-audit-tools@wasp-nest
Install skill react-security-stinger di 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-stingerInstall skill react-security-stinger di 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-stingerInstall skill react-security-stinger di 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-stingerInstall skill react-security-stinger di 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-stingerInstall skill react-security-stinger di 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
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Belum terverifikasi. Skill perlu skor 80, tanpa temuan serius, dan data yang cukup untuk kami cek. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkaulegioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger is public and reachablegithub.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins ↗Lolos
- Lisensi open source (OSI)AGPL-3.0-or-later is not OSI-approvedspdx.org/licenses/AGPL-3.0-or-later.html ↗Temuan
- Ada commit atau release dalam satu tahun terakhirLast commit 2026-10-18github.com/legioncodeinc/vibe-coding-tools/commits ↗Lolos
- Skrip tanpa unduh-lalu-jalankan atau pencurian kredensial2 scripts read; no download-and-run, remote eval, base64 execution or credential uploadLolos
- Tidak ada instruksi tersembunyi di SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗Lolos
- Tool yang diizinkan otomatis dibatasiNo pre-approved tools; the agent asks before using onegithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗Lolos
- SKILL.md mengikuti format Agent Skillsthe description does not say when to use the skillgithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗Temuan
SKILL.md
Lihat di 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.
Berkas dalam skill ini
21Pertanyaan seputar skill react-security-stinger
Bagaimana cara install skill react-security-stinger di Claude Code?
Jalankan npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/react-security-stinger ~/.claude/skills/react-security-stinger. Claude Code memuat skill dari ~/.claude/skills (semua proyek) atau .claude/skills (satu proyek) dan menggunakan skill saat deskripsinya cocok dengan tugas.
Client mana saja yang bisa menggunakan skill react-security-stinger?
Client apa pun yang membaca format Agent Skills: Claude Code, Codex, Gemini CLI, dan claude.ai (unggah sebagai ZIP). Script dalam skill hanya berjalan di client yang mengizinkan eksekusi kode.
Masalah keamanan React apa saja yang dicakup oleh skill ini?
Skill ini mencakup XSS, secrets dan client trust, serta React Server Components (RSC) dan Server Functions jika digunakan di luar Next.js.
Apakah skill ini memperbaiki celah keamanan yang ditemukan?
Tidak, ini adalah tool khusus riset yang melakukan audit tanpa melakukan perubahan apa pun pada repository yang diaudit.
Haruskah saya menggunakan skill ini untuk mengaudit Next.js Server Actions?
Tidak, fitur server Next.js seperti Server Actions, route handlers, dan middleware sebaiknya ditangani oleh skill nextjs-security-stinger.