Skip to main content
MalwarePublished Updated

dransay (npm) · Malicious Code

Affects dransaySource GCVE Database

0

Malicious package : remove dransay and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:27 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17700

What to do

Remove dransay 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
npmdransayAffected
  • =99.0.0
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 'dransay' version 99.0.0 contains a malicious preinstall script that performs network requests to a third-party collaborator domain during installation. This behavior leaks the installer's IP address, DNS resolver IP, hostname data, and timestamp to an external server. The package appears to be a dependency-confusion proof-of-concept but executes non-consensual outbound network communication.

References

Community reviews

Loading reviews…