Skip to content

fix(security): make k6 exact-main incident workflow parse and test embedded JavaScript - #108

Merged
portyu9 merged 4 commits into
mainfrom
fix/k6-security-incident-javascript-syntax-20261205
Dec 5, 2026
Merged

portyu9 merged 4 commits into
mainfrom
fix/k6-security-incident-javascript-syntax-20261205

Conversation

@portyu9

@portyu9 portyu9 commented Dec 5, 2026

Copy link
Copy Markdown
Owner

Root cause

The exact-main Security run 47556355242 passed every scanner and the security-gate. The new security-incident job failed with SyntaxError: 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 with node --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 (head 6ddde9bb95fe5c62a534d54cc7e77008d72364e0, Docker blob 4bda2e97cfa08e796b561fc2b79403719c4d5e44) is old Go 1.27.3 vs accepted 1.27.4; #74 (head 8285b3e03f18a3df4fb5a57ec66f01de4a0606c1, go.mod blob 05da128df5564b79bd8aebd4ed0c28472bd246ef) is x/crypto .58 vs accepted .59. Older #62/#31 Docker and #36 grpc are superseded, #52 historical automerge blob a9469d7c51c23f34c904fc7a91fed5c132d24df7 superseded 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.

@portyu9
portyu9 merged commit 85397b1 into main Dec 5, 2026
18 checks passed
@portyu9
portyu9 deleted the fix/k6-security-incident-javascript-syntax-20261205 branch December 5, 2026 20:45
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