CRITICAL npm Malware

Malicious code in checkout-test-component (npm)

MAL-2026-12595 · GHSA-h7c5-x48j-4h29

Published · Modified

Dependency scanning

Check whether checkout-test-component 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 (c8dff84319052d8da1a322df80332f9d197a3e646f17c15b2fb5b53121f27dc0)

On require() of the package, index.js loads./runtime.js which unconditionally fetches a platform-specific executable from attacker-controlled Cloudflare Workers hosts (oob-worker.cf*.workers.dev) with a DNS/TXT fallback to *.dl.wel1.ru, writes it to /var/tmp or %TEMP% under cover-story names (.cache, dotnet_diag_.exe, analytics_state), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames are constructed by fragment-and-.join("") to evade static analysis. A secondary dropper implementation is shipped as lib/telemetry.js (~81 KB) using base64 chunk decoding, cp.spawn("/bin/sh", ["-c", filePath + " &"]), and fs["chmod"+"Sync"] with 0755, framed as an analytics.node SDK — duplicating the dropper mechanism as a dormant secondary payload. The package name resembles a benign test/checkout utility but contains no such functionality; its sole effect on load is to drop and execute attacker-controlled code on the installer's host.

Source: ghsa-malware (cf907848b0ab14b86b317fdb4b686f1ea4b141cc8f9eed5c2d935edfe9bf5b3b)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Ready to move

Start Securing

Free, no credit card | First findings in minutes