Repository navigation
Security hardening: CI permissions + esbuild advisory bump - #27
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two low/hardening security fixes:
actions/missing-workflow-permissions(×2) — addpermissions: contents: readtoci.yml. Both jobs (ts, py) only checkout/build/test, so read is sufficient.esbuildto^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