{"id":"MAL-2026-12506","revision":"2cacd51e06ae41bbaabd535b3a96e402","records":[{"revision":"2cacd51e06ae41bbaabd535b3a96e402","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12506","aliases":[],"title":"Malicious code in @latlongid/location (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (134cf39570bebc6b10043353b9194b41e30da9b0f55147501ccc060bb32c7e8e)\n@latlongid/location@1.0.1 declares `postinstall: node index.js` in package.json, so `index.js` runs automatically on every `npm install`. That script hex-encodes the installer's `os.hostname()` and embeds it as a subdomain of `dns.gl0b.xyz`, then invokes `dns.lookup` on the constructed name (e.g. `2d5bccee-...-h<hex(hostname)>.<rand>.dns.gl0b.xyz`). The DNS query name itself carries the host identifier off the machine, so exfiltration succeeds regardless of resolution result. The scoped name and generic 'internal utility' metadata are consistent with a dependency-confusion reconnaissance beacon designed to enumerate reachable internal build environments.\n","state":0,"publishedAt":"2026-08-05T13:13:42+00:00","modifiedAt":"2026-08-05T14:35:01.7543925+00:00","affected":[{"ecosystem":"npm","name":"@latlongid/location","ranges":[],"versions":["1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@latlongid/location/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12506","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12506","identifiers":["MAL-2026-12506"]},"retained":false,"historicalAffected":[]}],"coverage":[]}