Skip to content

chore(security): consolidate dependency bumps + add Yarn resolutions#3258

Merged
douglance merged 16 commits into
masterfrom
chore/security-resolutions
May 20, 2026
Merged

chore(security): consolidate dependency bumps + add Yarn resolutions#3258
douglance merged 16 commits into
masterfrom
chore/security-resolutions

Conversation

@anegg0
Copy link
Copy Markdown
Contributor

@anegg0 anegg0 commented May 5, 2026

Summary

Consolidates four open Dependabot PRs and adds a resolutions block to clear high-impact yarn audit advisories.

Direct dep bumps (from Dependabot PRs)

New Yarn resolutions

  • elliptic ^6.6.1 (clears critical: ECDSA private key extraction — GHSA-vjh7-7g9h-fjfh)
  • form-data ^4.0.4 (clears critical: unsafe random — GHSA-fjxv-7rqg-78g4)
  • lodash ^4.18.1 (clears high + moderate prototype-pollution advisories)
  • prismjs ^1.30.0 (clears moderate DOM clobbering — GHSA-x7hr-w5r2-h6wg; client-side dep)
  • serialize-javascript ^7.0.5 (clears high RCE + moderate DoS advisories)

Build noise filters (docusaurus.config.js)

Inline plugin + console filters silence three classes of harmless transitive-dep warnings: image-size SVG errors, vscode-languageserver UMD warnings, and ws optional-native warnings. Non-target warnings still surface.

Audit impact

Severity Before After Cleared
Critical 2 0 elliptic, form-data
High 17 15 lodash, serialize-javascript
Moderate 27 24 lodash×2, prismjs, serialize-javascript

Supersedes

Test plan

  • yarn install clean
  • yarn typecheck clean
  • vercel build succeeds (exit 0)
  • Vercel preview deployment renders correctly

dependabot Bot and others added 11 commits April 30, 2026 23:01
Bumps posthog-docusaurus from 2.0.0 to 2.0.5.

---
updated-dependencies:
- dependency-name: posthog-docusaurus
  dependency-version: 2.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.6 to 1.16.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.6...v1.16.0)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@inkeep/cxkit-docusaurus](https://github.com/inkeep/widget/tree/HEAD/packages/docusaurus) from 0.5.91 to 0.5.117.
- [Commits](https://github.com/inkeep/widget/commits/HEAD/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@inkeep/cxkit-docusaurus"
  dependency-version: 0.5.117
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…rismjs to 1.30.0

Adds resolutions for elliptic, form-data, lodash, prismjs, serialize-javascript
to clear 7 audit advisories (2 critical + 5 high/moderate).
…xkit-docusaurus-0.5.117' into chore/security-resolutions
…edirects-1.16.0' into chore/security-resolutions
…docusaurus-2.0.5' into chore/security-resolutions
@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arbitrum-docs Ready Ready Preview May 20, 2026 8:25pm

Request Review

…lencers

Resolutions: 5 -> 2.
- Bump react-syntax-highlighter ^15.6.1 -> ^16.1.1; refractor 3 -> 5 pulls
  prismjs ^1.29, collapsing the prismjs ^1.27 + ^1.30 duplicate, so the
  prismjs resolution is no longer needed.
- Drop form-data + lodash resolutions: yarn already resolves to safe
  versions (form-data 4.0.5, lodash 4.18.1) without forcing.
- Drop image-size: latest resolution: no-op (mdx-loader already pulls
  image-size@^2.0.2 which resolves to 2.0.2 either way).
- Keep elliptic + serialize-javascript resolutions: no root bump exists.
  ethers@5.7.2 hard-pins @ethersproject/signing-key@5.7.0 (elliptic 6.5.4),
  and @docusaurus/bundler@3.10.1 hard-pins old webpack plugins.

Drop warning silencers from docusaurus.config.js:
- Console monkey-patch for image-size SVG errors (now visible in build logs).
- silence-transitive-dep-warnings webpack plugin (3 ignoreWarnings entries).
Both were cosmetic; warnings do not fail the build.

Audit posture unchanged: 0 critical, same high/moderate/low as before.
@douglance douglance force-pushed the chore/security-resolutions branch from a339f52 to a3eb09f Compare May 20, 2026 19:57
@douglance douglance merged commit 4ae4292 into master May 20, 2026
9 checks passed
@douglance douglance deleted the chore/security-resolutions branch May 20, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants