MAL-2026-6236

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/query-profile/MAL-2026-6236.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6236
Published
2026-06-20T08:55:46Z
Modified
2026-06-20T09:46:04.920411141Z
Summary
Malicious code in query-profile (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (9a60c7fce9ec29fa327128c80bca74a51b9f1965c50c6dc9286016fa31001bf1)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


Category: 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.

Campaign: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • The package overrides the install command in setup.py to execute malicious code during installation.

Source: ossf-package-analysis (668684938d648f2835b9065f86e06d3815d9c81999a32e50b6ffe61942bd7015)

The OpenSSF Package Analysis project identified 'query-profile' @ 0.0.3 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "9a60c7fce9ec29fa327128c80bca74a51b9f1965c50c6dc9286016fa31001bf1",
            "source": "kam193",
            "modified_time": "2026-06-20T08:58:27.447063Z",
            "versions": [
                "0.0.1",
                "0.0.2",
                "0.0.3"
            ],
            "id": "pypi/GENERIC-standard-pypi-install-pentest/query-profile",
            "import_time": "2026-06-20T09:41:12.89494755Z"
        },
        {
            "sha256": "668684938d648f2835b9065f86e06d3815d9c81999a32e50b6ffe61942bd7015",
            "source": "ossf-package-analysis",
            "modified_time": "2026-06-20T09:00:58Z",
            "versions": [
                "0.0.3"
            ],
            "import_time": "2026-06-20T09:41:09.49557541Z"
        },
        {
            "sha256": "b09610327ce9bc65f6ccb9e068cb5b710272846418445fcb3cfa6579a5d633da",
            "source": "ossf-package-analysis",
            "modified_time": "2026-06-20T08:55:46Z",
            "versions": [
                "0.0.2"
            ],
            "import_time": "2026-06-20T09:41:09.378992505Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / query-profile

Package

Affected ranges

Affected versions

0.*
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"