Repository navigation
fix: close high and critical dependency vulnerabilities - #91
Merged
Merged
Conversation
AGrigorii
requested review from
annyrtd,
enkeess,
lexbeloff,
mstrifonov,
rade363 and
yetihead
as code owners
November 12, 2026 21:46
lexbeloff
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что сделано
Закрыты все high- и critical-уязвимости в зависимостях:
pnpm auditпоказывал 43 high / 6 critical, после изменений — 0 / 0 (остаются 15 moderate и 3 low, они вне рамок этого PR).Прямые зависимости
simple-git^3.36.0^4.0.2ft-lerna-changelog-generator(runtime)@simple-git/argv-parser), high GHSA-g4wm-2vf7-vfgr, GHSA-858h-whjf-mvg5storybook^8.6.18^8.6.19ft-storybook-brand-addon(dev)simple-git4 убрал default-экспорт, поэтому вpackages/lerna-changelog-generator/src/index.tsимпорт заменён на именованный (import { simpleGit } from 'simple-git'). Остальной используемый API (status,checkout,add().commit(),push().pushTags()) не изменился.Транзитивные — обновление в пределах уже объявленных диапазонов (только lockfile)
handlebars4.7.10 (critical),nx22.7.12,undici6.29.1 / 7.30.2,zod4.6.7,fast-uri3.1.9,js-yaml3.15.2 / 4.3.2,brace-expansion1.1.22 / 2.1.8 / 5.0.13,source-map-js1.2.2,vite8.2.6.Транзитивные — через
pnpm.overridesТам, где родитель пинит точную уязвимую версию:
axios:^1.19.0→^1.20.0(поднят существующий порог)brace-expansion@^5.0.0:^5.0.9→^5.0.11,js-yaml@^4.0.0:^4.3.1→^4.3.2(то же)lerna>pacote:^21.5.1— lerna 9.0.7 пинит21.0.1nx>follow-redirects:^1.16.2,nx>smol-toml:^1.7.1— nx 22.x пинит1.16.0и1.6.1vite:^8.2.4— нижний порог, чтобы уязвимая 8.2.0–8.2.3 не вернулась через peervitestМажорные апгрейды
lerna(10) иstorybook(9/10) сознательно не делались.На что обратить внимание
fix, чтобыft-lerna-changelog-generatorвышел новым релизом: уязвимыйsimple-git— его runtime-зависимость и приезжает потребителям. Заодно patch-релиз получитft-storybook-brand-addon(там поменялась только devDependency).ft-lerna-changelog-generatorиспользуется в релизном пайплайне этого же репозитория — первый релиз после мержа и будет его боевой проверкой сsimple-git4.Проверка
Локально на Node 24.22 / pnpm 10.33, те же шаги, что в CI:
pnpm install --frozen-lockfile— окpnpm run build:packages— окpnpm exec eslint packages/*/src— окpnpm run test:unit— 18 файлов, 242 теста, все зелёныеnpx @cloud-ru/ft-license-validator— все лицензии разрешеныsimple-git4:status()выполнен на реальном репозитории;commit/pushбоем не вызывались🤖 Generated with Claude Code