Skip to content

HOTFIX: (master) Safer NPM install commands - #25

Open
jpblancoder wants to merge 2 commits into
masterfrom
hotfix-ci
Open

HOTFIX: (master) Safer NPM install commands#25
jpblancoder wants to merge 2 commits into
masterfrom
hotfix-ci

Conversation

@jpblancoder

@jpblancoder jpblancoder commented Aug 5, 2026

Copy link
Copy Markdown

Upgrade replace-in-file package to fix: https://github.com/globeandmail/startr-cli/security/dependabot/36

We should be using npm ci --ignore-scripts --no-audit in our CI/CD pipelines, to prevent malicious postinstall scripts from running.

The --no-audit speeds up the install a bit. Since NPM doesn't audit the packages. Which isn't useful in CI, as developers don't tend to check the CI logs for the audit results. They will see them when developing locally, via npm install.

References:

@jpblancoder
jpblancoder requested a review from tomcardoso August 5, 2026 14:47
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