{"id":"MAL-2023-8764","summary":"Malicious code in excaliburx (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1d763da65172935a20c3b03c65deff16a2eb251d857d1fc34e4cc67b72f7610a)\nPackages either test the malicious behaviour, or actually download and run a simple remote script during the installation.\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: 2023-12-valuent\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\n - Downloads and executes a remote malicious script.\n\n## Source: ossf-package-analysis (9aa03155d8305b625aecdc1871776dc46f0c76e1fefd1a86c14b0198272f16a3)\nThe OpenSSF Package Analysis project identified 'excaliburx' @ 1.0.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2025-12-12T20:37:34.730192Z","published":"2023-12-25T21:15:41Z","database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","versions":["1.0.0"],"import_time":"2023-12-29T10:34:32.959849677Z","modified_time":"2023-12-25T21:15:41Z","sha256":"9aa03155d8305b625aecdc1871776dc46f0c76e1fefd1a86c14b0198272f16a3"},{"id":"pypi/2023-12-valuent/excaliburx","import_time":"2025-12-02T22:30:56.019624308Z","modified_time":"2024-11-30T09:03:27Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"f1df6c818b8b6a586372f7ef6d949bcbd76eb1891987a62eb0215895afda9317","source":"kam193"},{"id":"pypi/2023-12-valuent/excaliburx","import_time":"2025-12-02T23:07:19.218290228Z","modified_time":"2024-11-30T09:03:27Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"1d763da65172935a20c3b03c65deff16a2eb251d857d1fc34e4cc67b72f7610a","source":"kam193"},{"versions":["1.0.0"],"id":"pypi/2023-12-valuent/excaliburx","import_time":"2025-12-10T21:38:58.358846206Z","modified_time":"2024-11-30T09:03:27Z","sha256":"dec77b3ad72951b5f72861d3f8c18faeddb1aed08be453485f31d5af45afe5d7","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/excaliburx"}],"affected":[{"package":{"name":"excaliburx","ecosystem":"PyPI","purl":"pkg:pypi/excaliburx"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/excaliburx/MAL-2023-8764.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"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}