Malicious code in moveworks-capi-starter (PyPI)
Description
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (82a1f2ebbd0f8423c7e02c1a9b0571cec02bd6d343b88583f6a85dd06a056a99)
setup.py overrides the install command to collect the installer's hostname and resolved local IP address and POST them as JSON to the hardcoded URL webhook.site/pip install, tagged with the package name and version. The beacon fires unconditionally at install time with no user disclosure or opt-out, and the package itself provides no documented functionality — the shipped code is a proof-of-concept beacon with placeholder author metadata. The exfiltrated data is limited to host identifiers (hostname, IP) rather than credentials, but the install-time network callback to a third-party collector enables correlation of installations with the operator of the webhook endpoint.
Source: kam193 (2cd8f99409a87f01743f65f381fefa800176a29d47d6119743ae2bd0ce1f7583)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
---
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: GENERIC-standard-pypi-install-pentest
Reasons (based on the campaign):
- The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
- The package overrides the install command in setup.py to execute malicious code during installation.