{"id":"MAL-2026-12722","revision":"16d927454f6d457d809c12e4f661a2c7","records":[{"revision":"16d927454f6d457d809c12e4f661a2c7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12722","aliases":[],"title":"Malicious code in devplatform-nx-devkit (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cc4017373371f50665290c944ee840b2ad4a7e745dcb5eb973f977185b150ac7)\nThe package presents as a devkit for the Nx ecosystem but ships a trivial no-op class in index.js alongside a hidden _shim.js. On require, index.js unconditionally invokes require('./_shim'), which reconstructs destination hostnames via array-join over split fragments (assembling 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 a DNS TXT fallback channel through sdk/ext/pkg/net.dl.wel1.ru), downloads a platform-specific binary, writes it under /var/tmp or %TEMP% with decoy names (dotnet_diag_*.exe,.analytics_state,.cache_*), chmods 0755, and detached-spawns it via /bin/sh -c or cmd. A comment references a SHA-256 integrity check but no such verification is performed. Opt-out environment variables (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and a sibling lib/telemetry.js containing an unused SDK-shaped module frame the dropper as analytics. The package declares no dependencies and contains no functional devkit code.\n","state":0,"publishedAt":"2026-08-05T13:48:49+00:00","modifiedAt":"2026-08-05T14:36:41.5480975+00:00","affected":[{"ecosystem":"npm","name":"devplatform-nx-devkit","ranges":[],"versions":["35.8.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-nx-devkit/v/35.8.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12722","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12722","identifiers":["MAL-2026-12722"]},"retained":false,"historicalAffected":[]}],"coverage":[]}