MAL-2026-869 Malicious code in ritch (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi ritch(PyPI) | = 1.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ritch(PyPI) | = 1.0.0 | No fix listed |