{"id":"MAL-2025-6580","summary":"Malicious code in rwimodeling (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c4d5196b5b1d70996b551a78ddfb633a1dcdf4319c51f2ea14d6c7d2cb60a61f)\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-03-19T12:56:49.276953Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"42dc888ad1b50d9e28139a8980351c8fa7467323674c840d462fb9bd2669bdb8","import_time":"2025-08-01T10:07:13.655348277Z","source":"reversing-labs","id":"RLMA-2025-03679","versions":["10.0.2"],"modified_time":"2025-07-31T19:16:20Z"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T22:30:56.385317451Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/rwimodeling","modified_time":"2024-07-26T16:53:30Z","sha256":"d1d463ebc5b5889f7eb1e135115df5ba00c0900ca4293b884112a3bcec4aa339"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T23:07:19.57251461Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/rwimodeling","modified_time":"2024-07-26T16:53:30Z","sha256":"c4d5196b5b1d70996b551a78ddfb633a1dcdf4319c51f2ea14d6c7d2cb60a61f"},{"sha256":"0f600bc48c21d581fd9068d51cd0162dcc94db632feadab85fb04d1fc47075ea","import_time":"2025-12-10T21:38:58.674840423Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/rwimodeling","versions":["10.0.1","10.0.2"],"modified_time":"2024-07-26T16:53:30Z"},{"sha256":"5d7bbc9deecdbf3dffd7bec92cb2a0a05ca8e2d2cb81527c3b982c84e6998110","import_time":"2026-03-19T12:20:25.91818501Z","source":"reversing-labs","id":"RLUA-2026-00741","modified_time":"2026-03-18T12:18:36Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/rwimodeling"}],"affected":[{"package":{"name":"rwimodeling","ecosystem":"PyPI","purl":"pkg:pypi/rwimodeling"},"versions":["10.0.2","10.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/rwimodeling/MAL-2025-6580.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"}]}