mal-2025-3742
Vulnerability from ossf_malicious_packages
Published
2025-05-10 11:05
Modified
2025-12-31 02:45
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.
Credits
OpenSSF: Package Analysis
github.com/ossf/package-analysis
openssf.slack.com/channels/package_analysis
ReversingLabs
www.reversinglabs.com
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "document-inference"
},
"versions": [
"0.0.2",
"0.0.0",
"0.0.1"
]
}
],
"credits": [
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "REPORTER"
},
{
"contact": [
"https://github.com/ossf/package-analysis",
"https://openssf.slack.com/channels/package_analysis"
],
"name": "OpenSSF: Package Analysis",
"type": "FINDER"
},
{
"contact": [
"https://www.reversinglabs.com"
],
"name": "ReversingLabs",
"type": "FINDER"
}
],
"database_specific": {
"iocs": {
"domains": [
"sl4x0.xyz"
]
},
"malicious-packages-origins": [
{
"import_time": "2025-05-12T00:25:55.037942201Z",
"modified_time": "2025-05-10T11:05:49Z",
"sha256": "4dbb3f4bab26a0095d969efb7bd23845a0ab5683269ccb37f98fcaf285d845d3",
"source": "ossf-package-analysis",
"versions": [
"0.0.2"
]
},
{
"id": "RLMA-2025-02569",
"import_time": "2025-05-22T14:06:35.291201991Z",
"modified_time": "2025-05-22T12:33:31Z",
"sha256": "19d942f1e9c7601342053fa29d7c79572f7f4062c66779427b5dc1fc3bd1d7f0",
"source": "reversing-labs",
"versions": [
"0.0.0",
"0.0.1",
"0.0.2"
]
},
{
"id": "pypi/2025-05-sl4x01/document-inference",
"import_time": "2025-12-02T22:30:55.112081961Z",
"modified_time": "2025-05-10T17:59:53Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "7f6121ccf7ad568310d096f3dfe660590ca61be0024897b1d6ba4e148fd93b5b",
"source": "kam193"
},
{
"id": "pypi/2025-05-sl4x01/document-inference",
"import_time": "2025-12-02T23:07:18.123681553Z",
"modified_time": "2025-05-10T17:59:53Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "0519099776ddb5cbd1778fa5f043a1cad34d94d5116ae895120aba38608e7eb0",
"source": "kam193"
},
{
"id": "pypi/2025-05-sl4x01/document-inference",
"import_time": "2025-12-10T21:38:57.40850188Z",
"modified_time": "2025-05-10T17:59:53Z",
"sha256": "eb38a693e9340cfa5d8cc982cae8ad6d198923e93393eb3b3ba0f143c1bf9fda",
"source": "kam193",
"versions": [
"0.0.1",
"0.0.0",
"0.0.2"
]
},
{
"id": "pypi/2025-05-sl4x01/document-inference",
"import_time": "2025-12-30T22:39:04.075609566Z",
"modified_time": "2025-05-10T17:59:53Z",
"sha256": "fb77820b216161bb5e8b3ebd30be5a9c58cd0a1c888302c4cffe9f67f129d983",
"source": "kam193",
"versions": [
"0.0.0",
"0.0.1",
"0.0.2"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0519099776ddb5cbd1778fa5f043a1cad34d94d5116ae895120aba38608e7eb0)\nPackages 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).\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-sl4x01\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - exfiltration-env-variables\n\n\n - impersonation\n\n## Source: ossf-package-analysis (4dbb3f4bab26a0095d969efb7bd23845a0ab5683269ccb37f98fcaf285d845d3)\nThe OpenSSF Package Analysis project identified \u0027document-inference\u0027 @ 0.0.2 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n",
"id": "MAL-2025-3742",
"modified": "2025-12-31T02:45:15Z",
"published": "2025-05-10T11:05:49Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/sl4x0"
},
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/document-inference"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in document-inference (PyPI)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…