Malicious package · PyPI
Malicious code in blessclient (PyPI)
0.0.10.0.2No safe version. Remove it.What it does
The package name matches Lyft's internal python-blessclient and is published on the public index as a dependency-confusion tripwire. setup.py overrides the install command class (InstallWithCanary) to issue an HTTP GET to http://canarytokens.com/about/static/obeoafaz522zscu7248tqu4rh/submit.aspx during pip install, and blessclient/__init__.py fires the same beacon at import time via urllib.request.urlopen(_CANARY_URL). The beacon body carries only what an ordinary HTTP GET reveals (source IP, User-Agent); no environment variables, filesystem contents, or credentials are read or transmitted, and no code is fetched or executed. The destination is the canarytokens.com research service rather than attacker-controlled infrastructure. Installing this package discloses the fact and source of the install to whoever configured the canary token, and executes network I/O at install and import time without opt-out.
Reported by kam193 Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
No fix · Remove and contain
pip uninstall blessclientSources