Skip to content

deps: bump adm-zip to 0.6.0 to patch high-severity advisory#147

Merged
laileni-aws merged 1 commit into
aws:mainfrom
laileni-aws:feature/gh-security-fixes
Jul 21, 2026
Merged

deps: bump adm-zip to 0.6.0 to patch high-severity advisory#147
laileni-aws merged 1 commit into
aws:mainfrom
laileni-aws:feature/gh-security-fixes

Conversation

@laileni-aws

Copy link
Copy Markdown
Contributor

Summary

Auto-prepared draft security fix from the q-plugin-gh-security-monitor monitor.
This PR bumps a single high-severity dependency to its patched version; other open
alerts are deferred (see below) because they are not safe to auto-fix.

Fixed

  • adm-zip ^0.5.10^0.6.0 (packages/core/package.json) — patches the
    high-severity Dependabot alert (#249 root lock, #250 packages/core).

Deferred for human review (NOT in this PR)

  • uuid, @opentelemetry/core, @smithy/config-resolver: multiple major versions
    coexist
    in package-lock.json (e.g. @smithy/config-resolver has 14 tree entries).
    A blanket overrides pin would risk breaking the AWS SDK / OpenTelemetry graph, so
    these need scoped, per-parent bumps by a maintainer.
  • aws-sdk (×2), elliptic: no patched version available yet — nothing to bump.

Not addressed here (report-only)

  • Code-scanning: 1 open high finding js/disabling-certificate-validation
    (packages/core/src/shared/utilities/proxyUtil.ts) — requires a human-authored source
    fix; flagged for triage, not auto-fixed.

Verification

  • npm install --package-lock-only regenerated the lock; diff is limited to adm-zip.
  • Full monorepo build/tests not run here — this is a draft for maintainer review + CI.

Draft — opened for review by q-plugin-gh-security-monitor. Please review, build/test, and merge.

@laileni-aws
laileni-aws force-pushed the feature/gh-security-fixes branch from b80697f to 2cd73d0 Compare July 20, 2026 21:48
@laileni-aws laileni-aws changed the title fix(security): bump adm-zip to 0.6.0 (Dependabot high-severity) deps: bump adm-zip to 0.6.0 to patch high-severity advisory Jul 20, 2026
@laileni-aws laileni-aws reopened this Jul 20, 2026
Problem:
adm-zip ^0.5.10 (in packages/core) has an open high-severity Dependabot
advisory (alerts #249, #250). The root build scripts (scripts/lspArtifact.ts)
import adm-zip but only relied on it being hoisted from packages/core.

Solution:
- Bump adm-zip to ^0.6.0 in packages/core.
- Declare adm-zip ^0.6.0 (+ @types/adm-zip) in the root package.json, since
  the root build scripts import it directly — this keeps it resolvable at the
  root regardless of workspace hoisting (fixes "Cannot find module 'adm-zip'"
  during packaging).
- Regenerate the lockfile.

Other open alerts (uuid, @opentelemetry/core, @smithy/config-resolver —
multiple coexisting versions; aws-sdk, elliptic — no patch) are deferred for
scoped human review.
@laileni-aws
laileni-aws force-pushed the feature/gh-security-fixes branch from 2cd73d0 to 7f15e86 Compare July 20, 2026 21:57
@laileni-aws
laileni-aws marked this pull request as ready for review July 20, 2026 22:12
@laileni-aws
laileni-aws requested a review from a team as a code owner July 20, 2026 22:12
@laileni-aws
laileni-aws enabled auto-merge (squash) July 21, 2026 21:28
@laileni-aws
laileni-aws merged commit 2c1d9d2 into aws:main Jul 21, 2026
17 checks passed
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.

3 participants