Логотип Nextjs Security Stinger

Nextjs Security Stinger

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

Deep Next.js security audit (13 to 16, App and Pages Router). Version advisories, proxy and middleware auth, Server Actions, Route Handlers, data exposure, caching, config. Read-only.

Огляд

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Next.js 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 **/nextjs-security-stinger/SKILL.md) and use it as the skill directory in every command.

Purpose

Run the Next.js-specific part of the security dimension of an /audit-my-code run. It finds the installed next version in every app of the repo and matches it against a normalized table of 61 GitHub Security Advisories (2024 to 2026-09-30, including CVE-2025-29927 and the React2Shell RSC remote code execution CVE-2025-55182), then reviews the places Next.js apps actually break: authorization that lives only in middleware or proxy.ts, Server Actions and Route Handlers that are public endpoints without auth or ownership checks, private data passed to Client Components or baked into static and cached output, NEXT_PUBLIC_ secrets, broad images.remotePatterns, dynamic-host rewrites, CSP and header gaps, and auth-library misuse (Auth.js, Clerk, Supabase SSR). It writes contract-shaped SEC-NEXT-NNN findings, metrics, and notes to the run workspace and never changes the audited repository.

When to use

  • The orchestrator routes a basic, full, or mario tier run with nextjs in intake.json.stacks.
  • "Security audit this Next.js app", "are my Server Actions safe", "is our middleware auth enough", "is our Next.js version vulnerable", "check us for CVE-2025-29927 or React2Shell".
  • A vibe-coded Next.js app (v0, Cursor, Claude Code, Lovable, Bolt) needs a deep framework pass before launch.

When not to use

  • Generic OWASP review, non-next dependency CVEs, SQL injection in plain helpers, secrets scanning of the whole repo: security-stinger through security-wasp-drone (the generic pass runs alongside this one).
  • React client-side patterns (XSS through dangerouslySetInnerHTML, unsafe URLs in href, client storage of tokens): the react-security pair.
  • SvelteKit or non-JavaScript backends: sveltekit-security and polyglot-security pairs.
  • Fixing the code. This skill is research-only; remediation planning belongs to the mario tier's remediation Drone.
  • Testing a live site from the outside: web-security-posture-stinger.

Procedure

  1. Read guides/00-scoping.md and run scripts/next_audit_scan.py against the repo with output into <workspace>/02-security/raw/. Record versions, router type, deployment target, auth library, and data access pattern in notes-nextjs-security-wasp-drone.md.
  2. Follow guides/01-version-and-advisory-check.md: confirm lockfile versions, settle advisory preconditions, rewrite or drop scanner findings, append them to findings-nextjs-security-wasp-drone.jsonl.
  3. Follow guides/02-proxy-middleware-and-auth-boundaries.md: build the boundary map, test middleware-only auth, matcher gaps, unverified sessions, and the auth library checks.
  4. Follow guides/03-server-actions-and-route-handlers.md: read every action and handler for authentication, ownership, input trust, return values, CSRF, CORS, and SSRF.
  5. Follow guides/04-data-exposure-and-caching.md: secrets and NEXT_PUBLIC_, props to Client Components, server-only, source maps, taint, use cache, unstable_cache, static and ISR output.
  6. Follow guides/05-config-and-headers.md: images, rewrites and redirects, headers, CSP, build switches, next/og.
  7. At the end of steps 3 to 6, sweep references/ai-failure-patterns.md and confirm hits through their owning checks.
  8. Follow guides/06-writing-findings.md: write and validate findings, metrics measures, and notes. Report the counts and the verdict input to the orchestrator.

References map

PathLoad when
guides/00-scoping.md to guides/06-writing-findings.mdIn order, for every run
references/REFERENCE.mdIndex of all references and the script's inputs, outputs, and limits
references/advisory-table.mdAny version or advisory question
references/next-advisories.jsonRead by the scanner; edit only when refreshing research
references/checks-proxy-and-auth-boundaries.mdGuide 02
references/checks-server-actions-and-route-handlers.mdGuide 03
references/checks-data-exposure-and-caching.mdGuide 04
references/checks-config-and-headers.mdGuide 05
references/ai-failure-patterns.mdEnd of guides 02 to 05
references/finding-templates.mdGuide 06
references/research/distilled-nextjs-security.mdVerifying a 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/next_audit_scan.pyRun once in guide 00; rerun after refreshing the advisory table

Related drones and stingers

  • nextjs-security-wasp-drone - The paired agent. The orchestrator dispatches it for every app with the nextjs stack.
  • audit-my-code-stinger - Owns the run contract this skill writes against (references/audit-contract.md).
  • security-stinger - Generic security pass that runs next to this one; overlapping findings are merged by the brief renderer.
  • react-security pair - Client component patterns in the same app.
  • web-security-posture-stinger - Passive outside-in checks of a deployed site, if the user wants headers confirmed live.

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:
    • security-stinger (core Wasp Nest, when installed) - Generic security audit pass that runs alongside this one in the security dimension.
    • web-security-posture-stinger - Passive external posture checks of a deployed site.

Designed and built by Legion Code Inc. Licensed under AGPL-3.0-or-later.

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

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

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

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

Deep Next.js security audit (13 to 16, App and Pages Router). Version advisories, proxy and middleware auth, Server Actions, Route Handlers, data exposure, caching, config. Read-only.

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

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

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

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

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

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

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

Зі скількома забажаєте. У TypingMind ви можете використовувати Nextjs Security Stinger із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

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

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

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

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

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

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

Усі
Логотип langgenius

Backend Code Review

langgenius
ОрганізаціяПопулярне

Use only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do not use for implementation-only requests,…

24.9K
157.6K
Файлів: 4
Відкрити
Логотип langgenius

Frontend Code Review

langgenius
ОрганізаціяПопулярне

Use only when the user explicitly requests a review or audit of frontend code under `web/` or `packages/dify-ui/`. Supports pending-change, file-focused, and pasted-diff reviews. Do not use for…

24.9K
157.6K
Файлів: 8
Відкрити
Логотип anthropics

Command Development

anthropics
ОрганізаціяПопулярне

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create…

23.8K
146.3K
Файлів: 9
Відкрити
Логотип openclaw

Discord E2e

openclaw
ОрганізаціяПопулярне

Тестуйте Discord за допомогою QA-ботів, орендованих через Convex: перевіряйте облікові дані без Gateway, тестуйте власні повідомлення або підтверджуйте відповіді OpenClaw, роботу з файлами, гілками обговорень, реакціями, потоковою передачею та індикатором набору тексту. Розрізняйте дані, отримані через API та…

82.2K
391K
Файлів: 4
Відкрити

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

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