Skip to main content

NPM Package Malware

Definition

NPM package malware refers to malicious code embedded within software modules distributed through the Node Package Manager registry, a popular repository for JavaScript libraries. Attackers inject harmful code into these packages, which developers then unknowingly incorporate into their projects. This type of supply chain attack can compromise applications, steal data, or deploy further malicious payloads when the affected package is used. It represents a significant risk to software integrity.