pypi package report

Is expect-tests safe?

expect-tests 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

setup.py and gcp_log_poc/__init__.py read the installer's hostname via platform.node() and encode it into a subdomain of testa213022.dssldrf.net, then invoke socket.getaddrinfo() to trigger DNS resolution to that domain's authoritative server. This causes the installer's hostname to be exfiltrated to a non-first-party DNS server both when pip builds/installs the package (setup.py) and whenever the installed module is imported. The destination domain is unrelated to any legitimate purpose declared by the package, the package name (expect-tests) and the imported module name (gcp_log_poc) do not match, and the behavior is undisclosed. The 99.99.99 version number and name-vs-module mismatch are consistent with a dependency-confusion / name-squat lure.

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 expect-tests

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 expect-tests safe to install?

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

      Does expect-tests have known vulnerabilities?

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

      How do I check expect-tests before installing?

      Search expect-tests in CyberXYZ Check at https://cyberxyz.io/check?q=expect-tests. 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.