teahy-znrpz-util@1.0.0
Malicious code in teahy-znrpz-util (npm)
Analysis
This package is a disguised loader. Although it declares itself a generic "utility" with no dependencies, no install scripts and a main entry that exports an empty object, index.js executes a hidden payload the moment it is required. The payload is not stored in JavaScript: it is shipped as a long array of zlib-compressed bytes under the non-standard `_bz` key inside package.json. On load, index.js reads that array, decompresses it with zlib.inflateSync, and runs the result through the Function constructor, passing in require and __dirname so the hidden code has full module and file-system access. Before doing so it checks for CI and analysis markers and silently exits if any are present: it returns early when CI, GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI or SANDBOX is set in the environment. The visible files contain no network indicator of their own, no URL, host or IP — the compressed `_bz` blob in package.json holds the second stage and is the only place any remote address would appear. The same stager, with an identical index.js and the same `_bz` package.json layout, is also shipped as vojmd-ajgkr-util@1.0.0 and xueoj-vjtof-util@1.0.0.
- analyzed by
- Leitwacht
- first seen
- Nov 9, 2026, 12:35 AM
- analyzed
- Nov 9, 2026, 12:36 AM
Related advisories
- nullsub@1.11.15
- @kahitsan/plugin-sdk@0.10.0-staging.59
- cwao@0.5.6
- xueoj-vjtof-util@1.0.0
- nullsub@1.11.16
- character-ai-sdk@1.0.1
- persona-ai-sdk@1.0.0
- character-ai-sdk@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.