VDB
KO

MAL-2026-12071

Malicious code in sotqa-test (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (6980ae2860be6b9f343e9705a5415dc9ea13a81d285c1dce1f2f56b3dc989fbd) On require, sotqa-test loads _bootstrap.js which reconstructs C2 hostnames from split-string arrays joined at runtime (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS TXT covert-channel fallback under *.dl.well1.site resolvers (tin, tina, ldr, win subdomains), downloads a platform-specific native binary via https.get, writes it to /tmp or %TEMP% under a disguised filename (.cache_<rand> on POSIX, dotnet_diag_<rand>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe. There is no hash or signature verification, endpoints are mutable, and both the delivery hosts and dropped-file names use cover-story naming (analytics, dotnet_diag). A second obfuscated dropper module lib/telemetry.js — presented as an Analytics SDK — resolves child_process via string concatenation ("child_"+"process"), assembles a base64 payload buffer, chmods the artifact 0755 using fs["chmod"+"Sync"], and spawns it detached with /bin/sh -c, providing a parallel execution surface.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / sotqa-test

No fixed version published yet for sotqa-test (npm). Pin to a known-safe version or switch to an alternative.

References