Malicious code in sotqa-test (npm)
The npm package sotqa-test contained malicious code that downloads and executes platform-specific native binaries on require. The package used obfuscated dropper modules with C2 communication via hardcoded domains and DNS covert channels.
- Disclosed
- Last updated
- Blast radius
- Any npm consumer of sotqa-test package
- Ecosystems
- Attack vectors
- Affected entities
- sotqa-testnpm package containing malicious code
The npm package sotqa-test was found to contain malicious code that executes on module import. The package loads a bootstrap.js file that reconstructs command-and-control (C2) hostnames from split-string arrays at runtime, including oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, and oob-worker.cf100-416.workers.dev, with a DNS TXT covert-channel fallback using *.dl.well1.site resolvers.\n\nThe malicious code downloads platform-specific native binaries without hash or signature verification and writes them to temporary directories (/tmp on POSIX, %TEMP% on Windows) under disguised filenames (.cache on POSIX, dotnet_diag_.exe on Windows). The binaries are then executed detached via /bin/sh -c on Unix or cmd.exe on Windows.\n\nA second obfuscated dropper module in lib/telemetry.js, presented as an Analytics SDK, uses string concatenation to obscure child_process imports, assembles base64-encoded payloads, and spawns them detached, providing a parallel execution surface.\n\nThe incident was identified by Amazon Inspector and credited to the OpenSSF malicious-packages repository.
Indicators of compromise
- Packages
- sotqa-test
- Domains
- oob-worker.cf102-baf.workers.dev
- oob-worker.cf99-9b3.workers.dev
- oob-worker.cf100-416.workers.dev
- dl.well1.site
Remediation
- Remove sotqa-test from all dependencies immediately
- Audit all systems that installed sotqa-test for unauthorized processes or binaries in /tmp, %TEMP%, or other temporary directories
- Review process execution logs for spawned child processes from Node.js
- Check for DNS queries to *.dl.well1.site or connections to oob-worker.cf* domains
- Regenerate any credentials or secrets that may have been exposed on affected systems
- Update npm lockfiles and reinstall dependencies from a clean state
Sources
- GitHub Advisory GHSA-56r2-8f47-m5mx · GitHub Advisory Database
Cite this entry
"Malicious code in sotqa-test (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 5, 2026; last updated August 5, 2026. https://supplychainattack.org/incident/malicious-code-in-sotqa-test-npm-6a1qa2
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in santana-baileys (npm)
Malicious code discovered in santana-baileys npm package that covertly relays WhatsApp messaging data to an attacker-controlled endpoint (https://fiora.nixel.my.id/) via obfuscated character-code reconstruction in the message-send code path.
npmCompromised package - resolvedcritical
Malicious code in elephant-tusk-runner (npm)
The npm package elephant-tusk-runner contained malicious code that exposed a remote shell and remote code execution surface via an unauthenticated Express + WebSocket server binding to 0.0.0.0:4201 with fully open CORS. Any peer able to reach the port could execute arbitrary commands on the host.
npmCompromised package - resolvedcritical
Malicious code in @cats-cdf/browser-metrics-meter (npm)
The npm package @cats-cdf/browser-metrics-meter contained malicious code in its preinstall lifecycle script that exfiltrated system reconnaissance data (username, hostname, public IP) to an OAST collector domain. The package executed this behavior unconditionally on installation without consent or documented purpose.
npmCompromised package - resolvedcritical
Malicious code in @ks-video/kwai-player-web (npm)
The npm package @ks-video/kwai-player-web contained malicious code in its postinstall hook that exfiltrated system reconnaissance data (hostname, username, working directory, network interfaces, environment variable names) over plain HTTP to an unrelated third-party domain. The package has no legitimate relationship to the declared publisher Kwai/@ks-video.
npmCompromised package