@nextco/utils (npm) · Malicious Code
Affects @nextco/utilsSource GCVE Database
Malicious package : remove @nextco/utils and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 17:11 UTC
Malicious package
Published to npm · OSV MAL-2026-12325
What to do
Remove @nextco/utils 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 |
|---|---|---|
| npm@nextco/utils | 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 @nextco/utils npm package version 5.0.0 contains malicious code that executes upon module load. It collects host reconnaissance data including hostname, username, directory paths, OS/architecture, Node.js version, and environment variable names. This data is base64-encoded and sent via an unencrypted HTTP POST request to a hardcoded attacker-controlled server (attacker.cl). The package does not provide an opt-out for this telemetry, exposing sensitive host information to attackers.