[Chore] Resolve 10 Dependabot alerts via npm overrides - #2
[Chore] Resolve 10 Dependabot alerts via npm overrides#2roomote-conceal-network[bot] wants to merge 1 commit into
Conversation
|
1 issue outstanding. See task Review summaryThe override block and refreshed lockfile resolve all 10 target Dependabot alerts as described — verified that One follow-up: regenerating the lockfile bumped
Reviewed f7491a6 |
|
check Pr #3 |
What changed
Expanded the npm
overridesblock inpackage.jsonand refreshedpackage-lock.jsonto pin six transitive dependency packages at patched versions, clearing all 10 open Dependabot alerts in this repository.All vulnerable packages are transitive (pulled in by
react-native,nitrogen,clang-format, and their sub-dependencies), so no direct dependency versions changed. The override structure uses parent-scoped nesting forpicomatchbecause two vulnerable majors (2.x under jest/react-native and 4.x under nitrogen/ts-morph) coexist in the tree and cannot be collapsed to a single version without breaking one consumer's API contract.Why this change was made
These 10 alerts (1 critical, 5 high, 3 medium, 1 low) were the highest-priority uncovered bundle in the ConcealNetwork environment. They are all ReDoS / DoS / file-read class vulnerabilities in build-time and test-time tooling dependencies. A single cohesive override-based remediation resolves the entire bundle rather than opening one PR per alert.
Impact
No user-facing or runtime change — this is a React Native native C++ crypto library and none of these packages ship in the published artifact (they are dev/build/test transitive deps).
npm auditconfirms none of the 10 target packages remain. The remainingnpm auditoutput (6 high vulns inimage-size/metroviareact-native) is a separate advisory chain outside this bundle that would require a react-native major upgrade.The
npm run lintandnpm run checkgates pass.npm testandnpm run cppfail onmainas well — jest is not a devDependency and the C++ files are not clang-formatted; both are pre-existing and unrelated to these dependency changes.