Patch dependency vulnerabilities across all manifests#173
Merged
Conversation
Runs npm audit fix to bump transitive deps (vite, h3, koa, dompurify, lodash, picomatch, axios, etc.) within their semver ranges. Bumps nodemailer from ^7.0.13 to ^8.0.7 — the codebase only uses the stable createTransport/sendMail surface, which is unchanged in v8. Adds a minimatch override to force ^9.0.7, eliminating the last remaining ReDoS advisories that propagate through @typescript-eslint via @nuxt/eslint-config. Drops nuxt-app vulnerability count from 36 to 0. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds package.json overrides to force patched versions of deps that Directus core pulls in but doesn't yet ship updated: - AWS SDK packages bumped to latest (eliminates fast-xml-parser critical CVE pulled in via the older S3 driver) - fast-xml-parser, tar, uuid forced to patched versions to address high-severity CVEs (path traversal, ReDoS, missing buffer bounds) - cacache, make-fetch-happen, node-gyp, http-proxy-agent, retry-request, teeny-request, @tootallnate/once bumped to patched versions Drops directus-cms vulnerability count from 55 to 22. Remaining 22 are bundled deep inside Directus core (axios, express, path-to-regexp, body-parser, qs, etc.) and require upstream Directus releases — they cannot be safely overridden without risking Directus runtime breakage. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Bumps the direct axios devDep from ^1.7.2 to ^1.16.0 (covers prototype pollution and CRLF injection advisories) and adds a "$axios" override so the nested copy pulled in via @directus/composables resolves to the same patched version. Regenerating the lockfile picks up patched transitive deps for handlebars, minimatch, picomatch, brace-expansion, flatted, js-yaml, and ajv. Drops the bundle's vulnerability count from 14 to 4. Remaining 4 are in @directus/themes / @unhead/vue, which are dragged in by the extensions-sdk and need an upstream Directus release to fix. Tests (40 passing) and bundle build verified. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 823ac6f7b0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Adds an "axios": "^1.16.0" override so the nested copy that @directus/update-check pins (axios@1.13.5) is replaced with the patched 1.16.0 instead of just the root install. Without this, the GHSA-fvcv-3m26-pcqx prototype-pollution gadget remains loadable from the nested install whenever the update check runs in production. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 6, 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.
Summary
npm audit fixfor transitive deps,nodemailerbumped 7 → 8 (only stablecreateTransport/sendMailare used), and aminimatch ^9.0.7override clears the last @typescript-eslint advisories.fast-xml-parseradvisory),tar,uuid, and several deep transitives. Remaining 22 are bundled inside Directus core (axios, express, path-to-regexp, body-parser, qs…) and need an upstream Directus release to fix safely.axiosbumped to^1.16.0plus a"$axios"override to dedupe the nested copy in@directus/composables. Remaining 4 are in@directus/themes/@unhead/vuedragged in byextensions-sdkand need upstream.Test plan
npm test— extension bundle: 40/40 passnpm run build— extension bundle builds cleanly with the new lockfileserver/utils/sendEmail.ts) for the nodemailer 7→8 bump🤖 Generated with Claude Code