unifi-credential-server@99.0.0
Vulnerability report · Last retrieved from osv.dev October 7, 2026 at 9:32 AM UTC
OSV ID
MAL-2026-15692
Ecosystem
npm
Summary
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.
Source: amazon-inspector (6c9d5fc3394d6f2565267e1b19573ca0c58dbbe9149f7204ea39ccae5c53645f)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.