Skip to content

cloudflare-worker: fix multiple CodeQL alerts#26

Open
BKPepe wants to merge 2 commits into
mainfrom
fix-codeql-issues
Open

cloudflare-worker: fix multiple CodeQL alerts#26
BKPepe wants to merge 2 commits into
mainfrom
fix-codeql-issues

Conversation

@BKPepe

@BKPepe BKPepe commented Jul 8, 2026

Copy link
Copy Markdown
Member
  • js/incomplete-hostname-regexp: Replace dynamic RegExp with literal replaceAll to avoid unescaped dots matching more hosts than expected.

  • js/stack-trace-exposure: Sanitize the HTTP 500 error response details to avoid exposing stack trace information to the client.

  • actions/missing-workflow-permissions: Add GITHUB_TOKEN read-only content permissions to deploy and tests workflow files.

- js/incomplete-hostname-regexp: Replace dynamic RegExp with literal replaceAll to avoid unescaped dots matching more hosts than expected.

- js/stack-trace-exposure: Sanitize the HTTP 500 error response details to avoid exposing stack trace information to the client.

- actions/missing-workflow-permissions: Add GITHUB_TOKEN read-only content permissions to deploy and tests workflow files.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Comment thread cloudflare-worker/src/index.js Fixed
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
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