VDB
EN

MAL-2026-12730

Malicious code in devplatform-nx-ts (npm)

상세

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

## Source: amazon-inspector (d308883ce62856714651ea10d0051677eaa943f29b41c5cf94dd1614ba08d724) On require of the package, index.js loads _compat.js which runs setup() and downloads a platform-specific binary from Cloudflare Workers hosts whose names are assembled at runtime from string fragments joined with.join("") (e.g. oob-worker.cf102-baf.workers.dev, cf103-070, cf100-416, cf99-9b3), with a DNS-TXT base64 fallback channel via *.dl.wel1.ru. The fetched binary is written to /var/tmp or %TEMP% under a disguised filename (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on Unix), chmodded 0755, and spawned detached via cp.spawn("/bin/sh",["-c",fp+" &"],{detached:true}) or spawn("cmd",...). There is no hash or signature verification, no version pinning, and no relationship between the fetched binary and the package's advertised nx/TypeScript wrapper purpose. A flag file named.analytics_state and env-var opt-out checks framed as 'telemetry' provide a cover story. A second module lib/telemetry.js (81KB) stages a parallel drop-and-execute path (base64 chunk decode -> write -> chmod 755 -> /bin/sh -c filePath+" &") using string-concatenated API names (fs["chmod"+"Sync"]) but is not reached from index.js in this tarball.

## Source: ghsa-malware (618e5622e6a4468db0df2570d517093cc0b6e53b368344a695880c3df9633bb5) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / devplatform-nx-ts
최초 영향 버전: 0

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

참고