MAL-2026-5287 Malicious code in uhd-setup (npm)

Malicious package Published
Package
uhd-setup
Registry
npm

What is MAL-2026-5287?

MAL-2026-5287 is a malicious package in uhd-setup, published on 6 Jun 2026.

Official description

package.json declares scripts.preinstall: node index.js. On npm install, index.js (lines 4-5) performs dns.resolve and https.get against <id>.d8hiivedv3ok8hrng5eghchyw4hwsioaz.oast.online, an Interactsh OAST collector. The request fires unconditionally with no opt-out, leaking the installer's egress IP, internal DNS resolver identity, and fact-of-install (with the package id encoded in the subdomain and URL path) to a third-party-controlled endpoint. The README frames this as authorized dependency-confusion research targeting Ubiquiti, but the beacon does not gate on any organizational identifier — any installer that pulls this name (typo, internal-name collision, automated mirror) sends build-system metadata to the researcher. Trigger is the preinstall lifecycle hook, so the network call fires before any code review opportunity.

The OpenSSF Package Analysis project identified 'uhd-setup' @ 99.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

What should I do about MAL-2026-5287?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-5287 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free