MAL-2025-3742

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/document-inference/MAL-2025-3742.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-3742
Published
2025-05-10T11:05:49Z
Modified
2025-12-31T02:53:25.910285Z
Summary
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.
Database specific
{
    "iocs": {
        "domains": [
            "sl4x0.xyz"
        ]
    },
    "malicious-packages-origins": [
        {
            "sha256": "4dbb3f4bab26a0095d969efb7bd23845a0ab5683269ccb37f98fcaf285d845d3",
            "import_time": "2025-05-12T00:25:55.037942201Z",
            "modified_time": "2025-05-10T11:05:49Z",
            "versions": [
                "0.0.2"
            ],
            "source": "ossf-package-analysis"
        },
        {
            "sha256": "19d942f1e9c7601342053fa29d7c79572f7f4062c66779427b5dc1fc3bd1d7f0",
            "import_time": "2025-05-22T14:06:35.291201991Z",
            "modified_time": "2025-05-22T12:33:31Z",
            "versions": [
                "0.0.0",
                "0.0.1",
                "0.0.2"
            ],
            "id": "RLMA-2025-02569",
            "source": "reversing-labs"
        },
        {
            "sha256": "7f6121ccf7ad568310d096f3dfe660590ca61be0024897b1d6ba4e148fd93b5b",
            "import_time": "2025-12-02T22:30:55.112081961Z",
            "modified_time": "2025-05-10T17:59:53Z",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-05-sl4x01/document-inference",
            "source": "kam193"
        },
        {
            "sha256": "0519099776ddb5cbd1778fa5f043a1cad34d94d5116ae895120aba38608e7eb0",
            "import_time": "2025-12-02T23:07:18.123681553Z",
            "modified_time": "2025-05-10T17:59:53Z",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-05-sl4x01/document-inference",
            "source": "kam193"
        },
        {
            "sha256": "eb38a693e9340cfa5d8cc982cae8ad6d198923e93393eb3b3ba0f143c1bf9fda",
            "import_time": "2025-12-10T21:38:57.40850188Z",
            "modified_time": "2025-05-10T17:59:53Z",
            "versions": [
                "0.0.1",
                "0.0.0",
                "0.0.2"
            ],
            "id": "pypi/2025-05-sl4x01/document-inference",
            "source": "kam193"
        },
        {
            "sha256": "fb77820b216161bb5e8b3ebd30be5a9c58cd0a1c888302c4cffe9f67f129d983",
            "import_time": "2025-12-30T22:39:04.075609566Z",
            "modified_time": "2025-05-10T17:59:53Z",
            "versions": [
                "0.0.0",
                "0.0.1",
                "0.0.2"
            ],
            "id": "pypi/2025-05-sl4x01/document-inference",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / document-inference

Package

Name
document-inference
View open source insights on deps.dev
Purl
pkg:pypi/document-inference

Affected ranges

Affected versions

0.*
0.0.0
0.0.1
0.0.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/document-inference/MAL-2025-3742.json"