Malicious code in cscasereadserv-paypal (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14472
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (336250fe38295375704495b6529ed6eb82f7006b6249c78ace08bc92d96d4bde) [email protected] 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.
- Source published
- 25 Aug 2026 06:36:31 UTC
- Source modified
- 25 Aug 2026 23:49:42 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.