Skip to content

fix: clear zod audit failure and CodeQL code-sanitization alert - #54

Merged
KazKozDev merged 1 commit into
mainfrom
fix/audit-codeql
Oct 24, 2026
Merged

KazKozDev merged 1 commit into
mainfrom
fix/audit-codeql

Conversation

@KazKozDev

Copy link
Copy Markdown
Owner

Summary

  • Audit: the scheduled npm audit on main fails on zod <4.6.6 (GHSA-mrhx-c7xc-m3w5, high). zod is transitive and its range already allows the fix, so only core/package-lock.json changes.
  • CodeQL chore(deps): bump react and @types/react in /core #20 (js/bad-code-sanitization): bridge-media.ts embedded the element ref via bare JSON.stringify. A new codeLiteral() helper also escapes < > / and U+2028/U+2029.

Testing

  • npm audit --audit-level=high reports 0 vulnerabilities
  • ./scripts/check.sh passes
  • 365 tests pass

🤖 Generated with Claude Code

- Bump transitive zod to 4.6.6+ in core lockfile (GHSA-mrhx-c7xc-m3w5)
- Escape < > / U+2028 U+2029 when embedding element refs in evaluated code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T04:01:50.766025Z 1641db6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@KazKozDev
KazKozDev merged commit 95a2ce6 into main Oct 24, 2026
5 checks passed
@KazKozDev
KazKozDev deleted the fix/audit-codeql branch October 24, 2026 04:05
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.

1 participant