# MAL-2026-3035: Malicious code in promptflow-runtime (PyPI)


- **Type:** Malicious package
- **Package:** `promptflow-runtime` (PyPI)
- **Published:** 25 Apr 2026

## What is MAL-2026-3035?

MAL-2026-3035 is a malicious package in promptflow-runtime, published on 25 Apr 2026. 

### Official description

During import, package collects basic information about the system, performs deep fingerprinting, and reports the data to the remote target. The package description attempts to build an impression it's an official package. The package name refers to the Docker image used by Microsoft's project: https://github.com/microsoft/promptflow/blob/6bfdec06ef16d875ca3b1744a1ef133f08c35340/docs/cloud/azureai/runtime-change-log.md?plain=1#L8

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-04-promptflow-runtime

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.

 - dependency-confusion

 - impersonation

 - The package contains code to detect if it is running in a sandbox environment.

## What should I do about MAL-2026-3035?

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

## Fix prompt for AI coding agents

```text
MAL-2026-3035 is a malicious package: promptflow-runtime (PyPI). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-3035/ (Markdown: https://insights.sbomify.com/MAL-2026-3035/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-3035

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-3035/
Summaries are generated and may contain mistakes; the official description above is the record.
