Skip to main content

Malicious code in @dransay/address-validation (npm)

0
Medium
Published: 10/08/2026 (10/08/2026, 08:46:02 UTC)
Source: GCVE Database
Product: @dransay/address-validation

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.

Affected software

npmghsa
@dransay/address-validation
Affected versions
=99.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/08/2026, 22:13:23 UTC

Technical Analysis

The '@dransay/address-validation' npm package at version 99.0.0 includes a preinstall script ('node beacon.js') that triggers on 'npm install'. This script performs a DNS lookup and HTTPS GET request to a subdomain of the Interactsh collaborator service 'oast.site' under the path '/address-validation'. The high version number and preinstall callback suggest the package is used for dependency confusion probing, leaking the installer's egress IP and package name to the collaborator operator. No secrets, environment variables, or filesystem data are accessed, and no persistence or further code execution occurs. The package is identified as malicious due to its network communication with a domain linked to malicious activity.

Potential Impact

The package leaks metadata about the installation environment, specifically the source IP address and package name, to an external malicious collaborator domain. However, it does not access or exfiltrate sensitive environment variables, installer secrets, or filesystem contents, nor does it establish persistence or execute additional malicious code. The impact is primarily information leakage of install metadata.

Mitigation Recommendations

Avoid installing the '@dransay/address-validation' package at version 99.0.0. Since no official patch or remediation is indicated, users should remove or block this package from their dependency trees. Monitor package sources carefully to prevent dependency confusion attacks. No further action is required if this package is not used.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17668
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6ac80fc22cdf04f65639c3b5

Added to database: 10/08/2026, 21:48:50 UTC

Last enriched: 10/08/2026, 22:13:23 UTC

Last updated: 10/08/2026, 22:13:23 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses