{"id":"MAL-2026-5775","summary":"Malicious code in ckanext-dms (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5bce6d55a65fbab98cd93d6109b563f49e9557b542a8b9c2fd68e25755b7089e)\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 (952220d847df62120346c040448fa1a28fac115cb7a319027b1647c56e74c0f6)\nThe OpenSSF Package Analysis project identified 'ckanext-dms' @ 0.1.1 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2026-06-16T06:01:49.775212987Z","published":"2026-06-15T09:40:32Z","database_specific":{"malicious-packages-origins":[{"versions":["0.1.0","0.1.1"],"sha256":"5bce6d55a65fbab98cd93d6109b563f49e9557b542a8b9c2fd68e25755b7089e","modified_time":"2026-06-15T09:40:57.237047Z","import_time":"2026-06-15T10:38:08.972685535Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/ckanext-dms"},{"versions":["0.1.1"],"sha256":"952220d847df62120346c040448fa1a28fac115cb7a319027b1647c56e74c0f6","modified_time":"2026-06-15T09:41:03Z","import_time":"2026-06-16T05:56:18.679830846Z","source":"ossf-package-analysis"},{"versions":["0.1.0"],"modified_time":"2026-06-15T09:40:55Z","sha256":"cf199c8b975a20254c06f2c88b81e8f72b143df0d93362a5a3a30998e1aff012","import_time":"2026-06-16T05:56:18.769153972Z","source":"ossf-package-analysis"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ckanext-dms"}],"affected":[{"package":{"name":"ckanext-dms","ecosystem":"PyPI","purl":"pkg:pypi/ckanext-dms"},"versions":["0.1.0","0.1.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ckanext-dms/MAL-2026-5775.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"}]}