Skip to content

fix: remediate remaining audit security findings - #4

Merged
baixiangcpp merged 1 commit into
mainfrom
audit-remediation-remaining
Jun 18, 2026
Merged

fix: remediate remaining audit security findings#4
baixiangcpp merged 1 commit into
mainfrom
audit-remediation-remaining

Conversation

@baixiangcpp

@baixiangcpp baixiangcpp commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add shared codegen literal encoders and use them in HTTP request builder and cURL-to-code outputs.
  • Harden JWT claim parsing, password randomness, regex safety checks, SVG optimizer output sanitization, and Service Worker query caching.
  • Add CI token read-only permissions and regression tests for the remediated audit findings.

Verification

  • npm run lint
  • npm run test
  • npm run validate
  • npm run build:app
  • npm run build:post
  • npm run test:e2e:smoke

Notes

  • npm audit --audit-level=high currently fails on existing dependency advisories, including a high severity ws advisory through webpack-bundle-analyzer. I did not add it as a required CI gate in this PR to avoid making CI red before the dependency upgrade is handled.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying byteflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: a7df7e0
Status: ✅  Deploy successful!
Preview URL: https://d3e66dd5.byteflow-c58.pages.dev
Branch Preview URL: https://audit-remediation-remaining.byteflow-c58.pages.dev

View logs

@baixiangcpp
baixiangcpp merged commit b417621 into main Jun 18, 2026
2 checks passed
@baixiangcpp
baixiangcpp deleted the audit-remediation-remaining branch June 18, 2026 14:50
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