{"id":"MAL-2026-4181","summary":"Malicious code in stripe-commands (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (25869cea9557ac431847a2e11b5c78d6da5ee072b1d73f1d0fa6ccc895d2be60)\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\n## Source: ossf-package-analysis (f6d2afa8a178bba80dd91cc1d2e1be5586484b64404bb09f9cd8e3915d062916)\nThe OpenSSF Package Analysis project identified 'stripe-commands' @ 8.5.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","modified":"2026-05-20T06:30:54.765431984Z","published":"2026-05-20T02:10:44Z","database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","sha256":"f6d2afa8a178bba80dd91cc1d2e1be5586484b64404bb09f9cd8e3915d062916","import_time":"2026-05-20T03:14:13.157118595Z","modified_time":"2026-05-20T02:10:44Z","versions":["8.5.0"]},{"import_time":"2026-05-20T06:26:20.481881797Z","id":"pypi/GENERIC-standard-pypi-install-pentest/stripe-commands","modified_time":"2026-05-20T06:01:57.587174Z","versions":["8.5.0"],"source":"kam193","sha256":"25869cea9557ac431847a2e11b5c78d6da5ee072b1d73f1d0fa6ccc895d2be60"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/stripe-commands"}],"affected":[{"package":{"name":"stripe-commands","ecosystem":"PyPI","purl":"pkg:pypi/stripe-commands"},"versions":["8.5.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/stripe-commands/MAL-2026-4181.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}