xapi-lib
This package is for get the IP location and metadata
This report shows the evidence for xapi-lib@90.3.1. 4 of 5 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 7d ago · by lpm-firewall-aiThe package automatically sends an install-time request to a publisher-selected endpoint, with a hardcoded tag and no consent check. The lookup feature matches the package description, but the installation-triggered example is unnecessary and discloses the installer's network address.
Decision evidence
public snapshot- The preinstall hook runs index.js automatically during installation.
- The entrypoint sends an HTTPS lookup request to realwbx.com with a hardcoded authorization tag.
- The entrypoint invokes the lookup unconditionally for a fixed public IP, without a consent check.
- IP location lookup matches the package's stated purpose, but running its example during installation is not needed for that feature.
Source & flagged code
7 flagged · loading sourceIndependent review focus: trace hardcoded Authorization tag, req.end, automatic example call, effective consent and actual need to run that example during installation.
index.jsView on unpkgThe entrypoint invokes the lookup unconditionally for a fixed public IP, without a consent check.
index.jsView on unpkg · L38The entrypoint sends an HTTPS lookup request to realwbx.com with a hardcoded authorization tag.
index.jsView on unpkg · L5Findings
Affected versions and remediation
This report applies to xapi-lib@90.3.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing xapi-lib@90.3.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.