Skip to content

fix(deps): clear the Snyk findings that block every v2-dev commit - #325

Merged
chhavi-mandowara-cstk merged 1 commit into
v2-devfrom
CL-snyk-fixes/04-Dec-2026
Dec 4, 2026
Merged

chhavi-mandowara-cstk merged 1 commit into
v2-devfrom
CL-snyk-fixes/04-Dec-2026

Conversation

@chhavi-mandowara-cstk

Copy link
Copy Markdown
Contributor

Why

The pre-commit hook ends with snyk test --all-projects --fail-on=all, which fails whenever any dependency vulnerability has an upgrade that fixes it. Snyk published new advisories on 1 Dec against packages already on v2-dev, so no commit on v2-dev passes its hooks. That covers any branch cut from it (CL-8970 gap 6, and the CL-8991/CL-8936 work). This is the same situation #281 fixed on 4 Nov.

What

Finding Package (via) Change
SNYK-JS-MINIMATCH-23184402 / -23184405 / -23184407 (2 High, 1 Medium) minimatch@11.0.4 via @oclif/core The existing override that gives @oclif/core minimatch ^11.0.1 now asks for ^11.0.8. The lockfile resolves 11.0.10 and drops the nested 11.0.4.
SNYK-JS-AXIOS-23188833 (High) axios@1.20.0 via @contentstack/cli-utilities cli-utilities accepts ^1.20.0, so the lockfile moves to 1.22.0. No override needed.
  • minimatch. oclif calls only minimatch(name, pattern) in its plugin loader, which 11.0.x keeps.
  • axios proxy support. axios 1.22 no longer depends on proxy-from-env. It reads HTTP(S)_PROXY and NO_PROXY itself (lib/helpers/proxyFromEnv.js, shouldBypassProxy.js) and now depends on https-proxy-agent. launch-cli's own transport does not use axios; axios is reached only through cli-utilities.

Still open (none fails the hook: Snyk has no upgrade for them)

  • open@8.4.2 via cli-utilities (High, SNYK-JS-OPEN-22112123). It is fixed only in open@11, which is ESM-only, so an override would break cli-utilities' require('open'). This needs a cli-utilities release.
  • picomatch@4.0.5 (Medium) and adm-zip@0.6.1 (Medium): no fixed release. The .snyk ignore for adm-zip from fix(deps): clear the Snyk findings that block every v2-dev commit #281 expired today.

Tests

  • snyk test --all-projects --fail-on=all: passes (exit 0). 3 open findings remain, listed above.
  • Build passes. Full suite: 189 suites, 3827 tests on this branch, and 3829 in the pre-push hook with gap 6 on top. Every hook ran, with no --no-verify.

Generated by Claude Code

The pre-commit snyk test --fail-on=all fails on advisories Snyk published
on 1 Dec against packages already on v2-dev, so no commit passes its hooks:

- minimatch 11.0.4 under @oclif/core (SNYK-JS-MINIMATCH-23184402,
  -23184405, -23184407; two High, one Medium), fixed in 11.0.8. The
  existing override that gives @oclif/core minimatch ^11.0.1 now asks for
  ^11.0.8, and the lockfile resolves 11.0.10.
- axios 1.20.0 via @contentstack/cli-utilities (SNYK-JS-AXIOS-23188833,
  High), fixed in 1.21.0. cli-utilities accepts ^1.20.0, so the lockfile
  moves to 1.22.0. axios 1.22 reads proxy environment variables itself
  and no longer needs proxy-from-env.

Still open, with no fixed release Snyk can upgrade to, so they do not
fail the hook: open 8.4.2 via cli-utilities (fixed only in the ESM-only
open 11), picomatch 4.0.5 and adm-zip 0.6.1.
@chhavi-mandowara-cstk
chhavi-mandowara-cstk requested a review from a team as a code owner December 4, 2026 07:34
@snyk-io

snyk-io Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 2 25 ✅ Passed
🟡 Medium Severity 0 10 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 2
  • Medium without fixes: 10
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@chhavi-mandowara-cstk
chhavi-mandowara-cstk merged commit d56e39d into v2-dev Dec 4, 2026
8 checks passed
@chhavi-mandowara-cstk
chhavi-mandowara-cstk deleted the CL-snyk-fixes/04-Dec-2026 branch December 4, 2026 10:03
chhavi-mandowara-cstk pushed a commit that referenced this pull request Dec 4, 2026
Brings in the deps fix (#325) as merged, so this branch is up to date
with v2-dev. No file changes beyond gap 6.
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.

4 participants