vojmd-ajgkr-util@1.0.0
Malicious code in vojmd-ajgkr-util (npm)
Analysis
This package is a loader disguised as a trivial utility: its only executable file, index.js, carries a compressed second-stage payload inside package.json and executes it whenever the module is required. index.js is a 408-byte IIFE that first checks process.env and returns immediately if any of CI, GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI or SANDBOX is set, so the payload stays dormant in CI and sandboxed environments. Otherwise it reads its own package.json, converts the non-standard "_bz" array of 243 integers (zlib/deflate data starting 0x78 0x9c) into a buffer, inflates it with zlib.inflateSync, and runs the result through a Function constructor call — (function(){}).constructor('require','__dirname',payload)(require,__dirname) — giving the decoded script full require and __dirname access. The remainder of the file is a 'use strict'; module.exports = {} stub, so the hidden blob is the entire functionality of the package. No network indicator is visible in the plaintext portion of the package; the C2 address, if any, lives only inside the compressed "_bz" blob. Artifacts to hunt for in an install tree: package/package.json containing a "_bz" integer array, and any package whose index.js calls zlib.inflateSync on JSON metadata before evaluating it with the Function constructor.
- analyzed by
- Leitwacht
- first seen
- Nov 9, 2026, 12:35 AM
- analyzed
- Nov 9, 2026, 12:35 AM
Related advisories
- @animebails/baileys@1.0.4
- strapi-plugin-conresh-meeb@3.6.8
- tailwind-scrollbar-styles@4.0.3
- tailwind-container-queries@0.1.1
- tailwindcss-3d-styles@1.2.2
- devplatform-spa-plugin-module-loader@35.8.5
- entropyeasybots@2.0.2
- @marketfront/bannerpopup@7.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.