{"id":"MAL-2026-5812","summary":"Malicious code in hello-test-s1 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e168a49ebd07050fbf35d1cd9714b289903c0593b9bdef27874f975be60461b7)\nThe package was found to contain malicious code or consuming dependency that contains malicious code\n\n## Source: kam193 (3e38aef2a7eaa434284aa00122cf429e1a1a07658e02afec7bb3690d7cbfe9ec)\nDuring installation or importing the module, the package starts a reverse shell to hardcoded locatiom\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-12-aiogram-sever-patch\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - dependency-confusion\n","modified":"2026-07-08T20:47:14.514918277Z","published":"2026-06-15T17:39:49Z","database_specific":{"iocs":{"ips":["147.45.124.42"]},"malicious-packages-origins":[{"modified_time":"2026-06-15T17:41:54.234691Z","versions":["0.1.0","0.3.0","0.3.1"],"source":"kam193","sha256":"3e38aef2a7eaa434284aa00122cf429e1a1a07658e02afec7bb3690d7cbfe9ec","import_time":"2026-06-15T18:54:58.629045299Z","id":"pypi/2025-12-aiogram-sever-patch/hello-test-s1"},{"sha256":"e168a49ebd07050fbf35d1cd9714b289903c0593b9bdef27874f975be60461b7","import_time":"2026-07-08T20:32:18.232258944Z","id":"IN-MAL-2026-008358","modified_time":"2026-07-08T19:58:36Z","versions":["0.1.0"],"source":"amazon-inspector"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hello-test-s1"},{"type":"PACKAGE","url":"https://pypi.org/project/hello-test-s1/0.1.0/"}],"affected":[{"package":{"name":"hello-test-s1","ecosystem":"PyPI","purl":"pkg:pypi/hello-test-s1"},"versions":["0.1.0","0.3.0","0.3.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"hashes":{"blake2b_256":"10f661f6fe847ea79af099c902328a9d12dcb6e031edb3721df9ada21c54192c","md5":"9016bb98c1672cc69f6e51046457fdeb","sha256":"7533e42e21b798b347fbe513c9ada141a95bfda5130033cc5dc30ff5172ab6c7"},"filename":"hello_test_s1-0.1.0.tar.gz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hello-test-s1/MAL-2026-5812.json"}}],"schema_version":"1.7.5","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"}]}