/code-audit-tools:sveltekit-security-stingerfrom code-audit-tools
Read-only security audit for Svelte 4/5 and SvelteKit 2 apps. Checks versions against advisories, load leaks, form actions, remote functions, hooks, XSS, CSRF, adapters, and CSP. Produces evidence-backed findings without modifying code.
Ships in code-audit-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Designed and built by Legion Code Inc.
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 (Glob for **/sveltekit-security-stinger/SKILL.md) and use it as the skill directory in every command.
Audit a Svelte or SvelteKit codebase for security problems the way an attacker would approach it, and report each one with evidence a founder can act on. The skill is framework-deep and stack-agnostic: it works on any SvelteKit 2 app (any database, auth library, or host) and on plain Svelte + Vite SPAs. It produces contract-shaped findings for the Audit My Code run: installed versions matched against every published advisory for svelte, @sveltejs/kit, devalue and the official adapters, plus manual-review findings across the server and client boundary, form actions, +server endpoints, remote functions, hooks and the authorization model, XSS sinks, CSP, cookies, adapters, prerendering, and patterns common in AI-written Svelte code. It never changes the audited repository.
sveltekit-security-wasp-drone because intake.json.stacks lists svelte or sveltekitsecurity-stinger, which also remediatessecurity-wasp-drone generic pass (security-stinger, armed report-only)react-security-stinger or nextjs-security-stinger; back ends in other languages: polyglot-security-stingermario tierweb-security-posture-stingeraudit-my-code-stinger/references/audit-contract.md) and intake.json. Your scope is the stack paths for svelte and sveltekit.scripts/sveltekit_audit_scan.py, review its version findings, and build the reading list.handle coverage (including remote functions), layout-only and client-only guards, server fetch, errors, redirects.findings-sveltekit-security-wasp-drone.jsonl, metrics-sveltekit-security-wasp-drone.json, and the notes file in 02-security/, validate them, and return the verdict, counts by severity, and every coverage cap.Throughout: no finding without evidence; possible never above medium; redact secrets to the first 4 characters plus ****; never run installs, builds, or servers in the audited repository.
| Path | Load when |
|---|---|
| references/REFERENCE.md | Start of every run: file map, scanner interface and outputs, finding example |
| references/check-catalog.md | Guides 01 to 05: each check's detection, confirmation, severity, code pair, refs |
| references/detection-patterns.md | Before each guide's manual read: tested ripgrep commands |
| references/advisory-table.md | Guide 00, and explaining a version finding |
| references/severity-guide.md | Assigning severity and confidence; guide 06 |
| references/research/distilled-sveltekit-security.md | Verifying a claim, resolving a conflict, checking a thin spot |
| Source research archive (not shipped with the plugin) | Source-repository only; the shipped distillation summarizes it, do not require it |
| scripts/sveltekit_audit_scan.py | Once per run in guide 00 |
| scripts/advisories.json | Data for the scanner; refresh when older than 30 days |
security-stinger (core) - Stack-specific Ship Gate security pass for SvelteKit with Neon, WorkOS, Stripe, Vercel, Doppler; the generic security pass in Audit My Code runs it report-only beside this skill.react-security-stinger, nextjs-security-stinger, polyglot-security-stinger (this pack) - Framework-deep passes for other stacks in a monorepo.svelte-stinger in web-development-tools (confirm installed) - Svelte 5 and SvelteKit 2 language and runtime details when a finding's fix needs them.dependency-audit-stinger (core) - Lockfile and supply-chain work beyond framework advisories.security-stinger - Generic and stack-specific security pass; first gate of the Ship Gate in development work.svelte-stinger - Svelte 5 runes, SvelteKit 2 load functions, form actions, and remote functions.Designed and built by Legion Code Inc. Licensed under AGPL-3.0-or-later.
README.md (opens in a new tab)guides/00-scoping-and-version-check.md (opens in a new tab)guides/01-server-client-boundary-and-load-exposure.md (opens in a new tab)guides/02-actions-endpoints-remote-functions.md (opens in a new tab)guides/03-hooks-and-authorization-model.md (opens in a new tab)guides/04-xss-csp-and-cookies.md (opens in a new tab)guides/05-config-adapters-and-prerender.md (opens in a new tab)guides/06-writing-findings.md (opens in a new tab)references/REFERENCE.md (opens in a new tab)references/advisory-table.md (opens in a new tab)references/check-catalog.md (opens in a new tab)references/detection-patterns.md (opens in a new tab)references/research/distilled-sveltekit-security.md (opens in a new tab)references/severity-guide.md (opens in a new tab)scripts/advisories.json (opens in a new tab)scripts/sveltekit_audit_scan.py (opens in a new tab)scripts/test_symlinks.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin code-audit-tools13 skills in this plugin
/audit-my-code-stingerOrchestrates /audit-my-code. Five tiers (foundation, vibe, basic, full, mario) of codebase audits, dispatched to paired Drones and delivered as a Legion Code Inc. brief./code-audit-brief-stingerRender the Audit My Code brief, one self-contained Field Guide styled HTML file per run, from the workspace only. Escapes repo text, merges duplicates, prints cleanly to PDF./code-bloat-stingerRead-only bloat audit of any repo. jscpd duplication, knip or language dead-code tools with a spot-check, cloc size, function and closure structure, split plans, banded verdict./code-forensics-stingerReview software vendor engagements using contracts, invoices, messages and delivery records. Produce cited evidence drafts for human or counsel review. Read README.md for the guide map./code-foundation-stingerRead-only repo health audit: Wasp Nest setup, agent readiness, CI, tests, lint, lockfiles, secrets, governance. Writes contract-shaped foundation findings and measures. Never edits the repo./lovable-audit-stingerAudit Lovable-built Supabase apps: RLS denials, role-differential reads, function gating, auth posture, bundle-forensics key/endpoint extraction, findings triage, reporting.Other plugins' skills for the same job