VDB
KO

MAL-2026-14472

Malicious code in cscasereadserv-paypal (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (336250fe38295375704495b6529ed6eb82f7006b6249c78ace08bc92d96d4bde) cscasereadserv-paypal@3.4.3 executes a preinstall script that auto-runs on `npm install`. The script collects the installer's OS username, hostname, and current working directory, then walks up parent directories to read the surrounding project's package.json name, author, and version. The collected JSON payload is hex-encoded and exfiltrated in chunks via DNS lookups to attacker-controlled subdomains under `jgl.red` (form: `<seq>.<hex>.x.da5u87oh92rc72pp1dngqfc6hp8gwshm6.o.jgl.red`), with a fallback DNS query on error. A source comment (`// x-hackerone: kokonut`) suggests dependency-confusion / bug-bounty reconnaissance framing, but the payload identifies the installer and discloses the name and version of the surrounding (likely private) parent package to a third party.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / cscasereadserv-paypal

No fixed version published yet for cscasereadserv-paypal (npm). Pin to a known-safe version or switch to an alternative.

References