# GHSA-J2MR-7VJ7-W5RQ: Malicious code in dransay (npm)

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

## Affected versions

- dransay (npm): 99.0.0

## Description

## Source: amazon-inspector (46d06d0ce82913346840f676660d67f9838f48511e58eef793bfe7c52091071f)
dransay@99.0.0 declares a `preinstall` lifecycle script that runs `node beacon.js`, which performs a DNS lookup and HTTPS GET against a hardcoded Interactsh (`oast.site`) collaborator subdomain (`db3klhbi6i9hark1kegg174t38h33b6wt.oast.site`) on every `npm install`. The outbound request discloses the installer's source IP, DNS resolver IP, hostname-derived data, and timestamp to a third-party collaborator host unrelated to any first-party publisher. The package name and implausibly high version (99.0.0) are consistent with a dependency-confusion probe targeting an internal package name. The README self-labels the package as a benign dependency-confusion proof-of-concept; the self-label does not change the behavior — install-time, non-consensual outbound network I/O to a researcher-controlled OAST host that collects installer network identity.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/68a38898b0459b24c7c4e15c3337135032540a71/osv/malicious/npm/dransay/MAL-2026-17700.json))

## References

- https://github.com/ossf/malicious-packages/blob/68a38898b0459b24c7c4e15c3337135032540a71/osv/malicious/npm/dransay/MAL-2026-17700.json
- https://www.npmjs.com/package/dransay/v/99.0.0
- https://github.com/ossf/malicious-packages/blob/f6c455a8a06fc0b0bb8fa03ae573386aa46cc5b6/osv/malicious/npm/dransay/MAL-2026-17700.json
- https://www.npmjs.com/package/dransay
- https://github.com/advisories/GHSA-j2mr-7vj7-w5rq

Page: https://cve.now/GHSA-J2MR-7VJ7-W5RQ

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