LWA-2026-5004 MAL-2026-2526 ↗ confirmed malware

request-js-validator@1.0.2

Malicious code in request-js-validator (npm)

Analysis

Combosquat package request-js-validator impersonates the deprecated request package (same README, false bugs URL pointing to github[.]com/request/request). When imported, index.js spawns a detached background Node process that runs lib/callers.js. That script makes an HTTPS GET to jsonkeeper[.]com/b/XB9WY and passes the fetched content to new Function.constructor('require', responseBody) — evaluating arbitrary remote code with full Node.js require() access, making it a remote code execution dropper. The C2 host is www[.]jsonkeeper[.]com, path /b/XB9WY. No lifecycle hooks needed; triggers silently on require(). The remote second stage has complete access to the victim environment including files, credentials, and tokens.

analyzed by
Leitwacht
first seen
Jun 13, 2026, 05:38 AM
analyzed
Jun 13, 2026, 05:39 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.