Advisory

MAL-2026-15692

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in unifi-credential-server (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (6c9d5fc3394d6f2565267e1b19573ca0c58dbbe9149f7204ea39ccae5c53645f)
package.json declares a preinstall hook that runs index.js on npm install. index.js collects hostname, username, working directory, internal IPv4 addresses from os.networkInterfaces(), and CI/build environment variables (GITHUB_REPOSITORY, GITHUB_RUN_ID, GITLAB_CI, npm_config_registry, npm_package_name, AWS_REGION, JENKINS_URL, and others), hex-encodes the payload into <=60-character DNS labels appended to the hardcoded base domain d8hjn6ap4rntta9vj5ve0jkl1seb4k3kci.oast.me, and exfiltrates via dns.resolve() of the constructed FQDN plus an https.get() to the same host. A secondary DNS query using the package name as a subdomain is also emitted. The name unifi-credential-server and version 99.0.0 are consistent with a dependency-confusion lure targeting internal builds that resolve the name against the public registry.

Severity

Not rated by the source.

Dates

Published
2026-08-24 17:15 UTC
Modified
2026-09-09 01:45 UTC

Affected packages and fixes

unifi-credential-server

npm · All systems

Affected

  • Versions: 99.0.0

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences