Skip to content

fix: remediate Worker CodeQL alerts - #51

Merged
leocuisine merged 1 commit into
mainfrom
bugfix/codeql-worker-alerts
Sep 14, 2026
Merged

leocuisine merged 1 commit into
mainfrom
bugfix/codeql-worker-alerts

Conversation

@leocuisine

@leocuisine leocuisine commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • replace the two trailing-slash regexes flagged for polynomial behavior with a bounded string helper
  • stop returning caught exception details to API clients while retaining server-side logging

Closes CodeQL alerts #9, #10, and #11.

Verification

  • npx prettier . --check — passed
  • npx wrangler deploy --dry-run — passed; produced a 10.17 KiB bundle
  • git diff --check — passed

The Worker API routes, success payloads, and status codes are unchanged.

@leocuisine
leocuisine merged commit 6db5595 into main Sep 14, 2026
3 checks passed
@leocuisine
leocuisine deleted the bugfix/codeql-worker-alerts branch September 14, 2026 04:51
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