---
id: MAL-2026-5335
title: Malicious code in xfoobar (PyPI)
summary: Malicious code in xfoobar (PyPI)
severity: none
vendor: xfoobar
product: xfoobar
ecosystem: pip
affected:
  - xfoobar
published: '2026-06-08'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-5335'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/xfoobar'
  - url: 'https://pypi.org/project/xfoobar/0.0.5/'
tags:
  - osv
  - pip
ingestedAt: '2026-07-09T11:56:19.424Z'
---

## Overview


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

## Source: amazon-inspector (d82d6f4e4dba40d2e4677eb00c301bc816c8fe442704bdb9ed1f51a3d90e8f75)
The package was found to contain malicious code or consuming dependency that contains malicious code

## Source: kam193 (a54c1c17d20a069af19c48751aada9e426bcbf55484c360cf21ac70f35d3d0dd)
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.


## Affected packages

- `xfoobar`

## Remediation

Refer to the advisory for the patched release.
