Files
vuln-osv/data/PyPI/MAL-2026-19116.json
T

1 line
4.6 KiB
JSON

{"schema_version":"1.9.2","id":"MAL-2026-19116","published":"2026-11-11T08:34:00Z","modified":"2026-11-12T03:45:03.252954552Z","summary":"Malicious code in humbility-shared (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (62ef2123979b9b0569b31e090e1b575bc392c7e40aa1367eed178147b4931c4c)\nsetup.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.\n\n## Source: kam193 (bad6120ea5f69f851eafe78dfbb832979077fa6c0175c2bdda88bf073b8ad487)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","affected":[{"package":{"name":"humbility-shared","ecosystem":"PyPI","purl":"pkg:pypi/humbility-shared"},"versions":["0.0.1","0.0.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"artifacts":["humbility_shared-0.0.2.tar.gz"],"path":"setup.py","sha256":"2f2be1b7fb18274dc30f47aaf56a34c2d8ae0e9b19936592f3fd75cfededebb3","tlsh":"0f418102d9841cb297d350926c3362593332e113ae026c697ddc438c1f8f6adc1b63ed"}],"package_integrity":[{"filename":"humbility_shared-0.0.2-py3-none-any.whl","hashes":{"blake2b_256":"ad7e79f8992fc515300b826dcd2052fa7b5796a2ed313507563c9829d25df0b4","md5":"78de8334e0f7aced9018f240cb0bc93b","sha256":"21c40f3e99f9e54a98c8e91dd5bd5f2aaac9b1f46a54780d45d7c9467bd0898e"}},{"filename":"humbility_shared-0.0.2.tar.gz","hashes":{"blake2b_256":"92ea637044133555d84f9d1477ecc6125f2b0088ee56e0f6e7f4c354dfad5bb6","md5":"50219a1385c5f4bfecd3469ec8b4536e","sha256":"29ab708e58228ef5aff4161640ed142c5bd78b7247ecd1a5848df34f914e8946"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/humbility-shared/MAL-2026-19116.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/humbility-shared"},{"type":"PACKAGE","url":"https://pypi.org/project/humbility-shared/0.0.2/"},{"type":"PACKAGE","url":"https://pypi.org/project/humbility-shared/0.0.1/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/humbility-shared","import_time":"2026-11-11T09:13:15.507864771Z","modified_time":"2026-11-11T08:34:00.054982Z","sha256":"bad6120ea5f69f851eafe78dfbb832979077fa6c0175c2bdda88bf073b8ad487","source":"kam193","versions":["0.0.1","0.0.2"]},{"id":"IN-MAL-2026-022629","import_time":"2026-11-12T03:36:56.282613971Z","modified_time":"2026-11-12T03:34:03Z","sha256":"5a497af9223d888f88e6c87b0031bac56d6b2f42241dca333067882c7066051c","source":"amazon-inspector","versions":["0.0.2"]},{"id":"IN-MAL-2026-022630","import_time":"2026-11-12T03:36:56.311810489Z","modified_time":"2026-11-12T03:34:14Z","sha256":"62ef2123979b9b0569b31e090e1b575bc392c7e40aa1367eed178147b4931c4c","source":"amazon-inspector","versions":["0.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}