MAL-2026-19116 Malicious code in humbility-shared (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (62ef2123979b9b0569b31e090e1b575bc392c7e40aa1367eed178147b4931c4c)
setup.py defines a custom install cmdclass (PostInstall) that runs on pip install and collects installer-side identifiers — hostname, USER/USERNAME, current working directory, VIRTUAL_ENV, and CI-related environment variables — and POSTs them as JSON to a hardcoded interactsh collector at https://dbq1g44hj5j25tbieep0dmbhfakw1pyzc.oast.fun/humbility-shared, with an accompanying DNS prefetch of a package-named subdomain under the same canary host. The destination is not the installer's infrastructure and is not caller-configurable; the behavior is undisclosed and fires automatically from the sdist build on a default install when no matching wheel is available, and the shipped wheel installs the same package tree. The name and shape are consistent with a dependency-confusion canary squatting an internal package name on public PyPI to fingerprint build systems that resolve the public name instead of the intended private one.
Source: kam193 (bad6120ea5f69f851eafe78dfbb832979077fa6c0175c2bdda88bf073b8ad487)
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 humbility-shared(PyPI) | = 0.0.1; = 0.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi humbility-shared(PyPI) | = 0.0.1 | No fix listed |
| pypi humbility-shared(PyPI) | = 0.0.2 | No fix listed |
References
- bad-packages.kam193.eu
- pypi.org product
- pypi.org product