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 epic-common-node (npm)

    The npm package epic-common-node was found to contain malicious code. The package has been identified and reported through GitHub Security Advisory GHSA-m36g-mhjr-ww2c.

    npmCompromised package
  2. containedcritical

    Malicious code in epic-common (npm)

    The npm package epic-common was found to contain malicious code. The package was identified by Amazon Inspector and reported through the OpenSSF malicious packages database.

    npmCompromised package
  3. containedcritical

    Malware in leb128x

    The npm package leb128x was found to contain malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised and all secrets and keys rotated immediately from a different machine.

    npmCompromised package
  4. containedcritical

    Malicious code in checkout-desktop-total (npm)

    The npm package checkout-desktop-total contained malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under wel1.ru. Any system that imported this package should be considered compromised.

    npmCompromised package