You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[code-scanning cluster] Align pinned global npm CLI installs with scanning policy #75970
Track the six related open code-scanning alerts for exact-version global CLI installations: 1070, 1071, 1077, 1078, 1079, and 1080.
Rule: pr-action.rules.github-actions.javascript-lockfile-install.github-actions-npm-install-non-deterministic (scanner severity: high). These findings are scanner-policy/reproducibility review candidates, not confirmed exploitable vulnerabilities.
Implementation
Review the shared generation path in pkg/workflow/nodejs.go, covering Atomic, Factory, and Codex installation in engine-conformance and smoke workflows. The flagged commands pin the top-level CLI version and suppress lifecycle scripts; the rule description allows pinned global installations. Establish whether this is a scanner false positive or requires dependency-graph hardening. Do not blindly substitute npm ci -g or introduce a blanket suppression.
Preserve exact version pins, --ignore-scripts, and release cooldown. Any exception must be narrowly justified and regression-tested. Make generator changes first and regenerate applicable lock files through the approved compilation path; respect upstream-managed workflow sources.
Acceptance criteria
Reproduce the rule against exact-version global, unversioned global, and local npm installation fixtures.
Implement a narrow rule correction/approved exception, or a reviewed deterministic installation strategy if the exception is not appropriate.
Preserve installation behavior and existing supply-chain controls.
Run affected generator tests and compilation checks; verify all six alerts on a fresh scan before considering them resolved.
Related work
Previous broad installation tracking: #71844, #69885, #68043. This issue is limited to the remaining pinned-global cluster. No code or alerts were changed during triage.
Activity