{"id":"MAL-2026-16212","summary":"Malicious code in cli-anything-ai-market (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c5319f74a06670d40b020831dae38da696aa966dc1fdfde45063abb0024df922)\nsetup.py runs automatically during `pip install` and POSTs the installer's OS, username (USER/USERNAME), and hostname (via COMPUTERNAME on Windows or the `hostname` command on POSIX) as form-encoded data to the hardcoded plaintext HTTP endpoint http://182.92.143.23/collect.php. The package declares `packages=[]` and ships no importable code implementing the advertised CLI, so the beacon is the sole install-time behavior. The destination is a bare-IP HTTP endpoint unrelated to any legitimate PyPI or vendor infrastructure, and the collected fields identify the installer's machine and account.\n\n## Source: kam193 (102c2da9fcddf1e398e47d284721f74769e1b5f4c8806570b253a5cc426396e2)\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-16T07:30:03.997226873Z","published":"2026-09-16T06:21:48.646620Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.17"],"id":"IN-MAL-2026-020080","import_time":"2026-09-16T06:31:14.874200594Z","modified_time":"2026-09-16T06:31:04Z","sha256":"692bd47881a72006971a37c841c289092e652dbd02d576d190d0db1115176719","source":"amazon-inspector"},{"id":"IN-MAL-2026-020081","import_time":"2026-09-16T06:56:08.258611519Z","modified_time":"2026-09-16T06:31:11Z","sha256":"c5319f74a06670d40b020831dae38da696aa966dc1fdfde45063abb0024df922","source":"amazon-inspector","versions":["1.0.18"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/cli-anything-ai-market","import_time":"2026-09-16T06:56:11.698273415Z","modified_time":"2026-09-16T06:21:48.682209Z","sha256":"102c2da9fcddf1e398e47d284721f74769e1b5f4c8806570b253a5cc426396e2","source":"kam193","versions":["1.0.17","1.0.18"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/cli-anything-ai-market","import_time":"2026-09-16T07:21:58.140992312Z","modified_time":"2026-09-16T06:21:48.682209Z","sha256":"b50f255b162d228a6a15a32a0f6cc9af174f0f04adb4402b9fe9602ff600dceb","source":"kam193","versions":["1.0.17","1.0.18"]}]},"references":[{"type":"PACKAGE","url":"https://pypi.org/project/cli-anything-ai-market/1.0.17/"},{"type":"PACKAGE","url":"https://pypi.org/project/cli-anything-ai-market/1.0.18/"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/cli-anything-ai-market"}],"affected":[{"package":{"name":"cli-anything-ai-market","ecosystem":"PyPI","purl":"pkg:pypi/cli-anything-ai-market"},"versions":["1.0.17","1.0.18"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"cli_anything_ai_market-1.0.17.tar.gz","hashes":{"sha256":"51e438c99a0ef9a34be25106e04e36cef8ee0bef9346c877b04c3b08b976a52c","blake2b_256":"accb1c860258714ba5f237a651d64c76a002ee74edfa92e6311c3de153b62f69","md5":"f323d858674b2a644acd662c85334bb4"}}],"evidence_files":[{"path":"setup.py","sha256":"a7178d7205647c74d8d3cbdda438285a5284ff5b1bfaf49de77b351e5092dcd1","tlsh":"f11144829b2abc81428e23f1586011393b76560b4d5398153f9d030e9fd776b89a797a"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/cli-anything-ai-market/MAL-2026-16212.json"}}],"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"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}