Skip to content

chore(ci): shai hulud 2 patch#860

Merged
DerekRoberts merged 1 commit intomainfrom
chore/ci/npmIgnoreScripts
Nov 27, 2025
Merged

chore(ci): shai hulud 2 patch#860
DerekRoberts merged 1 commit intomainfrom
chore/ci/npmIgnoreScripts

Conversation

@DerekRoberts
Copy link
Member

@DerekRoberts DerekRoberts commented Nov 27, 2025

The ci --ignore-scripts flag prevents pre-loading of npm scripts, which is the primary way Shai Hulud spreads. This should ideally be used everywhere, although there are exceptions.

Re: Shai Hulud 2
Fix: via @basilv

This is a follow up to #858, since there was more to patch.


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

Copilot AI review requested due to automatic review settings November 27, 2025 19:36
@DerekRoberts DerekRoberts self-assigned this Nov 27, 2025
@DerekRoberts DerekRoberts moved this from New to Waiting in DevOps (NR) Nov 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances security by adding the --ignore-scripts flag to npm install commands in the Docker Compose configuration. This flag prevents the execution of scripts during package installation, which is the primary infection vector for the Shai Hulud malware attack.

Key changes:

  • Added --ignore-scripts flag to all npm install commands in docker-compose.yml
  • Applied security protection to both the API and public service containers

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DerekRoberts DerekRoberts changed the title chore(ci): npm ci --ignore-scripts chore(ci): shai hulud 2 patch Nov 27, 2025
@DerekRoberts DerekRoberts merged commit e9022d9 into main Nov 27, 2025
38 checks passed
@DerekRoberts DerekRoberts deleted the chore/ci/npmIgnoreScripts branch November 27, 2025 19:44
@github-project-automation github-project-automation bot moved this from Waiting to Done in DevOps (NR) Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants