speed4 (npm) · Malicious Code
Affects speed4Source GCVE Database
Malicious package : remove speed4 and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-5938
What to do
Remove speed4 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmspeed4 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package speed4 version 1.1.7 is part of a malicious namespace-squatting campaign distributing deceptive and attacker-controlled content. The package contains a script that clones itself under multiple similar package names and publishes identical malicious payloads. The payload includes a deceptive HTML page that redirects users to an unrelated third-party domain and bundles heavily obfuscated JavaScript assets. Installing this package can lead to full system compromise, and removal alone may not eliminate all malicious software.