{"id":"MAL-2025-2973","summary":"Malicious code in marinff-test (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c25b081dd711bcb5076c5fbd0ea034850b8e428fed345d93e60036e0e91c9f66)\nInstalling the package starts a reverse shell. The remote server is, however, set as a local IP, so it's most probably testing\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: 2025-03-marinff\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\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","modified":"2026-03-19T12:54:35.128784Z","published":"2025-03-02T17:05:55Z","database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","versions":["0.2","0.3","0.4","0.5","0.6","0.7","0.8"],"id":"RLMA-2025-01971","import_time":"2025-03-31T07:07:05.850326954Z","modified_time":"2025-03-28T13:05:49Z","sha256":"1cb3616cbc3da5f19069fca2b3f1ba2cc972b73791fb361b72354c4e9f016286"},{"source":"reversing-labs","versions":["0.1"],"id":"RLUA-2025-02513","import_time":"2025-04-25T09:37:07.250763409Z","modified_time":"2025-04-23T16:06:27Z","sha256":"4af88abe2d21f03ca731b99d10260b01a444c323949c039178c3f3e75c7b47f9"},{"id":"pypi/2025-03-marinff/marinff-test","import_time":"2025-12-02T22:30:56.197506759Z","modified_time":"2025-03-02T17:05:55Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"1482d9db58b1d5249855fbeb854c95de3db27f27d2d7caad5ad9f2c96f4d8345","source":"kam193"},{"id":"pypi/2025-03-marinff/marinff-test","import_time":"2025-12-02T23:07:19.379591459Z","modified_time":"2025-03-02T17:05:55Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"c25b081dd711bcb5076c5fbd0ea034850b8e428fed345d93e60036e0e91c9f66","source":"kam193"},{"import_time":"2025-12-10T21:38:58.505651038Z","modified_time":"2025-03-02T17:05:55Z","sha256":"a4b6e79674f2a4cad89ea6d1e8c985816f1fc3bba0f542de15d3424a4fb530b7","source":"kam193","versions":["0.1","0.2","0.4","0.3","0.5","0.6","0.7","0.8"],"id":"pypi/2025-03-marinff/marinff-test"},{"sha256":"56b48c94c0e264d0c64e2ecb1e8029dd4c283903e99e2bc1b1043dc397f40d83","source":"kam193","versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8"],"id":"pypi/2025-03-marinff/marinff-test","import_time":"2025-12-30T22:39:04.310837461Z","modified_time":"2025-03-02T17:05:55Z"},{"import_time":"2026-03-19T12:20:01.905929056Z","modified_time":"2026-03-18T12:15:52Z","sha256":"3cdd7dfc5b8002090b6fa6147c8251554d2de854c66ba9166c91e1e8c0b44d6b","source":"reversing-labs","id":"RLUA-2026-00496"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/marinff-test"}],"affected":[{"package":{"name":"marinff-test","ecosystem":"PyPI","purl":"pkg:pypi/marinff-test"},"versions":["0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/marinff-test/MAL-2025-2973.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}