devplatform-nx-husky
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-3q8c-jjq8-86cf
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in devplatform-nx-husky (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (0c4cd991fb1b5e2308797829d38de8ba8b673c91a889e800621d01faef34610d)
devplatform-nx-husky is a typosquat blending the nx and husky ecosystem terms; its exported class is an inert no-op and the package has no legitimate functionality. On require(), _vendor.js selects a per-platform payload path and fetches an executable from one of four Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev). If HTTPS delivery fails, it falls back to a DNS TXT covert channel under *.dl.wel1.ru (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), reading a chunk count from a c.<domain> TXT record and reassembling base64 TXT chunks into the payload. The bytes are written to /var/tmp (or %TEMP% on Windows) under an inconspicuous name, chmod 0755, and spawned detached via /bin/sh -c or cmd /c start. Destination hostnames and the child_process/chmodSync API names are reassembled at runtime from split-string arrays (e.g. ["oob-worke","r.cf102-baf.","work","ers.dev"].join(""), require("child_"+"process"), fs["chmod"+"Sync"]) to evade static detection. A second copy of the fetch-decode-chmod-spawn dropper is bundled in lib/telemetry.js under an 'Analytics SDK' cover story.
Source: ghsa-malware (bbf7609632af8a7f80ad4e0c4ba1cf57436d4d55d3f60377d6ea91e2fa1ed2ac)
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.
Not rated by the source.
0 (semver)None 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