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
- containedcritical
Malicious code in 3-buildsight-web (npm)
The npm package 3-buildsight-web contains malicious code that fetches and executes arbitrary JavaScript from a remote Bitbucket URL on module load, granting full page privileges to an unverified third party.
npmCompromised package - resolvedcritical
Malicious code in @usaa-grp-personal-profile/personal-profile-common (npm)
Malicious package @usaa-grp-personal-profile/personal-profile-common version 999.0.0 published to public npm as a dependency-confusion attack targeting an organization's internal registry. The package contains preinstall and postinstall hooks that exfiltrate hostname, username, and working directory to an attacker-controlled OAST endpoint on every install.
npmDependency confusionCompromised package - resolvedcritical
Malicious code in create-coin (npm)
create-coin@20.1.1 on npm contained malicious postinstall code that collected sensitive environment variables, credentials, and host reconnaissance data. The package impersonated an esbuild platform build and exfiltrated data to a hardcoded endpoint.
npmCompromised packageTyposquatting - resolvedcritical
Malicious code in @syncraft-labs/vue (npm)
The npm package @syncraft-labs/vue version 0.4.1 contained malicious obfuscated code in its ESM build that implements a blockchain-hosted C2 dropper (EtherHiding pattern), enabling remote code execution on any consumer importing the package.
npmCompromised package