# MAL-2026-18135: Malicious code in batchspar (PyPI)


- **Type:** Malicious package
- **Package:** `batchspar` (PyPI)
- **Published:** 21 Oct 2026

## What is MAL-2026-18135?

MAL-2026-18135 is a malicious package in batchspar, published on 21 Oct 2026. 

### Official description

Analysis of batchspar 0.1.0 surfaced no indicators of installer harm. No install-time or import-time network activity, no credential or environment scraping, no dropper or fetch-and-execute behavior, no silent-relay path, and no backdoor mechanism were observed across the scanned files.

This campaign consists of similar loader packages, which provide executing code from a given URL. While they do not contain the malicious payload and the usage remains unknown, they are clearly a coordinated campaign to place multiple deceptive ways to load malicious code.

---

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

Campaign: 2026-10-voice-synthesis-profiles

Reasons (based on the campaign):

 - Downloads and executes a remote malicious script.

 - other

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

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-18135 is a malicious package: batchspar (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-18135/ (Markdown: https://insights.sbomify.com/MAL-2026-18135/index.md)
```

## Sources

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

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