Skip to content

fix(deps): resolve all Dependabot security alerts#253

Merged
YunchuWang merged 1 commit into
mainfrom
fix/dependabot-security-alerts
May 20, 2026
Merged

fix(deps): resolve all Dependabot security alerts#253
YunchuWang merged 1 commit into
mainfrom
fix/dependabot-security-alerts

Conversation

@torosent
Copy link
Copy Markdown
Member

Resolves all open Dependabot alerts at https://github.com/microsoft/durabletask-js/security/dependabot.

Changes

  • Ran npm audit fix to upgrade transitive dependencies to patched versions.
  • Added a top-level overrides entry to force handlebars >= 4.7.9 since grpc_tools_node_protoc_ts@5.3.3 pins handlebars to an exact 4.7.7 (vulnerable). Upgrading grpc_tools_node_protoc_ts itself would be a major breaking change (5.x → 2.x per npm audit fix --force), so the override is the safer fix.

Resolved alerts

Package Vulnerable Fixed
protobufjs <= 7.5.7 (critical) 7.6.0
@protobufjs/utf8 <= 1.1.0 1.1.1
fast-xml-parser <= 5.6.0 (high) 5.8.0
fast-xml-builder <= 1.1.6 (high) 1.2.0
flatted <= 3.4.1 (high) 3.4.2
handlebars 4.0.0–4.7.8 (critical) 4.7.9 (via overrides)
picomatch <= 2.3.1, 4.0.0–4.0.3 2.3.2 / 4.0.4
brace-expansion < 1.1.13, 2.0.0–2.0.2 1.1.14 / 2.1.0
yaml 2.0.0–2.8.2 2.9.0

Validation

  • npm audit0 vulnerabilities
  • npm run build → all workspaces build successfully
  • npm run test:unit1033/1033 tests pass across all three packages

No source code changes were required; this is purely a dependency update.

Upgrade transitive dependencies to patched versions via npm audit fix
and add an override to force handlebars >= 4.7.9 (grpc_tools_node_protoc_ts
pins handlebars 4.7.7 exactly).

Resolves the following Dependabot alerts:
- protobufjs <=7.5.7 (critical: GHSA-xq3m-2v4x-88gg, GHSA-66ff-xgx4-vchm,
  GHSA-2pr8-phx7-x9h3, GHSA-fx83-v9x8-x52w, GHSA-75px-5xx7-5xc7,
  GHSA-jvwf-75h9-cwgg, GHSA-685m-2w69-288q, GHSA-q6x5-8v7m-xcrf,
  GHSA-jggg-4jg4-v7c6) -> 7.6.0
- @protobufjs/utf8 <=1.1.0 -> 1.1.1
- fast-xml-parser <=5.6.0 (GHSA-8gc5-j5rx-235r, GHSA-jp2q-39xq-3w4g,
  GHSA-gh4j-gqv2-49f6) -> 5.8.0
- fast-xml-builder <=1.1.6 (GHSA-5wm8-gmm8-39j9) -> 1.2.0
- flatted <=3.4.1 (GHSA-25h7-pfq9-p65f, GHSA-rf6f-7fwh-wjgh) -> 3.4.2
- handlebars 4.0.0-4.7.8 (8 advisories incl. GHSA-3mfm-83xf-c92r,
  GHSA-2w6w-674q-4c4q critical) -> 4.7.9 (via overrides)
- picomatch <=2.3.1 and 4.0.0-4.0.3 (GHSA-3v7f-55p6-f55p,
  GHSA-c2c7-rcm5-vvqj) -> 2.3.2 / 4.0.4
- brace-expansion <1.1.13 / 2.0.0-2.0.2 (GHSA-f886-m6hf-6m8v) -> 1.1.14 / 2.1.0
- yaml 2.0.0-2.8.2 (GHSA-48c2-rrv3-qjmp) -> 2.9.0

`npm audit` now reports 0 vulnerabilities.
All 1033 unit tests pass; build succeeds across all workspaces.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 20, 2026 15:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@YunchuWang YunchuWang merged commit 67257f1 into main May 20, 2026
29 checks passed
@YunchuWang YunchuWang deleted the fix/dependabot-security-alerts branch May 20, 2026 18:19
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