ded-pwa-ded-pwa-core
Affected
- Versions:
35.6.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 ded-pwa-ded-pwa-core (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (97666216930384a372fdf45c3c6a5d744e61de4b8e5c01f82a6ffe5688b168e7)
On require('ded-pwa-ded-pwa-core'), index.js unconditionally loads _adapter.js, which selects a platform-specific target path (%TEMP%/dotnet_diag_<hex>.exe on Windows, /tmp/.cache_<hex> on POSIX), fetches an opaque binary over HTTPS from author-controlled Cloudflare Workers endpoints, writes it to disk, chmods 0755, and detached-spawns it via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}) or cmd. The destination hostnames are reconstructed at runtime from split-string arrays (e.g. ['oob-worker.cf100-416.workers.','dev'].join('') and ['sdk.','dl','.wel1','.r','u'].join('') yielding sdk.dl.wel1.ru) to evade static grepping, and identifier lookups such as require('child_'+'process') and fs['chmod'+'Sync'] are similarly split. A DNS-TXT chunked-base64 fallback via *.dl.wel1.ru is present. Staged filenames masquerade as.NET diagnostics tooling or hidden cache files, and DO_NOT_TRACK / ANALYTICS_OPT_OUT env checks provide a telemetry cover story despite the executed content being an opaque author-controlled binary with no version pinning and no hash verification. Installing or requiring the package results in arbitrary code execution on the installer's host.
Not rated by the source.
35.6.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