GHSA-j2mr-7vj7-w5rq
Malicious code in dransay (npm)
Auswirkung
## 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))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | dransay | = 99.0.0 | nicht erfasst |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-j2mr-7vj7-w5rq
- 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