Skip to content

fix(deps): override basic-ftp to ^6.2.4 past the get-uri ^5 pin (SYN-1429) - #1129

Draft
CleanExpo wants to merge 1 commit into
mainfrom
fix/syn-1429-basic-ftp-override
Draft

CleanExpo wants to merge 1 commit into
mainfrom
fix/syn-1429-basic-ftp-override

Conversation

@CleanExpo

Copy link
Copy Markdown
Owner

What this fixes (SYN-1429)

Dependabot could not upgrade the vulnerable basic-ftp 5.3.1. apify-client and puppeteer both reach it through proxy-agent and pac-proxy-agent, which pull in get-uri 6.0.5, and get-uri 6.0.5 requires basic-ftp ^5. An npm override in package.json now resolves the single copy to 6.2.6. The first fixed release is 6.2.4.

Client metric: none. This is internal plumbing (dependency security).

Change

  • package.json: overrides gains "basic-ftp": "^6.2.4".
  • package-lock.json: node_modules/basic-ftp moves from 5.3.1 to 6.2.6.

This is local commit 1e214df82 (branch claude/syn-1429-basic-ftp-c2e8e6) carried onto a fresh branch from origin/main bb8de6843. That commit's parent was already this main commit, so its content is unchanged.

Evidence

Head: 254b7564b2da1b4e491a13778e37b0b67377c7f8. Base: bb8de6843 (origin/main).

  • npm ls basic-ftp --all:
    • On main it shows basic-ftp@5.3.1 under get-uri. This is the red control.
    • At this head it shows basic-ftp@6.2.6, one copy, and every lockfile entry is 6.2.6.
  • npm audit --json has no basic-ftp entry at this head. The 25 other advisories are already on main and this PR does not touch them.
  • Local checks at this head:
    • npm ci from the lockfile: exit 0.
    • npm run type-check: exit 0.
    • npm run lint: exit 0.
    • npm test (clean environment, Node 22): 1001 suites passed, 5 skipped; 11315 tests passed, 136 skipped, 21 todo.
  • No source file imports basic-ftp, get-uri or proxy-agent directly. The only code that uses basic-ftp is the ftp handler in get-uri, inside apify-client and puppeteer.
  • The Done contract (5 criteria) verified PASS at this head.
  • Release receipt: PR_RELEASE_GATE_PASS head=254b7564b reviewer=codex.
  • GitHub ran these checks on this exact head when it was pushed to fix/syn-1429-basic-ftp-override, and all passed: Build, Lint, Unit Tests, Type Check, Auth Coverage Ratchet, Pipeline Smoke Tests. The Protected paths check runs only on pull requests, so it starts when this PR opens.

Review

Tier 2 (dependency bump), one independent review round.

  • Reviewer: Codex on the ChatGPT Pro login (independent_review.py --lane codex), at 254b7564b.
  • Verdict: PASS, with no blocking findings and no P2 findings.
  • Mutation-control passed.
  • The reviewer marked guard-falsification and clean-environment-suite as N/A and pointed to the suite counts above.

Linear: SYN-1429.

🤖 Generated with Claude Code

…1429)

get-uri 6.0.5 (via apify-client > proxy-agent > pac-proxy-agent) pins
basic-ftp ^5, so Dependabot cannot lift the vulnerable 5.3.1. An npm
override resolves the single copy to 6.2.6. basic-ftp 6 is still
CommonJS; a real ftp:// download through get-uri was checked locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
synthex Ready Ready Preview Nov 23, 2026 11:47am UTC
1 Skipped Deployment
Project Deployment Actions Updated
synthex-sandbox Ignored Ignored Preview Nov 23, 2026 11:47am UTC

Request Review

@supabase

supabase Bot commented Nov 23, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project znyjoyjsvjotlzjppzal because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch was successfully deployed

1 active deployment
Preview – synthex — 254b7564 Deployed Nov 23, 2026 by vercel[bot]
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.

1 participant