VYPR

pypi · Malicious package advisory

Malware

projectp

GHSA-h59f-c234-pcc2

Malicious code in projectp (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 94.6`

## Source: kam193 (f40cc91696052e8a21ac505ab295f1e6ca955f84096a8196bea68ed42a34e79c)
A campaign of probably pentest packages flooding PYPI. Installing the package or importing the module triggers reporting basic info like hostname, path and the username to the package author. There is no other purpose of the package.


---

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: 2024-11-byted-dast


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.


 - typosquatting


 - dependency-confusion

## Source: ossf-package-analysis (f202668d0257d93c9db7e000752b8802d83806caecb1b4f832e50afa7c58337f)
The OpenSSF Package Analysis project identified 'projectp' @ 94.6 (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/projectp/MAL-2024-10645.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/projectp
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/projectp/MAL-2024-10645.json
- https://github.com/advisories/GHSA-h59f-c234-pcc2

Compromised versions (1)

  • = 94.6

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