# GHSA-4JFW-QX8X-7GV2: Malicious code in @dransay/phone-fix-test (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-08
- Modified: 2026-10-12

## Affected versions

- @dransay/phone-fix-test (npm): 99.0.0

## Description

## Source: amazon-inspector (e01479e9a6af5de5f6abec6c16007bd3757b52b0e434b38b44d40fde12961c08)
Package.json declares scripts.preinstall="node beacon.js", which fires automatically on npm install. beacon.js performs a DNS lookup and HTTPS GET to a hardcoded Interactsh/OAST subdomain under oast.site, keyed on the package name, causing the installing host's source IP and resolver metadata to be logged by a non-first-party collector. The package is published under the @dransay scope on the public npm registry at version 99.0.0 — the standard dependency-confusion probe shape (scoped name matching a target organization, implausibly high version to win resolution against an internal package of the same name). Any build system that resolves @dransay/phone-fix-test from public npm will execute the preinstall callout and leak its network identifier to the researcher's OAST endpoint. The README self-labels the behavior as authorized security research, but a self-label does not change the installer-side effect: unconsented install-time exfiltration of host-identifying network metadata to a researcher-controlled collector.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9a4a2fcaa6660f0629db18ac4d5f91ef22114372/osv/malicious/npm/@dransay/phone-fix-test/MAL-2026-17698.json))

## References

- https://github.com/ossf/malicious-packages/blob/9a4a2fcaa6660f0629db18ac4d5f91ef22114372/osv/malicious/npm/@dransay/phone-fix-test/MAL-2026-17698.json
- https://www.npmjs.com/package/@dransay/phone-fix-test/v/99.0.0
- https://github.com/ossf/malicious-packages/blob/f6c455a8a06fc0b0bb8fa03ae573386aa46cc5b6/osv/malicious/npm/@dransay/phone-fix-test/MAL-2026-17698.json
- https://www.npmjs.com/package/@dransay/phone-fix-test
- https://github.com/advisories/GHSA-4jfw-qx8x-7gv2

Page: https://cve.now/GHSA-4JFW-QX8X-7GV2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
