1 line
3.9 KiB
JSON
1 line
3.9 KiB
JSON
{"schema_version":"1.9.2","id":"MAL-2026-19951","published":"2026-11-16T08:46:51Z","modified":"2026-11-18T00:45:13.873351014Z","summary":"Malicious code in my-poc-sandbox (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fe7240da217bf567ae728de62165a0fafd2eabc3593644cbb0d250ae872c6a5c)\nOn `import my_poc_sandbox`, top-level code in core.py (reached via __init__.py) opens a TCP socket to the hardcoded host mcwxz-13-205-45-209.run.pinggy-free.link:37347, duplicates file descriptors 0, 1, and 2 onto that socket, and spawns `/bin/sh` via `pty.spawn`. The result is an interactive remote shell on the installer's machine with stdio streamed to the remote endpoint. The destination is a public pinggy-free.link ephemeral tunnel, not a first-party or vendor-controlled endpoint. The behavior fires with no user action, no authentication, and no disclosure in any README.\n\n## Source: kam193 (47b35ec3d2d855cfb8c9178f76b0ca47d6cc887c57223f2f4a93ea9444f78e21)\nDuring import, the package attempts to start a reverse shell.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-my-poc-sandbox\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","affected":[{"package":{"name":"my-poc-sandbox","ecosystem":"PyPI","purl":"pkg:pypi/my-poc-sandbox"},"versions":["1.0.0","1.0.1","1.0.2"],"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":["my_poc_sandbox-1.0.2.tar.gz","my_poc_sandbox-1.0.2-py3-none-any.whl"],"path":"my_poc_sandbox/core.py","sha256":"108c2ec0bd364dff7296999e60e898f7c903ec387896afe18664ed0e77149ecc","tlsh":"04f05c619a57720b67bbcf98108dc4ec665253007fa51107b36c46312e36f5842f02ab"}],"package_integrity":[{"filename":"my_poc_sandbox-1.0.2-py3-none-any.whl","hashes":{"blake2b_256":"f5e19878944f5dec49bce63711d6a1365bef8603be8615de132371253ceb7b01","md5":"d7147da0fcfd9b2ec71b328263b03154","sha256":"2fc6613bbe5348164c61ac7c549a9a2bcb1c4cd66bc451e77719f7bd23e42bae"}},{"filename":"my_poc_sandbox-1.0.2.tar.gz","hashes":{"blake2b_256":"c5735bfc7e3e1ad74e13d09f041ac654bc2d17961fd752caea63ea58ac32f83e","md5":"ebcfc075b633a80dbc22d88d3bfe2fb6","sha256":"cf750734a24e23b290befd11a0d2493391eef0a9b8aa5a496f76bd3774a1d84a"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/my-poc-sandbox/MAL-2026-19951.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/my-poc-sandbox"},{"type":"PACKAGE","url":"https://pypi.org/project/my-poc-sandbox/1.0.2/"}],"database_specific":{"iocs":{"domains":["mcwxz-13-205-45-209.run.pinggy-free.link"]},"malicious-packages-origins":[{"id":"pypi/2026-11-my-poc-sandbox/my-poc-sandbox","import_time":"2026-11-16T09:17:46.471938947Z","modified_time":"2026-11-16T08:46:52.705499Z","sha256":"47b35ec3d2d855cfb8c9178f76b0ca47d6cc887c57223f2f4a93ea9444f78e21","source":"kam193","versions":["1.0.0","1.0.1","1.0.2"]},{"id":"pypi/2026-11-my-poc-sandbox/my-poc-sandbox","import_time":"2026-11-16T10:14:50.658179764Z","modified_time":"2026-11-16T08:46:52.705499Z","sha256":"e09f5e6a96d436caef5a37401e1f79878f69c989848c6902c11d7a9bb41e60aa","source":"kam193","versions":["1.0.0","1.0.1","1.0.2"]},{"id":"IN-MAL-2026-022826","import_time":"2026-11-18T00:30:52.407376315Z","modified_time":"2026-11-17T23:40:55Z","sha256":"fe7240da217bf567ae728de62165a0fafd2eabc3593644cbb0d250ae872c6a5c","source":"amazon-inspector","versions":["1.0.2"]}]},"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"}]} |