شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 16

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها legioncodeinc على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Sveltekit Security Stinger في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/code-audit-tools/skills/sveltekit-security-stinger
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق 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 مجانية؟

نعم. نشرها legioncodeinc على GitHub بموجب ترخيص AGPL-3.0-or-later. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇