{"id":"MAL-2026-16377","summary":"Malicious code in cloushaar-poc-exfil-91827 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (58b36f7c6e3e2e536f43b51acc410985240e6de6d7bb1e1d78126131e888806f)\nThe package's setup.py, executed automatically during pip install, iterates a hardcoded list of installer-side filesystem paths (/flag, /flag.txt, /app/flag, /root/flag, and similar candidates), reads their contents, and transmits them via urllib.request.urlopen as a query-string parameter to the hardcoded endpoint https://webhook.site/f41d2013-dd84-4139-85f8-8e989e0761b8. The webhook.site host is an anonymous request-collector controlled by whoever provisioned that endpoint. The name and version suggest a proof-of-concept exfiltration package, but the shipped code performs real install-time filesystem reads and outbound HTTP exfiltration against any host that runs pip install on this artifact.\n\n## Source: kam193 (8ec6abf4fcd51274f6bf53cece87bc47051b0751b117e137c68d964b05753e16)\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","modified":"2026-09-22T14:30:06.900315452Z","published":"2026-09-22T07:01:53Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/cloushaar-poc-exfil-91827","import_time":"2026-09-22T07:22:17.293695322Z","modified_time":"2026-09-22T07:01:53.113128Z","sha256":"8ec6abf4fcd51274f6bf53cece87bc47051b0751b117e137c68d964b05753e16","source":"kam193","versions":["0.0.1"]},{"id":"IN-MAL-2026-020283","import_time":"2026-09-22T14:19:07.588964893Z","modified_time":"2026-09-22T13:56:02Z","sha256":"58b36f7c6e3e2e536f43b51acc410985240e6de6d7bb1e1d78126131e888806f","source":"amazon-inspector","versions":["0.0.1"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/cloushaar-poc-exfil-91827"},{"type":"PACKAGE","url":"https://pypi.org/project/cloushaar-poc-exfil-91827/0.0.1/"}],"affected":[{"package":{"name":"cloushaar-poc-exfil-91827","ecosystem":"PyPI","purl":"pkg:pypi/cloushaar-poc-exfil-91827"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/cloushaar-poc-exfil-91827/MAL-2026-16377.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"blake2b_256":"14aa5e697fa97107593f6b1abe15b5786846a50ed19789f3344d3475678a05fa","md5":"315b4d7468adb0fea9e6586654bf24df","sha256":"0d1859e7398157044692f3a3a2733b6900507fa5d9e29c5e73cfdf7c4b1948b3"},"filename":"cloushaar_poc_exfil_91827-0.0.1-py3-none-any.whl"},{"filename":"cloushaar_poc_exfil_91827-0.0.1.tar.gz","hashes":{"sha256":"94287a48c32bef27ba25edbac874aebde2492d6a1709e402ef99dee525a64cd8","blake2b_256":"2f74871886a653f17898f03a577ccd382b611fa2c307a89ce2d175c109ba5ae6","md5":"24838c30aafaac207673389fb548af9c"}}],"evidence_files":[{"path":"setup.py","sha256":"3947cf7c2e20212f03cf711c456cad30ff6fe82736ad11db52c28529c9245407","tlsh":"70f0a2536e263109a1e1d45d4930e976e3239313c30395a3b6cc67b61f5d87cdc42d05"}]}}}],"schema_version":"1.9.0","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"}]}