{"id":"MAL-2025-191881","summary":"Malicious code in supersafecalc (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7e6f4c47c6eaf1976109a771b78c82dbda4409960e11301f85bf120add36b78c)\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":"2025-12-12T20:43:02.993227Z","published":"2025-07-28T18:58:47Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/supersafecalc","import_time":"2025-12-02T22:30:56.422967616Z","modified_time":"2025-07-28T18:58:47.215994Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"73e1cc99e0130fa0f184ade0d88f1d3e2e7c03061f1aa8486df169a73583229d","source":"kam193"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"7e6f4c47c6eaf1976109a771b78c82dbda4409960e11301f85bf120add36b78c","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/supersafecalc","import_time":"2025-12-02T23:07:19.608196698Z","modified_time":"2025-07-28T18:58:47.215994Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/supersafecalc","import_time":"2025-12-10T21:38:58.711976036Z","modified_time":"2025-07-28T18:58:47.215994Z","sha256":"c1d27f510d8cdefa593bdc4566545621d011a34a90ae60f0d19e382ebf0be3a1","source":"kam193","versions":["2.0.0","2.0.1","3.0.1"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/supersafecalc"}],"affected":[{"package":{"name":"supersafecalc","ecosystem":"PyPI","purl":"pkg:pypi/supersafecalc"},"versions":["2.0.0","2.0.1","3.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/supersafecalc/MAL-2025-191881.json"}}],"schema_version":"1.7.3","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":"ANALYST"}]}