Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malicious code in nxify-unic (npm)

The npm package nxify-unic contains malicious code that executes on module import. The _shim.js file downloads and executes platform-specific binaries from attacker-controlled Cloudflare Workers hosts without verification.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any Node.js application that imports nxify-unic
Ecosystems
Attack vectors
Affected entities
  • nxify-unicnpm package containing malicious code

The npm package nxify-unic has been identified as containing malicious code that executes automatically when the module is required. Upon import, the package loads _shim.js, which detects the operating system and architecture, then dynamically constructs hostnames at runtime to evade static analysis.

The malicious code downloads platform-matched binaries from attacker-controlled Cloudflare Workers endpoints (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT chunked-base64 fallback mechanism. The binaries are written to temporary directories (/var/tmp or %TEMP%) under decoy filenames such as dotnet_diag_.exe or .cache_, given executable permissions (0755), and spawned detached in the background.

The attack executes on module import rather than at a user-invoked entry point, meaning any application that requires nxify-unic will trigger the malicious behavior. The implementation uses runtime string manipulation and TTL caching to evade detection, with an environment variable opt-out mechanism.

This incident was identified by Amazon Inspector and credited to the OpenSSF malicious-packages project.

Indicators of compromise

Packages
  • nxify-unic
Domains
  • oob-worker.cf100-416.workers.dev
  • oob-worker.cf102-baf.workers.dev
  • oob-worker.cf101-adf.workers.dev
  • *.dl.well1.site

Remediation

  • Immediately remove nxify-unic from all dependencies and package.json files
  • Audit all systems where nxify-unic was installed for unauthorized binaries in /var/tmp, %TEMP%, and other temporary directories
  • Review process execution logs for suspicious spawned processes from temporary locations
  • Regenerate any credentials or secrets that may have been exposed on affected systems
  • Update npm lockfiles and reinstall dependencies from a clean state
  • Monitor for indicators of compromise from the identified Cloudflare Workers hosts and *.dl.well1.site domains

Sources

  1. GitHub Advisory GHSA-pph5-5pvw-w45m · GitHub Advisory Database

Cite this entry

"Malicious code in nxify-unic (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 5, 2026; last updated August 5, 2026. https://supplychainattack.org/incident/malicious-code-in-nxify-unic-npm-0rhcel

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. resolvedcritical

    Malicious code in santana-baileys (npm)

    Malicious code discovered in santana-baileys npm package that covertly relays WhatsApp messaging data to an attacker-controlled endpoint (https://fiora.nixel.my.id/) via obfuscated character-code reconstruction in the message-send code path.

    npmCompromised package
  2. resolvedcritical

    Malicious code in elephant-tusk-runner (npm)

    The npm package elephant-tusk-runner contained malicious code that exposed a remote shell and remote code execution surface via an unauthenticated Express + WebSocket server binding to 0.0.0.0:4201 with fully open CORS. Any peer able to reach the port could execute arbitrary commands on the host.

    npmCompromised package
  3. resolvedcritical

    Malicious code in @cats-cdf/browser-metrics-meter (npm)

    The npm package @cats-cdf/browser-metrics-meter contained malicious code in its preinstall lifecycle script that exfiltrated system reconnaissance data (username, hostname, public IP) to an OAST collector domain. The package executed this behavior unconditionally on installation without consent or documented purpose.

    npmCompromised package
  4. resolvedcritical

    Malicious code in @ks-video/kwai-player-web (npm)

    The npm package @ks-video/kwai-player-web contained malicious code in its postinstall hook that exfiltrated system reconnaissance data (hostname, username, working directory, network interfaces, environment variable names) over plain HTTP to an unrelated third-party domain. The package has no legitimate relationship to the declared publisher Kwai/@ks-video.

    npmCompromised package