VYPR

pypi · Malicious package advisory

Malware

foundry-jupyter-extension

GHSA-3fvw-hw72-hg89

Malicious code in foundry-jupyter-extension (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.23.0`

## Source: kam193 (8114162af3676e6c75f96e1dc953dae363e41fab4e9b3ce75a84b261aece0113)
Installing or importing the module triggers exfiltration of environmental variables


---

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


Campaign: 2025-07-foundry-jupyter-extension


Reasons (based on the campaign):


 - exfiltration-env-variables


 - 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.

## Source: ossf-package-analysis (18120bcaae1e9da4251368d123f8dfe860d3c2af2fbbb8393d2a323c5c8571f2)
The OpenSSF Package Analysis project identified 'foundry-jupyter-extension' @ 0.23.0 (pypi) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/foundry-jupyter-extension/MAL-2025-6248.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/foundry-jupyter-extension
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/foundry-jupyter-extension/MAL-2025-6248.json
- https://github.com/advisories/GHSA-3fvw-hw72-hg89

Compromised versions (1)

  • = 0.23.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.