Skip to content

release(action): 3.7.3 on core 6.19.4 (GHSA-fpvw-w7ff-h7vr) - #317

Merged
RubenHalman merged 1 commit into
mainfrom
release/action-3.7.3
Aug 30, 2026
Merged

release(action): 3.7.3 on core 6.19.4 (GHSA-fpvw-w7ff-h7vr)#317
RubenHalman merged 1 commit into
mainfrom
release/action-3.7.3

Conversation

@RubenHalman

Copy link
Copy Markdown
Member

Why

Core 6.19.4 and CLI 6.19.5 shipped the ReDoS fix for GHSA-fpvw-w7ff-h7vr (43cd554). The GitHub Action did not. packages/action ships a committed ncc bundle whose dist was last rebuilt in fcd8e8d — before the fix — so every consumer of Flow-Scanner/lightning-flow-scanner@main (the usage documented in the README) has been running the vulnerable UnusedVariable rule.

What

  • packages/action 3.7.2 → 3.7.3
  • dist/index.js + dist/index.js.map rebuilt against core 6.19.4

Verification

Not trusting the version number — checked the built output directly:

Check Before After
countLiteralOccurrences in dist/index.js 0 7
new RegExp(variableName, "gi") present absent
new RegExp(variable.name, "gi") present absent

The bundled function body is byte-identical to the fixed source. pnpm test -- UnusedVariable in packages/core: 10 passed, 3 suites, including UnusedVariable.security.test.ts.

The committed ncc bundle was last rebuilt in fcd8e8d, before the ReDoS
fix landed in core 6.19.4, so the action still shipped the vulnerable
UnusedVariable rule to every consumer.

Rebuild dist against the fixed core. Verified: the bundle now contains
countLiteralOccurrences and no longer contains new RegExp(variableName,
"gi") or new RegExp(variable.name, "gi").
@RubenHalman
RubenHalman merged commit e6c45a5 into main Aug 30, 2026
1 check passed
@RubenHalman
RubenHalman deleted the release/action-3.7.3 branch August 30, 2026 11:12
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