VYPR

pypi · Malicious package advisory

Malware

ritch

GHSA-25r6-gw9m-rg73

Malicious code in ritch (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (bc0d5c6c0c3175de2d5def02fe422574cfee5f7fe3a88f894de7122aa9dcf588)
Package is a typosquatting or dependency confusion attempt with a low-harm local-only action, like leaving a flag file.


---

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-local-typosquatting


Reasons (based on the campaign):


 - dependency-confusion


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - typosquatting

## Source: ossf-package-analysis (53836e778fae351105bebc4ec62937db1766d236b1ab050c142e8a57d863c7ea)
The OpenSSF Package Analysis project identified 'ritch' @ 1.0.0 (pypi) as malicious.

It is considered malicious because:

- The package executes one or more commands associated with malicious behavior.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ritch/MAL-2026-869.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/ritch
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ritch/MAL-2026-869.json
- https://github.com/advisories/GHSA-25r6-gw9m-rg73

Compromised versions (1)

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