Skip to content

Security hardening: CI permissions + esbuild advisory bump - #27

Merged
OliEder merged 2 commits into
mainfrom
ci/security-hardening
Aug 29, 2026
Merged

OliEder merged 2 commits into
mainfrom
ci/security-hardening

Conversation

@OliEder

@OliEder OliEder commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Two low/hardening security fixes:

  1. CodeQL actions/missing-workflow-permissions (×2) — add permissions: contents: read to ci.yml. Both jobs (ts, py) only checkout/build/test, so read is sufficient.
  2. Dependabot (low) — override esbuild to ^0.28.2 (was transitively 0.27.7 via tsup). Advisory: dev-server arbitrary file read on Windows, patched in 0.28.1.

Build + 97 tests green after the bump.

🤖 Generated with Claude Code

Oliver-Marcus Eder added 2 commits August 29, 2026 18:59
- Add permissions: contents:read to ci.yml (both jobs only build/test) —
  resolves the two CodeQL actions/missing-workflow-permissions alerts.
- Override esbuild to ^0.28.2 (was transitively 0.27.7) — resolves the low
  Dependabot advisory (dev-server arbitrary file read on Windows, patched 0.28.1).
  Build + 97 tests still green.
The esbuild override (0.27.7 -> 0.28.2) changes esbuild's module-wrapper codegen
(adds a try/catch around module init), so the committed browser bundle must be
regenerated to match — otherwise the 'bundle up to date' CI check fails. No
change to validator logic.
@OliEder
OliEder merged commit 6f56786 into main Aug 29, 2026
8 checks passed
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