frequency
frequency copied to clipboard
npm Supply Chain Mitigation
Description
Continuing on from #2598, the goal of this issue is to audit the CI/CD workflows and make sure they use the correct package-lock.json and that npm uses safe commands, e.g. clean-install, ignore-scripts, and npm audit signatures
Acceptance Criteria
- [ ] All github workflows have been audited to use the correct version of the package-lock.json
- [ ] All npm commands use safe options where possible, e.g.
ci,ignore-scripts - [ ]
npm audit signaturesis used for verification of packages.
I wonder if it might also make sense to have some kind of git commit or push hook that prevents committing package-lock files unless a specially-formatted commit message is present? Or some other mechanism to prevent unintentional updating of the lock file.