{"id":"MAL-2026-2548","summary":"Malicious code in ks-hex2pcap (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (90b58f7aa303c563186a1d1c2a89d13caec4e0c04a48f6838fcba294b7846e96)\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 (132e716f638d812c4fe6570c97a0029413983f2b384de3117871378952966991)\nThe OpenSSF Package Analysis project identified 'ks-hex2pcap' @ 99.0.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-04-11T09:03:42.423121Z","published":"2026-04-11T08:22:32Z","database_specific":{"malicious-packages-origins":[{"sha256":"90b58f7aa303c563186a1d1c2a89d13caec4e0c04a48f6838fcba294b7846e96","modified_time":"2026-04-11T08:35:39.32252Z","import_time":"2026-04-11T08:48:13.798921576Z","versions":["99.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/ks-hex2pcap","source":"kam193"},{"sha256":"132e716f638d812c4fe6570c97a0029413983f2b384de3117871378952966991","modified_time":"2026-04-11T08:22:32Z","import_time":"2026-04-11T08:47:56.273978261Z","versions":["99.0.0"],"source":"ossf-package-analysis"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ks-hex2pcap"}],"affected":[{"package":{"name":"ks-hex2pcap","ecosystem":"PyPI","purl":"pkg:pypi/ks-hex2pcap"},"versions":["99.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ks-hex2pcap/MAL-2026-2548.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"}]}