VYPR

pypi · Malicious package advisory

Malware

document-inference

MAL-2025-3742

Malicious code in document-inference (PyPI)

Details


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

Compromised versions (3)

  • 0.0.2
  • 0.0.0
  • 0.0.1

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