MAL-2026-6236 Malicious code in query-profile (PyPI)

Malicious package Published
Package
query-profile
Registry
PyPI

What is MAL-2026-6236?

MAL-2026-6236 is a malicious package in query-profile, published on 20 Jun 2026.

Official description

This package's metadata and README openly declare it as a dependency-confusion proof-of-concept that registers a PyPI name referenced in Apple's ml-health-query-profiles tutorial. The current payload is inert: init.py only sets version and main.py prints a notice — no network calls, no subprocess execution, no file or credential access at install or import time. However, anyone following the upstream tutorial that references this package name would silently pull this PoC into their environment. Although the present version is benign, the registered name occupies a namespace slot that a third party referenced, and any future version published under this name would automatically reach those installers. Routing to human review so an adjudicator can decide whether the PoC nature warrants a public advisory and whether the upstream tutorial reference needs coordination.

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.

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.

What should I do about MAL-2026-6236?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-6236 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free