MAL-2026-5335 Malicious code in xfoobar (PyPI)

Malicious package Published
Package
xfoobar
Registry
PyPI

What is MAL-2026-5335?

MAL-2026-5335 is a malicious package in xfoobar, published on 8 Jun 2026.

Official description

The package was found to contain malicious code or consuming dependency that contains malicious code

During import, the package starts a reverse shell


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

Campaign: 2026-06-anthropy

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

What should I do about MAL-2026-5335?

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

Sources

Is MAL-2026-5335 in your software?

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

Check your SBOMs for free