devplatform-nx-svelte
Affected
- Versions:
35.6.8
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-nx-svelte (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (19a9e164d3a912ce2cb11abb935eb46fdfa9bb7ef12acbe4a305867cb8942306)
On require of the package, _compat.js constructs C2 hostnames by joining split string fragments to evade static inspection, downloads a platform-specific executable from Cloudflare Workers subdomains (oob-worker.cf1-*.workers.dev), and falls back to a DNS-TXT covert channel that reassembles base64 chunks from TXT records at c.<subdomain>.dl.wel1.ru / N.<subdomain>.dl.wel1.ru across sdk/ext/pkg/net.dl.wel1.ru. The retrieved bytes are written to a temp path with a disguised name (e.g. dotnet_diag_*.exe,.cache_*), chmodded 755 on Unix, and spawned detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. Cover-story naming (markerPath 'analytics_state', a DISABLE_TELEMETRY opt-out, and a no-op _l logger) frames the dropper as telemetry. The fetch targets are not the package's publisher, the payload is opaque, and there is no integrity verification. The package name resembles legitimate Nx/Svelte tooling but the shipped code performs unauthenticated remote code execution on every installer that imports it.
Not rated by the source.
35.6.8None 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