registry / Data exfiltration / @latlongid/location
@latlongid/location
internal utility
This report shows the evidence for @latlongid/location@1.0.1, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe package performs no location-related function; its install hook exists to transmit a machine identifier through DNS. This is concrete install-time data exfiltration.
Static reason
One or more suspicious static signals were detected.
Trigger
npm installation executes the postinstall script.
Impact
Discloses a hostname-derived identifier to an external DNS domain during installation.
Mechanism
postinstall DNS-based hostname exfiltration
Attack narrative
On installation, package.json invokes index.js. That file reads os.hostname(), hex-encodes and truncates it, adds a random value, and resolves a hostname under dns.gl0b.xyz. The DNS query transfers the hostname-derived value to the operator-controlled domain without user action.
AI rationale
The package performs no location-related function; its install hook exists to transmit a machine identifier through DNS. This is concrete install-time data exfiltration.
Evidence
package.jsonindex.js
Network endpoints1
dns.gl0b.xyz
Decision evidence
public snapshotAI called this Malicious at 99.0% confidence as Malware with low false-positive risk.
Evidence for block
- package.json runs `node index.js` via postinstall.
- index.js reads the machine hostname and hex-encodes it.
- index.js makes a DNS lookup carrying the hostname-derived value in a subdomain.
- The lookup includes a per-install random label, enabling external correlation.
Evidence against
- No file writes, shell execution, or payload loading were found.
- index.js exports only `{ ok: true }` aside from the install-time DNS request.
Behavioral surface
Crypto
Trivial
Source & flagged code
1 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node index.js
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkgFindings
1 High1 Low
HighInstall Time Lifecycle Scriptspackage.json
LowScripts Present
Affected versions and remediation
This report applies to @latlongid/location@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing @latlongid/location@1.0.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.