LWA-2026-6431 MAL-2026-10184 ↗ confirmed malware

mongoose-schema-unique@4.0.4

Malicious code in mongoose-schema-unique (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web Protocols

Analysis

On module load, mongoose-schema-unique@4.0.4 fetches a remote JSON payload from hxxps://www[.]jsonkeeper[.]com/b/XVHGD and executes the returned data as arbitrary JavaScript code inside a Node.js worker thread via new Function("require", payload). The C2 host is www[.]jsonkeeper[.]com. The package ships worker.js and worker-singleton.js which implement the remote code execution channel: worker-singleton.js spawns a Worker thread from worker.js, and worker.js listens for messages and evaluates the received payload using the Function constructor with access to require.

analyzed by
Leitwacht
first seen
Jul 7, 2026, 03:38 PM
analyzed
Jul 7, 2026, 03:39 PM

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.