fix: remediate undici dependency vulnerabilities in tests workspace - #165
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
fix: remediate undici dependency vulnerabilities in tests workspace#165devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Skill eval results
Only suites whose source actually changed since their last recorded score were re-run. Soft-failing while we stabilise the baseline. |
osm6495
approved these changes
Aug 31, 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
tests/workspace by pinning the direct parent,@ai-sdk/provider-utils, to4.0.46(patch bump within the same major), which switched itsundicidependency from^5.29.0to^6.28.0.undicioverride (the previously rejected approach).esbuild) and out of policy scope; Dependabot PRs already cover them.Testing
python3 scripts/validate_skills.py,python3 -m unittest discover -s tests,python3 scripts/generate_catalog.py --check, and(cd evals && npm test)all pass.tests/install done withnpm install --legacy-peer-deps(Node 24, npm 11), matching CI.Notes
Require additional human oversight on bot PRscheck isaction_requiredby design on bot PRs — a human gate, not a failure.Findings addressed
@ai-sdk/provider-utils4.0.45 → 4.0.46)tests/package.jsonThe nested
undiciis transitive throughpromptfoo→ai/@ai-sdk/gateway→@ai-sdk/provider-utils. Forcingundici@6directly would be a major bump via an override, which is out of scope for this automation; bumping the parent achieves the same result within a patch bump.4.0.46is the oldest release that carries the fixed range (published 2026-08-14), pinned exactly rather than^to avoid pulling a release published in the last few days.Deferred / not actionable
esbuild0.28.0 → 0.28.1 intests/andevals/(GHSA-g7r4-m6w7-qqqr): Low severity → ignored per policy; Dependabot PRs chore(deps): bump esbuild and tsx in /tests #77 / chore(deps-dev): bump esbuild from 0.28.0 to 0.28.2 in /evals #78 cover it.@hono/node-server1.19.14 → 2.1.1 (Dependabot chore(deps): bump @hono/node-server from 1.19.14 to 2.1.1 in /evals #162): major bump, out of scope.@opentelemetry/core< 2.8.0 (surfaced only bynpm audit, not by Dependabot/Wiz): fix requires a major (1.x → 2.x).undicioverride approach from PR fix(deps): bump undici in tests/ and @hono/node-server in evals/ #163 was closed unmerged by a human (osm6495, 2026-08-24) because it forced a major; not recreated.Link to Devin session: https://app.devin.ai/sessions/c9b967b43301447e8db5952938bb311f
Open in Devin Desktop: https://app.devin.ai/desktop/session/c9b967b43301447e8db5952938bb311f?variant=devin
Note
Overview
Addresses moderate
undicisecurity advisories in the dev-onlytests/workspace without touching application source.Adds an npm
overridesentry pinning@ai-sdk/provider-utils@4to4.0.46(patch within v4). That release pullsundici^6.28.0 instead of 5.29.0 on thepromptfoo→ai/@ai-sdk/gatewaypath. The lockfile is regenerated so nested copies under@ai-sdk/gatewayandaiuse 4.0.46 andundici6.28.0, and the old hoisted@ai-sdk/provider-utils4.0.45 /@fastify/busboy(from undici 5) drop out.This avoids a direct
undicimajor override; only manifest + lockfile change.Reviewed by Cursor Bugbot for commit 6a971c9. Bugbot is set up for automated code reviews on this repo. Configure here.