MAL-2025-3742 Malicious code in document-inference (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: kam193 (0519099776ddb5cbd1778fa5f043a1cad34d94d5116ae895120aba38608e7eb0)
Packages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code).
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-05-sl4x01
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.
-
exfiltration-env-variables
-
impersonation
Source: ossf-package-analysis (4dbb3f4bab26a0095d969efb7bd23845a0ab5683269ccb37f98fcaf285d845d3)
The OpenSSF Package Analysis project identified 'document-inference' @ 0.0.2 (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 document-inference(PyPI) | = 0.0.0; = 0.0.1; = 0.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi document-inference(PyPI) | = 0.0.2 | No fix listed |
| pypi document-inference(PyPI) | = 0.0.0 | No fix listed |
| pypi document-inference(PyPI) | = 0.0.1 | No fix listed |