Skip to main content
MalwarePublished Updated

lab-helper (npm) · Malicious Code

Affects lab-helperSource GCVE Database

0

Malicious package : remove lab-helper and rotate any secrets on hosts that installed it.

Data as of 14 Aug 2026, 16:50 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5835

What to do

Remove lab-helper 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

ProductAffectedFixed in
npmlab-helperAffected
  • =0.0.3
  • =0.0.2
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 'lab-helper' versions 0.0.2 and 0.0.3 contains malicious code that executes during installation. The postinstall script runs a JavaScript file that checks if the host's IPv4 address starts with 18.175., targeting a specific subnet. If the condition is met, it reads a file named 'myfile.txt' from the installer's working directory and exfiltrates its contents to a hardcoded command and control server at http://18.175.63.47:8080/collect. This behavior indicates a targeted supply-chain attack likely aimed at specific AWS or lab environments. Any system with this package installed should be considered fully compromised, and all secrets and keys must be rotated immediately. Removal of the package does not guarantee full remediation due to potential persistence of malicious software.

References

Community reviews

Loading reviews…