Skip to main content
MalwarePublished

@shared-web/utils (npm) · Malicious Code

Affects @shared-web/utilsSource GCVE Database

0

Malicious package : remove @shared-web/utils and rotate any secrets on hosts that installed it.

Data as of 19 Sep 2026, 01:36 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-16292

What to do

Remove @shared-web/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

ProductAffectedFixed in
npm@shared-web/utilsAffected
  • =9.9.10
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 '@shared-web/utils' version 9.9.10 contains malicious code that executes during installation. It collects the installer's username, hostname, and current working directory name, concatenates these with a fixed prefix and timestamp, and sends this information via a DNS query to a hardcoded external domain. The code uses obfuscation techniques to hide the destination domain and Node.js built-in module names, and it performs the DNS query automatically on every install without exposing any legitimate functionality.

References

Community reviews

Loading reviews…