1 line
4.2 KiB
JSON
1 line
4.2 KiB
JSON
{"schema_version":"1.9.2","id":"MAL-2026-18769","published":"2026-11-08T13:51:47Z","modified":"2026-11-12T00:45:06.791373992Z","summary":"Malicious code in lookuptest11 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5e9ac24971ad447f0248f201416c1921ca268ddb73ad057eee44eaf4868efb17)\nlookuptest11 0.0.1 performs DNS-based exfiltration of installer identity to the attacker-controlled domain testa213022.dssldrf.net. setup.py constructs a subdomain label of the form install-<random>-<hostname> from platform.node() and calls socket.getaddrinfo(label.testa213022.dssldrf.net, 80), causing the authoritative nameserver for that domain to receive the installer's hostname on every sdist build. gcp_log_poc/__init__.py performs the equivalent lookup with an import-<random>-<hostname> label at module load, so the same leak fires on every import of the installed wheel. The package exposes no functional API consistent with its name; the DNS calls are the only observable behavior and have no build or runtime purpose other than delivering host identifiers to the operator of testa213022.dssldrf.net.\n\n## Source: kam193 (fe5cc784eb96a4025bcd45731fcb19c3826a122a02ec4fed1cbee875fa2ca98b)\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":"lookuptest11","ecosystem":"PyPI","purl":"pkg:pypi/lookuptest11"},"versions":["0.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"artifacts":["lookuptest11-0.0.1.tar.gz"],"path":"setup.py","sha256":"3ccf00a87011bd3d73996310920d3ed92e43ac1c9f620b6eab83da6b18a6a023","tlsh":"8ce06a02c7339c5319a0168904f520b14f3f46133f32144d77c503205f9f05a8436617"},{"artifacts":["lookuptest11-0.0.1.tar.gz","lookuptest11-0.0.1-py3-none-any.whl"],"path":"gcp_log_poc/__init__.py","sha256":"4f4433d1b9b0dfe50d840daa089f6e931b6e984b1f9dc41fc41fa80a8299137e","tlsh":"0cd02b07e3b59c43a66222c700e871719e7f81026f2a1c6e69991b91cfaa4649535b54"}],"package_integrity":[{"filename":"lookuptest11-0.0.1-py3-none-any.whl","hashes":{"blake2b_256":"b173948ea61f9b3013a0f9f775a3909487f7dddf425d2fc916d08ce883a74867","md5":"f6e29412b0dc4d937f1e847cbbdec816","sha256":"74173d4860dfe393aa6a45e3382eb2075df92ccfb194fedfac3b7c2539038765"}},{"filename":"lookuptest11-0.0.1.tar.gz","hashes":{"blake2b_256":"feecdc8d300614c7199e8579ae2861b17f8f522a8693aa9d392fe3ce29d3858a","md5":"c6a2113b43e9c62773c6d4e62dc0d515","sha256":"c8874aaaf0544cf5207f3de9a19611e3d9e5ef1657747e20b69e1d7354df628c"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/lookuptest11/MAL-2026-18769.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/lookuptest11"},{"type":"PACKAGE","url":"https://pypi.org/project/lookuptest11/0.0.1/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/lookuptest11","import_time":"2026-11-08T14:10:37.569263977Z","modified_time":"2026-11-08T13:51:47.432846Z","sha256":"fe5cc784eb96a4025bcd45731fcb19c3826a122a02ec4fed1cbee875fa2ca98b","source":"kam193","versions":["0.0.1"]},{"id":"IN-MAL-2026-022624","import_time":"2026-11-12T00:30:24.653151672Z","modified_time":"2026-11-11T23:47:12Z","sha256":"5e9ac24971ad447f0248f201416c1921ca268ddb73ad057eee44eaf4868efb17","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"}]} |