1 line
3.6 KiB
JSON
1 line
3.6 KiB
JSON
{"schema_version":"1.9.2","id":"MAL-2026-19953","published":"2026-11-16T09:50:16Z","modified":"2026-11-16T22:45:04.548436433Z","summary":"Malicious code in my-signature (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d4381e88116d48711083bd1e4934b898ce8bc9c347c7d8b5a18762488286d5b2)\nmy-signature 1.0.0 is advertised as a document integrity utility but contains import-time code (core.py, reached from __init__.py) that opens a TCP socket to ahqbb-13-205-45-209.run.pinggy-free.link:43017 (a Pinggy tunnel fronting 13.205.45.209), duplicates stdin/stdout/stderr onto that socket, and spawns /bin/sh via pty.spawn. Any `import my_signature` hands an interactive shell on the installer's host to the operator of that tunnel endpoint, with full privileges of the Python process. The behavior is unrelated to the package's stated purpose and fires automatically on import with no user interaction.\n\n## Source: kam193 (1b5a4db94700d5c867db98541b7066f27dae28f2d03a806a5d03a00ebce6c52c)\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-signature","ecosystem":"PyPI","purl":"pkg:pypi/my-signature"},"versions":["1.0.0"],"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_signature-1.0.0.tar.gz","my_signature-1.0.0-py3-none-any.whl"],"path":"my_signature/core.py","sha256":"f5cbcde68ac39f3ef0dba61ec3346dd5c3ffe0e4d16052286813e123fb30ffb3","tlsh":"e5f05c759a57720a27bbcfa8108dc4ac665253007fa41147b2ac46312f37f5842f02ab"}],"package_integrity":[{"filename":"my_signature-1.0.0-py3-none-any.whl","hashes":{"blake2b_256":"efd7d1bdfc14ded7c176cdb64e9346bdaf9117a186e0b4d3fbb5ef5ab00be6b5","md5":"b5c930948310a7c283de5ea519f2cf2c","sha256":"1fc48b73e613440ec64f2b953eb149aa57c94826549c6171eaace7ee2f5ba95e"}},{"filename":"my_signature-1.0.0.tar.gz","hashes":{"blake2b_256":"69390432d8031a7cee496bd98346ae5036ba9637ada3ccdb5aaaa978e0c5cc41","md5":"e389cc1b47322d32f1a12d4e45bd61f8","sha256":"3624366750ce9a56db6744eeb6a1ae109cbbda7cd6f14c54ecf5979d4b2b4281"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/my-signature/MAL-2026-19953.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/my-signature"},{"type":"PACKAGE","url":"https://pypi.org/project/my-signature/1.0.0/"}],"database_specific":{"iocs":{"domains":["mcwxz-13-205-45-209.run.pinggy-free.link","ahqbb-13-205-45-209.run.pinggy-free.link"]},"malicious-packages-origins":[{"id":"pypi/2026-11-my-poc-sandbox/my-signature","import_time":"2026-11-16T10:14:50.719721752Z","modified_time":"2026-11-16T09:50:16.595742Z","sha256":"1b5a4db94700d5c867db98541b7066f27dae28f2d03a806a5d03a00ebce6c52c","source":"kam193","versions":["1.0.0"]},{"id":"IN-MAL-2026-022814","import_time":"2026-11-16T22:36:32.268874041Z","modified_time":"2026-11-16T22:29:44Z","sha256":"d4381e88116d48711083bd1e4934b898ce8bc9c347c7d8b5a18762488286d5b2","source":"amazon-inspector","versions":["1.0.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"}]} |