VYPR

pypi · Malicious package advisory

Malware

walmart-genai-trace

GHSA-wj6q-qw9c-whxq

Malicious code in walmart-genai-trace (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 99.0.0`

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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5d6088758c822535c0b3be8189b2fe304ffbebe4/osv/malicious/pypi/walmart-genai-trace/MAL-2026-11420.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/walmart-genai-trace
- https://github.com/ossf/malicious-packages/blob/5d6088758c822535c0b3be8189b2fe304ffbebe4/osv/malicious/pypi/walmart-genai-trace/MAL-2026-11420.json
- https://github.com/advisories/GHSA-wj6q-qw9c-whxq

Compromised versions (1)

  • = 99.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.