notifier-utils@1.3.7
Malicious code in notifier-utils (npm)
Analysis
notifier-utils@1.3.7 is a trojanized install that fetches and executes arbitrary remote code. When the exported middleware function is called, index.js spawns a detached background node process (stdio:ignore, unref'd) running lib/caller.js. That script uses axios to GET a payload from hxxps://jsonkeeper[.]com/b/BPB86 (with a custom "x-secret-key" header), then compiles and runs it via new Function.constructor("require", src) — granting the fetched code full Node.js module access. The payload URL is attacker-controlled and can be changed at any time to deliver arbitrary second-stage commands. The package ships cloned pino logger documentation as camouflage and has no real functionality of its own.
- analyzed by
- Leitwacht
- first seen
- Jul 2, 2026, 07:45 PM
- analyzed
- Jul 2, 2026, 07:46 PM
Related advisories
- chai-as-staged@6.0.4
- chai-as-forgeted@9.24.6
- env-config-f281@1.0.0
- web-pool@2.3.5
- sort-btree@2.1.4
- poxios-chain@1.3.5
- npm-scanner@1.0.0
- hex-type@3.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.