Repository navigation
fix(security): make k6 exact-main incident workflow parse and test embedded JavaScript - #108
Merged
portyu9 merged 4 commits intoDec 5, 2026
Merged
Conversation
…l quote injections
portyu9
deleted the
fix/k6-security-incident-javascript-syntax-20261205
branch
December 5, 2026 20:45
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.
Root cause
The exact-main Security run 47556355242 passed every scanner and the security-gate. The new
security-incidentjob failed withSyntaxError: Unexpected identifier 's'because an apostrophe in'Investigate k6's signed ...'terminated an inline JavaScript string. Fix the quoted literal without relaxing any security gate.Durable prevention
Add a CI/security-stack regression that extracts
security-incident's inline JS, checks it under an async function withnode --check, and rejects missing lifecycle/provenance safeguards. This must prove syntax correctness before merging.Branch lineage-and-salvage preflight
Base accepted
main:4a8e9fd141589a19c3be1aae6b2a333aff0edc72. No open PRs, no non-main branches. Unmerged historical #96 (head6ddde9bb95fe5c62a534d54cc7e77008d72364e0, Docker blob4bda2e97cfa08e796b561fc2b79403719c4d5e44) is old Go 1.27.3 vs accepted 1.27.4; #74 (head8285b3e03f18a3df4fb5a57ec66f01de4a0606c1, go.mod blob05da128df5564b79bd8aebd4ed0c28472bd246ef) is x/crypto .58 vs accepted .59. Older #62/#31 Docker and #36 grpc are superseded, #52 historical automerge bloba9469d7c51c23f34c904fc7a91fed5c132d24df7superseded by current signed bot governance. No capability relevant to this incident syntax must be salvaged.Merge criteria
All exact-head CI, Security, extended, Docs and dependency-governance checks must pass; verify post-merge main. No bypass of failure gates.