mal-2025-942
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: kam193 (1d2e888da57bf1c53e73ed2092516a44aaf46e4876619d129b7e3e4966dfc71e)
During installation, the package collects quite extensive information about the host and has no other purpose. To avoid detection, the real code is put in a ZIP archive and includes also some VM-detection techniques. The malicious code is activated via metaclass set for the "install" command class in setup.py
Over the time, techniques used in packages are slightly changing, including that some of marked packages don't have malicious part, but rather are used only for tests.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2024-12-langer-updater
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.
-
The package overrides the install command in setup.py to execute malicious code during installation.
-
exfiltration-env-variables
-
The package contains code to detect if it is running in a sandbox environment.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "langer-updater",
"purl": "pkg:pypi/langer-updater"
},
"versions": [
"1.0.2",
"1.0.4",
"1.0.5",
"1.0.6",
"1.0.7",
"1.0.8"
]
}
],
"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://www.reversinglabs.com"
],
"name": "ReversingLabs",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "RLMA-2025-00482",
"import_time": "2025-02-03T18:38:07.185348547Z",
"modified_time": "2025-02-03T17:07:32Z",
"sha256": "1108ee0779c828b294036aefa3c03de4ee1ee1cef5a5fbc2dd73fd6693b142b3",
"source": "reversing-labs",
"versions": [
"1.0.2",
"1.0.4",
"1.0.5",
"1.0.6",
"1.0.7",
"1.0.8"
]
},
{
"id": "pypi/2024-12-langer-updater/langer-updater",
"import_time": "2025-12-02T22:30:55.306170363Z",
"modified_time": "2024-12-16T10:40:50Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "01890656caa2f6b8d2e17ddfc46836107703af4a2b5ad9406f3d8b8129db43d3",
"source": "kam193"
},
{
"id": "pypi/2024-12-langer-updater/langer-updater",
"import_time": "2025-12-02T23:07:18.332080513Z",
"modified_time": "2024-12-16T10:40:50Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "1d2e888da57bf1c53e73ed2092516a44aaf46e4876619d129b7e3e4966dfc71e",
"source": "kam193"
},
{
"id": "pypi/2024-12-langer-updater/langer-updater",
"import_time": "2025-12-10T21:38:57.566666455Z",
"modified_time": "2024-12-16T10:40:50Z",
"sha256": "8f3f587200a6dcf8dbf257940771c47592b915fe47804bb431c8316b4d239659",
"source": "kam193",
"versions": [
"1.0.6",
"1.0.2",
"1.0.4",
"1.0.7",
"1.0.8"
]
},
{
"id": "pypi/2024-12-langer-updater/langer-updater",
"import_time": "2025-12-30T22:39:04.117860332Z",
"modified_time": "2024-12-16T10:40:50Z",
"sha256": "e33616ad16b6559a64f0a945bf93f21ac1eed92f103d190018278b71f5397e92",
"source": "kam193",
"versions": [
"1.0.2",
"1.0.4",
"1.0.6",
"1.0.7",
"1.0.8"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1d2e888da57bf1c53e73ed2092516a44aaf46e4876619d129b7e3e4966dfc71e)\nDuring installation, the package collects quite extensive information about the host and has no other purpose. To avoid detection, the real code is put in a ZIP archive and includes also some VM-detection techniques. The malicious code is activated via metaclass set for the \"install\" command class in setup.py\n\nOver the time, techniques used in packages are slightly changing, including that some of marked packages don\u0027t have malicious part, but rather are used only for tests.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-12-langer-updater\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 - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - exfiltration-env-variables\n\n\n - The package contains code to detect if it is running in a sandbox environment.\n",
"id": "MAL-2025-942",
"modified": "2025-12-31T02:45:15Z",
"published": "2024-12-16T10:40:50Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/langer-updater"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in langer-updater (PyPI)"
}
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.