Skip to content

chore: fix high severity vulnerabilities (undici, decode-uri-component) - #33912

Merged
sxn merged 6 commits into
mainfrom
s/security-vulns
Nov 24, 2026
Merged

sxn merged 6 commits into
mainfrom
s/security-vulns

Conversation

@sxn

@sxn sxn commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Description

Fixes high severity vulnerabilities in seven extensions and in scripts/bots. No extension behaviour changes are intended.

undici < 7.30.1: bible, bunq, duden, jsr, myip

Advisories: GHSA-qrxm-fqhp-jwvm, GHSA-2m5v-pch6-74hx, GHSA-4w7w-5xrc-9h26

These extensions had an "undici": "7.29.1" override from #32529, which kept undici on a vulnerable version. I removed that override and refreshed the lockfiles, so undici now resolves to 7.30.2, within the ^7.x ranges that cheerio and jsdom already allow. The other overrides are unchanged.

bunq: the lockfile from #33784 on main doesn't install: npm ci fails because @testing-library/dom, react and react-dom are missing, and vitest 4.1.12 doesn't match the exact 4.1.9 peer of @vitest/coverage-v8. This PR uses a consistent lockfile instead (vitest 4.1.9 with all peers present).

decode-uri-component <= 0.5.0: otter, monzo

Advisory: GHSA-qr28-fpjm-wq7f

Only 0.5.1 is patched, and it needs query-string@^9.5. Both extensions get query-string@7 from a dependency whose latest release still pins ^7:

  • otter: proper-url-join was only used to join the instance URL with path segments and an optional query. I replaced it with a small local helper, src/utils/urlJoin.ts, and removed proper-url-join and @types/proper-url-join. For every call pattern the extension uses, the helper gives exactly the same output as before, including the strict !'()* query encoding.
  • monzo: @marceloclp/monzojs is unmaintained and is the extension's whole API client, so I added a "query-string": "9.5.1" override instead of rewriting it. The client only calls stringifyUrl, whose API hasn't changed, and the bundled build produces the same Monzo API URLs as with query-string@7.

scripts/bots

Advisories include GHSA-qrxm-fqhp-jwvm, GHSA-2m5v-pch6-74hx, GHSA-vxpw-j846-p89q, GHSA-vrm6-8vpv-qv8q, GHSA-v9p9-hfj2-hcw8 (undici), and GHSA-x8mw-p69m-v3mx (@fastify/busboy).

Fixed by upgrading:

Package From To
@actions/github 5 9
@actions/core 1 3
@octokit/core 3 7
@octokit/plugin-request-log 1 6

Required changes in run.ts:

  • Import @actions/github/lib/utils without the .js suffix (the v9 export map only allows that path).
  • Octokit now uses fetch and silently ignores request.timeout. I wrapped the default proxy-aware fetch so each request gets its own 10s AbortSignal.timeout.

The bot workflows check out scripts/bots from the default branch, so this takes effect once merged.

bible: shortcut type fix

bible has failed to type-check on main since #33784 updated @raycast/api from 1.103.5 to 1.104.25. Since 1.103.6, platform-specific shortcuts use a Windows key, and lowercase windows is deprecated. I renamed the key in the copy shortcut, src/bibleSearch.tsx, so the extension builds again.

Screencast

N/A: dependency-only changes, plus an internal helper in otter.

Checklist

sxn added 4 commits November 24, 2026 10:29
- bible, bunq, duden, jsr, myip: drop the `undici` 7.29.1 override and
  refresh the lockfile so undici resolves to 7.30.2.
- otter: replace `proper-url-join` with a small local `urlJoin` helper,
  removing `query-string@7` and the vulnerable `decode-uri-component`.
- monzo: override `query-string` to 9.5.1 (pulls in patched
  `[email protected]`), as `@marceloclp/monzojs` is unmaintained
  and pins `query-string@^7`.
Upgrade `@actions/github` to 9, `@actions/core` to 3, `@octokit/core` to 7
and `@octokit/plugin-request-log` to 6, resolving the open undici,
@fastify/busboy and @octokit/* Dependabot alerts for scripts/bots.

- Import `@actions/github/lib/utils` without the `.js` suffix, as required
  by the package's export map.
- Octokit now uses fetch and ignores `request.timeout`, so wrap the default
  (proxy-aware) fetch to give each request its own 10s abort signal.
Since @raycast/api 1.103.6, platform-specific shortcuts use the `Windows`
key and the lowercase `windows` key is deprecated, so the extension no
longer type-checks against the current API version.
@greptile-apps

greptile-apps Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge; no new blocking issue was found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new blocking issue was found.

Summary

Updates dependencies across seven extensions and scripts/bots to address the listed security advisories.

  • Five extensions now resolve a newer version of undici.
  • Otter builds its links with a local URL helper.
  • Monzo now uses a patched URL-query dependency.
  • GitHub bots use newer client libraries and timed requests.
  • Bible’s copy shortcut uses the current Windows key name.

Reviews (4) · Last reviewed commit: "chore(bunq): restore nested esbuild entr..." · Reviewed by Greptile

Comment thread extensions/bunq/package-lock.json Resolved
@0xdhrv 0xdhrv self-assigned this Nov 24, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​node-forge@​1.4.0100251009390
Addednpm/​zod@​4.3.51008510091100
Updatednpm/​@​actions/​github@​5.1.1 ⏵ 9.1.197100100 +186100
Updatednpm/​@​actions/​core@​1.11.1 ⏵ 3.0.19910010086100

View full report

@0xdhrv 0xdhrv removed their assignment Nov 24, 2026
@sxn
sxn merged commit 2d03701 into main Nov 24, 2026
17 checks passed
@sxn
sxn deleted the s/security-vulns branch November 24, 2026 12:02
@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

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