Skip to content

fix(evals): update proxy-agent so the eval lockfile takes basic-ftp 6.2.6 - #1706

Merged
max-sixty merged 1 commit into
mainfrom
fix/evals-basic-ftp
Nov 18, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/evals-basic-ftp

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

This PR clears the three open basic-ftp security alerts in the eval tree (Dependabot alerts 50, 111 and 112; the highest patched version among them is 6.2.4). The blocker #1520 tracked is gone upstream: get-uri 8.0.2 widened its basic-ftp range from ^5.3.1 to ^6.2.4, and proxy-agent 8.0.3 reaches it through pac-proxy-agent 9.1.1. [email protected] already accepts proxy-agent@^8.0.0, so npm update proxy-agent moves basic-ftp from 5.3.1 to 6.2.6 without an override and without touching package.json.

The lockfile change stays inside that one dependency chain: proxy-agent 8.0.3, pac-proxy-agent 9.1.1, get-uri 8.0.2, pac-resolver 9.0.2, degenerator 7.0.2, basic-ftp 6.2.6, and quickjs-wasi 2.2.0 → 3.7.0. The quickjs-wasi major comes from the new pac-resolver/degenerator releases, which require ^3.0.0.

Verified locally:

  • npm --prefix evals test passes 7 of 7, and npx promptfoo --version still starts and reports 0.124.1.
  • A smoke script loaded proxy-agent and basic-ftp, fetched a data: URI through get-uri, and evaluated a PAC script through pac-proxy-agent (the path that runs on quickjs-wasi 3), which returned DIRECT.
  • npm audit no longer lists basic-ftp or get-uri. The only remaining findings are glob/minimatch, which fix: override vulnerable eval glob and minimatch versions #1635 covers.

There is no regression test because this is a lockfile-only change; the Dependabot alerts closing after merge confirm it. This PR and #1635 both edit evals/package-lock.json, but they change different entries and test-merge cleanly.

Fixes #1520

….2.6

get-uri 8.0.2 widened its basic-ftp range to ^6.2.4, and proxy-agent 8.0.3
pulls it in through pac-proxy-agent 9.1.1. Refreshing proxy-agent within
promptfoo's ^8.0.0 range moves basic-ftp from 5.3.1 to 6.2.6, which clears
Dependabot alerts 50, 111 and 112.

Fixes #1520
@max-sixty
max-sixty merged commit 26800e9 into main Nov 18, 2026
12 checks passed
@max-sixty
max-sixty deleted the fix/evals-basic-ftp branch November 18, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Track blocked basic-ftp and node-forge security fixes in evals

2 participants