@dransay/address-validation (npm) · Malicious Code
Affects @dransay/address-validationSource GCVE Database
Malicious package : remove @dransay/address-validation and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:27 UTC
Malicious package
Published to npm · OSV MAL-2026-17668
What to do
Remove @dransay/address-validation 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@dransay/address-validation | 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 npm package '@dransay/address-validation' version 99.0.0 contains a preinstall script that performs a DNS lookup and HTTPS GET request to a known malicious collaborator domain during installation. This behavior is consistent with a dependency confusion probe designed to reveal the installer's IP address and package name to an external operator. No sensitive environment data or filesystem contents are accessed, and no additional code is fetched or executed. The package is flagged as malicious due to its communication with a domain associated with malicious activity.