Definition ∞ A malicious NPM package is a software library distributed through the Node Package Manager (NPM) registry that contains harmful code. These packages can be designed to steal sensitive data, inject malware, or create backdoors in systems that incorporate them. Attackers often disguise them as legitimate utilities or compromise existing popular packages. They pose a significant supply chain security risk to developers.
Context ∞ Crypto news frequently reports on instances where malicious NPM packages have compromised decentralized application (dApp) development environments or digital asset wallets. Such incidents underscore the critical need for developers to conduct thorough security audits of all third-party dependencies. The software supply chain remains a vulnerable point, requiring continuous vigilance and improved vetting processes for open-source components.