[email protected]: The NPM Package That Delivered the RAT Payload

Post date: March 31, 2026 · Discovered: April 17, 2026 · 3 posts, 17 comments

The vulnerability was exploited via the compromised package, [email protected], which ran a post-install script to deploy the RAT. This incident surfaced during a deep dive into supply chain attacks following compromises hitting npm accounts.

Disagreement centers on fixing the problem. Some users, like esquuero, insist on mandatory controls such as setting `min-release-age=7` and `ignore-scripts=true` in `.npmrc`. Others argue this defense is insufficient; 'techpeakedin1991' questions if disabling scripts stops malware embedded directly in package source code, regardless of lifecycle hooks. Meanwhile, 'TechnoCat' champions `pnpm` for disabling install scripts by default.

The consensus points to tightening package controls as critical. While there is clear disagreement on the completeness of age restrictions versus script disabling, the practical advice centers on adopting stricter package manager settings, specifically implementing age checks or using tools like `pnpm` to limit the blast radius of malicious dependencies.

Key Points

SUPPORT

Using pnpm is superior for security.

'TechnoCat' stated pnpm disables install scripts by default, offering superior protection against supply chain attacks.

SUPPORT

Mandatory npmrc controls are the baseline fix.

eskuero advised adding `min-release-age=7` and `ignore-scripts=true` to `.npmrc`.

OPPOSE

Script disabling is not a total shield.

'techpeakedin1991' questioned if disabling scripts stops execution if malware is coded directly into the source, not the hooks.

SUPPORT

The attack vector was specific and traceable.

'TechnoCat' identified [email protected] as the vector that ran the malicious post-install script.

SUPPORT

Package age restriction is a valuable layer.

moseschrute suggested setting a minimum age for packages to prevent immediate adoption of malicious new versions.

Source Discussions (3)

This report was synthesized from the following Lemmy discussions, ranked by community score.

227
points
Axios JavaScript library has been compromised with malware in supply chain attack
[email protected]·12 comments·3/31/2026·by qaz·github.com
63
points
Axios JavaScript library has been compromised with malware in supply chain attack
[email protected]·5 comments·3/31/2026·by qaz·github.com
60
points
Axios Supply Chain Attack Pushes Cross-Platform RAT via Compromised npm Account
[email protected]·3 comments·3/31/2026·by spez·thehackernews.com