nodepack-daemon@1.2.9
Malicious code in nodepack-daemon (npm)
Analysis
nodepack-daemon@1.2.9 is a trojanized clone of the pino logger package. When the package is required, index.js spawns a detached background Node.js process (child_process.spawn with detached:true and stdio:"ignore") that runs lib/caller.js. That script fetches a remote payload from hxxps://jsonkeeper[.]com/b/QWPQX via HTTP GET (with a custom header "x-secret-key") and executes the response body using the Function constructor with full access to Node's require(), enabling arbitrary code execution on the installer's machine. The C2 host is jsonkeeper[.]com, path /b/QWPQX.
- analyzed by
- Leitwacht
- first seen
- Jul 6, 2026, 07:08 PM
- analyzed
- Jul 6, 2026, 07:08 PM
Related advisories
- pinokio-redis@1.0.127
- chai-as-disarmed@3.2.3
- agn-terminal@0.1.0
- zod-pino434@1.0.127
- internallib_v234@1.0.3
- polytrade@2.4.1
- @bobfrankston/mailx-store@0.1.58
- chai-presentation@0.0.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.