devplatform-spa-use-track
Affected
- Versions:
35.5.3
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in devplatform-spa-use-track (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (59ba2c5091a95bcff203618393da399071dba1859bb0af79ca39021b7a1bdb5f)
On require() of the package, index.js loads _polyfill.js which fetches a platform-specific binary from one of four Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with DNS TXT fallback to sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru. Hostnames are assembled at runtime from split string fragments and child_process is loaded via require("child_"+"process") to evade static substring scanning. The downloaded binary is written to /tmp or the Windows Temp directory under a disguised name (.cache_<hex> on Linux, dotnet_diag_<hex>.exe on Windows), chmod 0755 is applied through a computed "chmod"+"Sync" property lookup, and the file is spawned detached via /bin/sh -c or cmd.exe /c start /b. The package's advertised purpose is a trivial SPA tracking helper, which does not require any of this behavior. A second file, lib/telemetry.js (~81 KB, styled as a Sentry-like analytics SDK), contains an independent copy of the same fetch/chmod/spawn dropper primitives and ships as an alternate payload path in the tarball. The destination hosts are attacker-controlled, publisher-mismatched, and mutable; the executed bytes are opaque and unverified.
Not rated by the source.
35.5.3None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0