MAL-2026-12506 Malicious code in @latlongid/location (npm)

Malicious package Published
Package
@latlongid/location
Registry
npm

What is MAL-2026-12506?

MAL-2026-12506 is a malicious package in @latlongid/location, published on 5 Aug 2026.

Official description

@latlongid/[email protected] 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.

What should I do about MAL-2026-12506?

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

Sources

Is MAL-2026-12506 in your software?

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

Check your SBOMs for free