Repository navigation
chore(root): remediate Dependabot vulnerabilities (#7327) - #7338
Conversation
Greptile SummaryThis PR remediates 24
Confidence Score: 4/5Safe to merge after correcting the lockfile name field; the dependency bumps and overrides are well-scoped to a utility package holder with no build or runtime execution at root. The lockfile's top-level package-lock.json — the Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[root package.json] --> B[Direct Dependencies]
A --> C[overrides block]
B --> D[expo-file-system 18.1.11]
B --> E[ioredis 5.10.1]
B --> F[dotenv-cli 8.x]
D --> G[Expo CLI tooling tree]
G --> H[xmldom - vulnerable]
G --> I[tar - vulnerable]
G --> J[postcss - vulnerable]
C -->|forces xmldom 0.9.8| H
C -->|forces tar 7.5.11| I
C -->|forces postcss 8.5.10| J
H --> K[npm audit - 0 findings]
I --> K
J --> K
Reviews (1): Last reviewed commit: "chore(root): remediate Dependabot vulner..." | Re-trigger Greptile |
| @@ -1,5 +1,5 @@ | |||
| { | |||
| "name": "omi", | |||
| "name": "rex+root-deps", | |||
There was a problem hiding this comment.
The lockfile
name field was changed from "omi" to "rex+root-deps", which appears to be an artifact of the lockfile being regenerated inside a Claude Code worktree (the worktree name leaked into the lockfile). This field should remain "omi" to match the original project identity; while it doesn't affect npm install resolution, it creates confusing metadata and will show up as an unexpected diff for any future lockfile audits.
| "name": "rex+root-deps", | |
| "name": "omi", |
npm audit 24 → 0 (was 1 critical / 18 high / 3 moderate / 2 low).
- non-breaking `npm audit fix` (2 passes): in-range transitive bumps
(expo-file-system 18.0.12→18.1.11, ioredis 5.6.1→5.10.1, both ^range)
- overrides for the 13 residuals (all npm-reported non-breaking, buried
under expo-file-system's expo-CLI tooling tree which root never runs):
@xmldom/xmldom ^0.9.8, tar ^7.5.11, postcss ^8.5.10
This cascade-cleared the @expo/* parent advisories (they were flagged
only for bundling the vulnerable xmldom/tar).
Validated: npm install resolves clean; direct deps intact within semver
range; audit 0. No build/test scripts on root (utility dep holder).
UNMET OPTIONAL deps shown by `npm ls` are expo-app peers, unmet by
design (root is not an Expo app) and pre-existing.
|
Addressed the P1: |
Part of #7327 (web Tier 1, service-by-service).
Result
npm audit: 24 → 0 (was 1 critical / 18 high / 3 moderate / 2 low).Changes (root package.json + package-lock.json only)
npm audit fix(2 passes): in-range bumps (expo-file-system 18.0.12→18.1.11, ioredis 5.6.1→5.10.1 — both^range)overridesfor the 13 residuals (all npm-reported non-breaking; buried under expo-file-system's expo-CLI tooling tree, which root never executes):@xmldom/xmldom ^0.9.8,tar ^7.5.11,postcss ^8.5.10. This cascade-cleared the@expo/*parent advisories (flagged only for bundling vulnerable xmldom/tar).Validation
Root has no build/test scripts (utility dep-holder: ioredis / expo-file-system / dotenv-cli). Verified via clean
npm cifrom committed lockfile: tree resolves, direct deps intact within semver range,npm audit→ 0.npm lsUNMET-OPTIONAL entries are expo-app peers, unmet by design (root is not an Expo app) and pre-existing onmain.🤖 Generated with Claude Code