{"id":"MAL-2026-6236","summary":"Malicious code in query-profile (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (9a60c7fce9ec29fa327128c80bca74a51b9f1965c50c6dc9286016fa31001bf1)\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 (668684938d648f2835b9065f86e06d3815d9c81999a32e50b6ffe61942bd7015)\nThe OpenSSF Package Analysis project identified 'query-profile' @ 0.0.3 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","modified":"2026-06-20T09:46:04.920411141Z","published":"2026-06-20T08:55:46Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/query-profile","sha256":"9a60c7fce9ec29fa327128c80bca74a51b9f1965c50c6dc9286016fa31001bf1","modified_time":"2026-06-20T08:58:27.447063Z","import_time":"2026-06-20T09:41:12.89494755Z","versions":["0.0.1","0.0.2","0.0.3"]},{"source":"ossf-package-analysis","sha256":"668684938d648f2835b9065f86e06d3815d9c81999a32e50b6ffe61942bd7015","modified_time":"2026-06-20T09:00:58Z","import_time":"2026-06-20T09:41:09.49557541Z","versions":["0.0.3"]},{"source":"ossf-package-analysis","sha256":"b09610327ce9bc65f6ccb9e068cb5b710272846418445fcb3cfa6579a5d633da","modified_time":"2026-06-20T08:55:46Z","import_time":"2026-06-20T09:41:09.378992505Z","versions":["0.0.2"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/query-profile"}],"affected":[{"package":{"name":"query-profile","ecosystem":"PyPI","purl":"pkg:pypi/query-profile"},"versions":["0.0.1","0.0.2","0.0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/query-profile/MAL-2026-6236.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"}]}