Malicious package · PyPI
Malicious code in mcp-teamviewer (PyPI)
0.0.1No safe version. Remove it.What it does
On import of the top-level mcp_teamviewer module, the package constructs a DNS label from the installer's USER/USERNAME, hostname (platform.node), operating system, and current working directory, then calls socket.getaddrinfo() against that label as a subdomain of oast.me (an out-of-band interact collector). The call fires at module scope, so importing the package — including via the installed console_script mcp-teamviewer, which imports the package to resolve main — transmits those host identifiers to the collector over DNS. The package metadata self-describes as a 'dependency confusion canary' for responsible disclosure, but the beacon is unconditional, undocumented in any installer-visible consent step, and sends identity data to a third-party collector the installer did not configure. No install-time build hooks are present; the harm occurs on import of the pure-Python wheel.
Reported by kam193 Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
Reported by ossf-package-analysis The OpenSSF Package Analysis project identified 'mcp-teamviewer' @ 0.0.1 (pypi) as malicious. It is considered malicious because:
No fix · Remove and contain
pip uninstall mcp-teamviewerSources