notify-logs@1.3.5
Malicious code in notify-logs (npm)
Analysis
notify-logs@1.3.5 is a trojanized clone of the pino logging library. The package ships a copy of pino's source code but replaces the entry point so that when the module is required, it spawns a detached, hidden background Node.js process. That process fetches arbitrary JavaScript code from hxxps://jsonkeeper[.]com/b/EXSIF via an HTTP GET request (with headers x-secret-key: _) and executes the response's "cookie" field using Function constructor, giving the remote payload unrestricted access to Node.js require() and full system-level capabilities. The downloaded code can perform any action — credential theft, file exfiltration, additional payload download, or persistence — without the installer's awareness, since the child process runs silently with detached stdio.
- analyzed by
- Leitwacht
- first seen
- Jun 30, 2026, 12:20 PM
- analyzed
- Jun 30, 2026, 12:21 PM
Related advisories
- assertcoreutils@2.3.2
- chai-as-buffered@3.7.24
- lil-swisgom-hlepers@1.0.0
- chai-promised-test@1.3.5
- hardhat-compile-ethers@0.0.1
- jwtmethod@1.1.10
- clob-client-math@1.0.1
- hardhat-plugin-solidity@2.3.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.