Command Palette

Search for a command to run...

Назад к скиллам
скилл № 16165

fix-node-vuln

Use when the user asks to fix, patch or upgrade a Node.js vulnerability (e.g. 'Please fix my Node vulnerability'), the October 21, 2026 Node.js security…

БесплатноБез исполняемых скриптов
CognitionAIот CognitionAI★ 42 звезды на GitHub

Установить fix-node-vuln в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Fix Node.js vulnerability (October 21, 2026 security release, incl. CVE-2026-111497)

Overview

Find and fix Node.js runtimes affected by the October 21, 2026 security release, which fixed 10 CVEs. Four are High, including the Brotli decoder out-of-bounds write RCE (CVE-2026-111497) and three TLS/DNS hostname issues (CVE-2026-105482, -105483, -106069). Fixed releases are 22.23.4, 24.22.1 and 26.12.1. Node 20 and older are end-of-life, get no fixes, and need a major upgrade. Inventory read-only first. Wait for approval before editing. Patch each approved repo, verify the built artifact, and open focused PRs.

What's Needed From User

  • Repos or org to scan. Default: every repo connected to Devin.
  • Approval of which discovered repos to patch, and whether EOL major upgrades are in scope.
  • Registry and CI access needed to verify targets and run builds.

Procedure

  1. Search all accessible repos read-only with the git host's code search before cloning (if there is none, which is common on GitHub Enterprise Server and self-managed GitLab, shallow-clone and rg -n --hidden --glob '!.git', since version files are dotfiles). Look for:
    • node: and other Node base images, including multi-stage builds.
    • .nvmrc, .node-version, .tool-versions, Volta config, and actions/setup-node/CI images.
    • NodeSource or OS nodejs packages.
    • Serverless runtime settings (Lambda nodejs22.x, Cloud Functions, Azure Functions).
    • Helm/Terraform/Ansible code that installs Node.
    • engines.node as a signal.
    • Code that the target major is known to break (e.g. import assertions assert {, native addons in binding.gyp/node-gyp, removed APIs), and the repo's test command, so the gate can show upgrade risk.
  2. Produce one inventory table: repo, file:line, signal, current version, channel, exact/floating/digest pin, production vs build/CI-only, internet exposure if discernible, test coverage (none, thin, suite), and confidence. List repos you could not search separately.
  3. Mark each entry fixed, vulnerable, EOL, or unknown. For distro packages and managed runtimes, check the vendor's package changelog or advisory instead of comparing upstream version strings.
  4. Stop. Show the table and ask which repos to patch. List likely app-code changes for major upgrades so the user can approve them up front. Change nothing during discovery.
  5. Start one child session per approved repo, at most five running at once. Each child rechecks the inventory for its repo before editing.
  6. In each child, pick the smallest fixed target per path and confirm it exists before editing. Check against the registry or package mirror the repo's CI already uses (Artifactory, Nexus, Harbor or a cloud registry) when public hosts are blocked; if neither is reachable, mark the target unverified in the PR and let the CI build prove it.
    • Exact image tag: bump to the fixed patch in the same major, keeping the variant (-alpine, -slim, -bookworm, etc.).
    • Digest pin: resolve and pin the new digest.
    • Floating tag within a supported major: leave the tag. Require a --pull --no-cache rebuild and redeploy, and record the new digest. For an approved major upgrade, keep the repo's pinning style (floating stays floating, exact stays exact).
    • Record the multi-arch index digest for every new image, including exact tags, since the OS layer still moves.
    • Version files: set the fixed patch, and keep every file that names the version consistent.
    • CI setup-node with a floating version (22, lts/*): add check-latest: true, or pin the fixed patch. Otherwise the runner's cached, older Node is used.
    • Managed serverless runtimes (e.g. Lambda nodejs22.x): providers don't publish the exact patch, so check the provider's public base image (e.g. public.ecr.aws/lambda/nodejs:22) or log process.version from the function. With Lambda's Auto runtime-update mode, AWS updates in place and a redeploy only speeds it up; with Function update or Manual mode, a redeploy or runtime-version change is required.
  7. Leave engines.node unchanged unless it would exclude the new version (e.g. 20.x on a 20 → 22 upgrade, which makes npm ci warn EBADENGINE). It doesn't install anything.
  8. Report Node 20 and older separately with an upgrade path to 22 or 24 LTS. Make a major upgrade only with user approval, then apply the major-upgrade checks in step 9.
  9. Test for regressions before and after the change:
    • Baseline: before editing, build the current image with --pull and record its digest (this is the rollback target). Inside it, run npm ci/pnpm install --frozen-lockfile/yarn install --immutable, the build script if any, and the tests. Record results so pre-existing failures aren't blamed on the upgrade.
    • After: repeat install, build and test inside the new production image, not on the host. If that image ships without tests or dev dependencies (multi-stage, --omit=dev), build the test/builder stage from
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл fix-node-vuln?

Use when the user asks to fix, patch or upgrade a Node.js vulnerability (e.g. 'Please fix my Node vulnerability'), the October 21, 2026 Node.js security release, CVE-2026-111497 (Brotli RCE), or end-of-life Node 20, across Docker images, .nvmrc/.tool-versions, setup-node CI, Lambda and IaC. Read-only inventory, approval gate, regression tests, focused PRs.

Как установить скилл fix-node-vuln?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fix-node-vuln запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fix-node-vuln с