{"id":"MAL-2024-12229","summary":"Malicious code in calculator-c08d6d50f5964131 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6343baa8b5e97a91b02979723f28035221550addc225d0e3911916a51ef5ef37)\nClearly research/pentesting examples containing reverse shell.\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-examples-with-revshell\n\n\nReasons (based on the campaign):\n\n\n - dependency-confusion\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":"2025-12-12T20:32:47.240513Z","published":"2024-08-30T21:14:34Z","database_specific":{"malicious-packages-origins":[{"sha256":"fe39991b437112af06f0775009986bf5833194a33941a4dd379605254739fe24","source":"kam193","id":"pypi/GENERIC-examples-with-revshell/calculator-c08d6d50f5964131","import_time":"2025-12-02T22:30:55.934121689Z","modified_time":"2024-08-30T21:14:34Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"sha256":"6343baa8b5e97a91b02979723f28035221550addc225d0e3911916a51ef5ef37","source":"kam193","id":"pypi/GENERIC-examples-with-revshell/calculator-c08d6d50f5964131","import_time":"2025-12-02T23:07:19.123440272Z","modified_time":"2024-08-30T21:14:34Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"id":"pypi/GENERIC-examples-with-revshell/calculator-c08d6d50f5964131","import_time":"2025-12-10T21:38:58.258356274Z","modified_time":"2024-08-30T21:14:34Z","sha256":"47df6dd48e50057ad0bd98ba7e2ba02535f84ac194171429fca42b0e3c4b85f4","source":"kam193","versions":["1000.0.2"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/calculator-c08d6d50f5964131"}],"affected":[{"package":{"name":"calculator-c08d6d50f5964131","ecosystem":"PyPI","purl":"pkg:pypi/calculator-c08d6d50f5964131"},"versions":["1000.0.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/calculator-c08d6d50f5964131/MAL-2024-12229.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":"REPORTER"}]}