{"id":"MAL-2026-15692","revision":"a3800fe157774a8db3a986a2c3397917","records":[{"revision":"a3800fe157774a8db3a986a2c3397917","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15692","aliases":[],"title":"Malicious code in unifi-credential-server (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6c9d5fc3394d6f2565267e1b19573ca0c58dbbe9149f7204ea39ccae5c53645f)\npackage.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.\n","state":0,"publishedAt":"2026-08-24T17:15:26+00:00","modifiedAt":"2026-09-09T01:45:05.1514091+00:00","affected":[{"ecosystem":"npm","name":"unifi-credential-server","ranges":[],"versions":["99.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/unifi-credential-server/v/99.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15692","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15692","identifiers":["MAL-2026-15692"]},"retained":false,"historicalAffected":[]}],"coverage":[]}