Логотип Sveltekit Security Stinger

Sveltekit Security Stinger

Організація
legioncodeinc
sveltekit-security-stinger

Evidence-backed, read-only security audit of Svelte 4/5 and SvelteKit 2 apps, any stack. Versions vs advisories, load leaks, actions, remote functions, hooks, XSS, CSRF, adapters.

Огляд

Видавецьlegioncodeinc
Репозиторійvibe-coding-tools
Назва навичкиsveltekit-security-stinger
Зірки
94
Форки
44
Файли в пакеті
16
ЛіцензіяAGPL-3.0-or-later
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 16

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем legioncodeinc. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Sveltekit Security Stinger у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

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/sveltekit-security-stinger
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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/sveltekit-security-stinger .claude/skills/sveltekit-security-stinger
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Sveltekit Security Stinger в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Sveltekit Security Stinger, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Sveltekit Security Stinger не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

SvelteKit 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 (Glob for **/sveltekit-security-stinger/SKILL.md) and use it as the skill directory in every command.

Purpose

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.

When to use

  • The Audit My Code orchestrator dispatches sveltekit-security-wasp-drone because intake.json.stacks lists svelte or sveltekit
  • "Security audit this SvelteKit app", "are my form actions protected", "do my remote functions check auth", "is my load function leaking data"
  • "Which SvelteKit or Svelte advisories affect us", "is our devalue version safe"
  • Reviewing a Svelte + Vite SPA for secrets in the bundle and XSS sinks

When not to use

  • The repository's own stack-specific gate (SvelteKit with Neon, WorkOS, Stripe, Vercel, Doppler, GoHighLevel) before a commit: security-stinger, which also remediates
  • Secrets in git history, generic dependency triage, webhook signature checks, database row-level security: security-wasp-drone generic pass (security-stinger, armed report-only)
  • React or Next.js code: react-security-stinger or nextjs-security-stinger; back ends in other languages: polyglot-security-stinger
  • Fixing the findings: this skill is report-only; remediation planning belongs to the mario tier
  • A live, external scan of a deployed site with no source: web-security-posture-stinger

Procedure

  1. Read the run contract (audit-my-code-stinger/references/audit-contract.md) and intake.json. Your scope is the stack paths for svelte and sveltekit.
  2. Follow guides/00-scoping-and-version-check.md: classify each path, check advisory freshness, run scripts/sveltekit_audit_scan.py, review its version findings, and build the reading list.
  3. Follow guides/01-server-client-boundary-and-load-exposure.md: public env names, universal loads, server load returns, remote queries, shared state.
  4. Follow guides/02-actions-endpoints-remote-functions.md: build the endpoint table and check authorization, object ownership, validation, and CSRF for every surface.
  5. Follow guides/03-hooks-and-authorization-model.md: write the auth model, check identity, handle coverage (including remote functions), layout-only and client-only guards, server fetch, errors, redirects.
  6. Follow guides/04-xss-csp-and-cookies.md: every HTML sink, markdown pipeline, template-pattern advisory input, CSP, cookies, token storage.
  7. Follow guides/05-config-adapters-and-prerender.md: adapter and host, prerender, adapter-node headers, Vercel ISR, platform env, service worker.
  8. Follow guides/06-writing-findings.md: write 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.

References map

PathLoad when
references/REFERENCE.mdStart of every run: file map, scanner interface and outputs, finding example
references/check-catalog.mdGuides 01 to 05: each check's detection, confirmation, severity, code pair, refs
references/detection-patterns.mdBefore each guide's manual read: tested ripgrep commands
references/advisory-table.mdGuide 00, and explaining a version finding
references/severity-guide.mdAssigning severity and confidence; guide 06
references/research/distilled-sveltekit-security.mdVerifying 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.pyOnce per run in guide 00
scripts/advisories.jsonData for the scanner; refresh when older than 30 days

Related drones and stingers

  • sveltekit-security-wasp-drone - The paired agent in this pack; the orchestrator dispatches it with this skill.
  • audit-my-code-stinger - The run orchestrator and the contract this skill writes against.
  • 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.

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:
    • audit-my-code-stinger - Audit My Code orchestrator, tiers, routing, and the shared output contract.
    • 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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Sveltekit Security Stinger?

Evidence-backed, read-only security audit of Svelte 4/5 and SvelteKit 2 apps, any stack. Versions vs advisories, load leaks, actions, remote functions, hooks, XSS, CSRF, adapters.

Навіщо використовувати Sveltekit Security Stinger у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Sveltekit Security Stinger — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Sveltekit Security Stinger у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/code-audit-tools/skills/sveltekit-security-stinger. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Sveltekit Security Stinger?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Sveltekit Security Stinger?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Sveltekit Security Stinger — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Sveltekit Security Stinger?

Так. Навичку опубліковано на GitHub: legioncodeinc, за ліцензією AGPL-3.0-or-later. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇