MAL-2026-2240Malicious code in magtape (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | magtape | 0.3.0 |
{"modified":"2026-03-26T23:47:09Z","published":"2026-03-26T16:21:03Z","schema_version":"1.7.4","id":"MAL-2026-2240","summary":"Malicious code in magtape (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6f476b63043b398a38eb28706575478aab4fb04820ce16d7836e726df21a1a93)\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 (2e742ed739f9400f4529d07a6c69bbae48760e12991d549e3a6d2b14a48d8083)\nThe OpenSSF Package Analysis project identified 'magtape' @ 0.3.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"ecosystem":"PyPI","name":"magtape"},"versions":["0.3.0"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/magtape"}],"credits":[{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"kam193","sha256":"6f476b63043b398a38eb28706575478aab4fb04820ce16d7836e726df21a1a93","import_time":"2026-03-26T17:28:00.847439024Z","id":"pypi/GENERIC-standard-pypi-install-pentest/magtape","modified_time":"2026-03-26T16:50:49.545399Z","versions":["0.3.0"]},{"source":"ossf-package-analysis","sha256":"2e742ed739f9400f4529d07a6c69bbae48760e12991d549e3a6d2b14a48d8083","import_time":"2026-03-26T23:44:59.76554613Z","modified_time":"2026-03-26T16:21:03Z","versions":["0.3.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0