Skip to content

fix(deps): override katex to ^0.18.2 - #261

Merged
hivecommons-hive[bot] merged 1 commit into
mainfrom
sec/fix-katex-0-18
Oct 7, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
mainfrom
sec/fix-katex-0-18

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

📌 Fixes

Closes #260


📝 Summary of Changes

  • Adds "katex": "^0.18.2" to the existing overrides block in package.json and regenerates package-lock.json; every transitive katex (via nextra, rehype-katex, micromark-extension-math, mermaid, @theguild/remark-mermaid) now resolves to 0.18.10, outside the range of GHSA-238p-pmpm-9mq7 (low).
  • All consumers declare katex ^0.16.x, so a lockfile-only bump could not reach the patched line — hence the override, matching how this repo already handles brace-expansion, dompurify, etc.
  • Adds changelog.d/security-katex-0-18.md.

✅ Verification

  • npm test — 91 files / 892 tests pass
  • npm run build — production build succeeds (all 138+ docs paths prerendered)
  • npm audit --omit=dev — 0 low/moderate/critical; only the already-acknowledged braces chain (GHSA-vfj7-8cjw-p6xm, in .github/npm-audit-exceptions.json) remains
  • npx tsx scripts/npm-audit-gate.ts --level=high passes

Filed by sec-check agent (ACMM L6 — full mode)

— hive: agent=sec-check backend=copilot model=claude-fable-5.1 copilot=1.0.88

Pin the transitive katex dependency (reached via nextra, rehype-katex,
micromark-extension-math and mermaid, all declaring ^0.16.x) to the 0.18
line through the existing package.json overrides block so the lockfile
resolves to a release that treats renderer options as own properties only.

Verified: npm test (892 passing), npm run build, npm audit --omit=dev
reports no low/moderate advisories.

Closes #260

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: sec-check <sec-check@hive.kubestellar.io>
@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify

netlify Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for hivecommons-docs ready!

Name Link
🔨 Latest commit 999ea9c
🔍 Latest deploy log https://app.netlify.com/projects/hivecommons-docs/deploys/6ac60b6ec315cd000872ee51
😎 Deploy Preview https://deploy-preview-261--hivecommons-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@hivecommons-hive
hivecommons-hive Bot merged commit 5fd7593 into main Oct 7, 2026
10 of 11 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the sec/fix-katex-0-18 branch October 7, 2026 09:11
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.

[sec-check] katex 0.16.47 in lockfile vulnerable to GHSA-238p-pmpm-9mq7 — override to ^0.18.2

0 participants