Skip to content

fix(deps): patch the sharp and js-yaml advisories - #9

Merged
AminDhouib merged 1 commit into
mainfrom
ci/track5/next-advisory
Sep 11, 2026
Merged

AminDhouib merged 1 commit into
mainfrom
ci/track5/next-advisory

Conversation

@AminDhouib

Copy link
Copy Markdown
Member

Why

Advisories published after this fleet's last green dependency audit. This repo
was resolving sharp 0.35.2 and three copies of js-yaml — 3.14.2, 4.1.1 and 4.2.0.

GHSA severity package what it is
GHSA-rgj7-g3m4-5g8c high sharp <0.35.4, patched 0.35.4
GHSA-2883-w6h3-9f4x high js-yaml patched 4.3.2 on the 4 line, 3.15.2 on the 3 line

Neither next advisory needs authentication.

What changed

packages/core/package.json, packages/webdriverio/package.json and pnpm-workspace.yaml, plus the lockfile. No workflow file is touched.

file what before after
packages/core/package.json sharp ^0.35.2 ^0.35.4
packages/webdriverio/package.json sharp ^0.35.2 ^0.35.4
pnpm-workspace.yaml overrides 9 existing entries plus sharp@<0.35.4, js-yaml@3 and js-yaml@4
  • The overrides go in pnpm-workspace.yaml, not package.json. This repo is on pnpm 11, which moved overrides out of the manifest, and it already keeps nine of them there. The three new entries were inserted into that existing block in its own style and rough alphabetical order; the nine existing entries are untouched.
  • js-yaml needed two separate version-scoped entries, because this tree carries both a 3.x and a 4.x copy. js-yaml@3 goes to 3.15.2 and js-yaml@4 to 4.3.2, so each consumer stays inside its own major. A single blanket js-yaml override would have dragged the 3.x consumer onto 4.x, which removed safeLoad/safeDump.
  • minimumReleaseAge: 1440 is respected. This workspace refuses packages published in the last 24 hours; every target version here is well past that.
  • Checked for the one way a sharp patch bump can break a build. sharp 0.35 moved its TypeScript types: 0.33 shipped declare namespace sharp with export = sharp, while 0.35 ships export interface from an .mts entry point, so any code writing sharp.ResizeOptions stops compiling. That exact failure hit another repo earlier in this sweep. This repo contains no sharp.<Type> namespace usage, checked across every .ts/.tsx file, so it is not exposed.
  • Nothing unrelated moved. The resolved name@version pair count is identical before and after at 1765, the only differences are sharp's platform binaries, and exactly one declared specifier changed.

pnpm audit production audit, before / after

Baseline captured on the unmodified tree at 4f12233b.

critical high moderate low total
before 2 40 18 4 64
after 2 33 16 4 55

Watched packages flagged before: js-yaml, sharp.
Watched packages flagged after: none.

The two criticals that remain belong to unrelated advisories in the test and driver toolchain.

Verified locally

check result
pnpm install --lockfile-only (pnpm 11.8.0 via corepack, the repo's own packageManager) clean
resolved versions read back from pnpm-lock.yaml sharp 0.35.4, js-yaml 3.15.2 and 4.3.2
resolved pair count, before to after 1765 to 1765
declared specifiers changed exactly 1 (sharp)
CR bytes in every changed file 0, counted byte-level
git ls-files --eol i/lf w/lf

The build and tests were not run locally and are not claimed to pass. This is a multi-package SDK monorepo with browser-driver packages; the repo's ci.yml, pr.yml, publish-sdk.yml and release.yml are the gate.

One thing deliberately left alone, flagged rather than skipped silently. examples/nextjs/package.json declares next 14.1.4, which is affected by both critical advisories in this sweep. It is a private: true example that sits outside the pnpm workspace (packages/*), so it has no entry in the lockfile and is not installed by CI. It is untouched here because Next 14 has no patched release at all — the first patched version is 15.5.24, a major upgrade and an app migration rather than a dependency bump.

Merge policy for this repo

This repository is not Dokploy source-bound. The classifier reads every column of both applications.csv and composes.csv and finds no unit binding a git source to it, so no push here can redeploy anything. It does have CI, so this PR is being squash-merged once its checks are green, not before.

Raise sharp ^0.35.2 -> ^0.35.4.

- GHSA-rgj7-g3m4-5g8c (high) - sharp, patched in 0.35.4
- GHSA-2883-w6h3-9f4x (high) - js-yaml

Resolved versions were read back out of the lockfile rather than assumed,
and the set of resolved name@version pairs was compared against HEAD to
confirm nothing unrelated moved. No source file uses the sharp.<Type>
namespace form, which is the one way a sharp 0.33/0.34 -> 0.35 move can
break a TypeScript build.

Only the manifest(s) and lockfile(s) are touched. No workflow file is
modified.
@snapvisor-argosci

snapvisor-argosci Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Snapvisor notifications ↗︎

Build Status Details Updated (UTC)
argos-cli-e2e-node-22-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:24 PM
argos-cli-e2e-node-22-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-cli-e2e-node-22-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:25 PM
argos-cli-e2e-node-24-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:26 PM
argos-cli-e2e-node-24-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:24 PM
argos-cli-e2e-node-24-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:26 PM
argos-cli-e2e-node-26-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:29 PM
argos-cli-e2e-node-26-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:28 PM
argos-cli-e2e-node-26-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:29 PM
argos-cli-e2e-oidc-node-current-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-cli-e2e-skipped-node-22-macos-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:24 PM
argos-cli-e2e-skipped-node-22-ubuntu-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:23 PM
argos-cli-e2e-skipped-node-22-windows-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:25 PM
argos-cli-e2e-skipped-node-24-macos-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:26 PM
argos-cli-e2e-skipped-node-24-ubuntu-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:24 PM
argos-cli-e2e-skipped-node-24-windows-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:26 PM
argos-cli-e2e-skipped-node-26-macos-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:29 PM
argos-cli-e2e-skipped-node-26-ubuntu-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:28 PM
argos-cli-e2e-skipped-node-26-windows-latest (Inspect) ⚪️ Skipped build - Sep 11, 2026, 8:29 PM
argos-core-e2e-cjs-node-22-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-core-e2e-cjs-node-22-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:22 PM
argos-core-e2e-cjs-node-22-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:25 PM
argos-core-e2e-cjs-node-24-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:26 PM
argos-core-e2e-cjs-node-24-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-core-e2e-cjs-node-24-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:26 PM
argos-core-e2e-cjs-node-26-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:29 PM
argos-core-e2e-cjs-node-26-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:28 PM
argos-core-e2e-cjs-node-26-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:29 PM
argos-core-e2e-mjs-node-22-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-core-e2e-mjs-node-22-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:22 PM
argos-core-e2e-mjs-node-22-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:25 PM
argos-core-e2e-mjs-node-24-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:26 PM
argos-core-e2e-mjs-node-24-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-core-e2e-mjs-node-24-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:26 PM
argos-core-e2e-mjs-node-26-macos-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:29 PM
argos-core-e2e-mjs-node-26-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:28 PM
argos-core-e2e-mjs-node-26-windows-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:29 PM
argos-cypress-e2e-node-lts/*-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-playwright-e2e-node-lts/*-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-puppeteer-e2e-node-lts/*-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-storybook-test-runner-e2e-node-lts/*-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:24 PM
argos-storybook-vitest-e2e-node-lts/*-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:24 PM
argos-vitest-e2e-node-lts/*-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM
argos-webdriverio-e2e-node-lts/*-ubuntu-latest (Inspect) ✅ No changes detected - Sep 11, 2026, 8:23 PM

@AminDhouib
AminDhouib merged commit 0048179 into main Sep 11, 2026
69 checks passed
@AminDhouib
AminDhouib deleted the ci/track5/next-advisory branch September 11, 2026 20:29
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