Skip to content

fix: comprehensive review — extract message handler, fix test, harden security#2

Open
owensun6 wants to merge 2 commits intomainfrom
claude/git-comprehensive-review-MZIR2
Open

fix: comprehensive review — extract message handler, fix test, harden security#2
owensun6 wants to merge 2 commits intomainfrom
claude/git-comprehensive-review-MZIR2

Conversation

@owensun6
Copy link
Copy Markdown
Owner

  • Extract /messages handler from routes.ts into message-handler.ts (676→453 lines)
  • Add X-Content-Type-Options and X-Frame-Options security headers middleware
  • Fix backup test to use ts-node instead of requiring compiled dist/
  • Upgrade markdownlint-cli 0.47→0.48 to resolve minimatch ReDoS (CVE)
  • npm audit fix for flatted prototype pollution and h3 SSE injection

All 302 tests pass. Zero TypeScript errors. Zero npm audit vulnerabilities.

https://claude.ai/code/session_018Vbcq7BKGhnzEDPcwi5ENj

claude added 2 commits March 23, 2026 11:55
… security

- Extract /messages handler from routes.ts into message-handler.ts (676→453 lines)
- Add X-Content-Type-Options and X-Frame-Options security headers middleware
- Fix backup test to use ts-node instead of requiring compiled dist/
- Upgrade markdownlint-cli 0.47→0.48 to resolve minimatch ReDoS (CVE)
- npm audit fix for flatted prototype pollution and h3 SSE injection

All 302 tests pass. Zero TypeScript errors. Zero npm audit vulnerabilities.

https://claude.ai/code/session_018Vbcq7BKGhnzEDPcwi5ENj
Replace /Volumes/XDISK/chorus with resolve(__dirname, ...) so the
bridge template resolves the chorus project root dynamically from
its actual installation location instead of a developer's local path.

https://claude.ai/code/session_018Vbcq7BKGhnzEDPcwi5ENj
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.

2 participants