GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks

Summary

GitHub is implementing a significant change in npm version 12 by disabling install scripts by default. This measure aims to enhance security and prevent malicious code execution through npm lifecycle hooks, a common tactic in software supply chain attacks.

IFF Assessment

FRIEND

Disabling install scripts by default is a proactive security measure that directly benefits defenders by mitigating a common attack vector in the software supply chain.

Defender Context

This change by GitHub is a crucial step in securing the software supply chain, a growing area of concern for defenders. Organizations should be aware of this default behavior change in npm and ensure their CI/CD pipelines and development workflows are updated to accommodate it, potentially by explicitly enabling install scripts when necessary and vetting their sources.

Read Full Story →