pypi package report

Is infra-libs safe?

infra-libs is a confirmed malicious pypi package. CyberXYZ Proxy blocks it. It has no CVE advisories; the risk is the package's own code.

Do not install this package

CRITICAL

Malicious package. Added to CyberXYZ 2026-11-08, OSV malicious-package feed (Google / OpenSSF).

// what we observed

infra-libs 99.99.99 performs install-time and import-time DNS exfiltration of the installer's hostname. setup.py constructs a subdomain label of the form install-<random-id>-<hostname> and calls socket.getaddrinfo against <label>.testa213022.dssldrf.net, causing the authoritative name server for that zone to receive the installer's platform.node() value during pip install. gcp_log_poc/__init__.py repeats the same pattern with an import-<id>-<hostname> label on every import of the package, and the module docstring explicitly describes the behavior as a 'DNS callback on import.' The destination domain testa213022.dssldrf.net is unrelated to any declared publisher or purpose, the package has no documented functionality that would justify a hostname-encoded DNS lookup, and the name infra-libs is confusable with internal/infrastructure naming conventions commonly targeted by dependency-confusion attacks. No legitimate behavior accompanies the beacon.

Reported by Amazon Inspector via OSV.

// versions and what to do
Malicious
99.99.99

Remove it from every machine and lockfile it reached. Treat any credentials, tokens and SSH keys present on those machines as exposed and rotate them. Check CI runners and container images that installed it.

pip uninstall infra-libs

OSV recordreference

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      No published models are known to use this package.


      // questions
      Is infra-libs safe to install?

      Confirmed malicious. Do not install it, and remove it where it has been installed.

      Does infra-libs have known vulnerabilities?

      No CVE advisories are recorded for infra-libs (pypi), but it has a malicious-package record: the risk is the package's own code, not a CVE.

      How do I check infra-libs before installing?

      Search infra-libs in CyberXYZ Check at https://cyberxyz.io/check?q=infra-libs. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


      Checked 2026-11-23 at 03:10 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.