Skip to main content
MalwarePublished Updated

@sudoughnym/enviro-demo (npm) · Malicious Code

Affects @sudoughnym/enviro-demoSource GCVE Database

0

Malicious package : remove @sudoughnym/enviro-demo and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:55 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6697

What to do

Remove @sudoughnym/enviro-demo 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@sudoughnym/enviro-demoAffected
  • =99.99.99
  • =0.3.3
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 @sudoughnym/enviro-demo version 99.99.99 contains malicious preinstall and postinstall scripts that automatically run during npm install. These scripts collect host identifiers and environment metadata, including hostname, current working directory, process ID, Node.js version, platform, user environment variables, and send this data to an attacker-controlled third-party webhook. The package is a dependency-confusion proof-of-concept designed to outrank internal packages by using an inflated version number. Installing this package leaks sensitive environment information to an unauthorized external endpoint.

References

Community reviews

Loading reviews…