mal-2025-191813
Vulnerability from ossf_malicious_packages
Published
2025-11-20 14:01
Modified
2025-12-24 10:09
Summary
Malicious code in peptest2 (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (60249233a6c88847f2043da362196e4b2652bd7dddb8dbfe92cc3e7b2b2676a9)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: GENERIC-standard-pypi-install-pentest
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.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "peptest2"
},
"versions": [
"1.2.3",
"1.2.2"
]
}
],
"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": "pypi/GENERIC-standard-pypi-install-pentest/peptest2",
"import_time": "2025-12-02T22:30:56.293155185Z",
"modified_time": "2025-11-20T14:01:54.195692Z",
"sha256": "d8efde2f9d8f24878f597969201158e0ffbef22f240f8abe8cf14b0f1bbdb347",
"source": "kam193",
"versions": [
"1.2.3",
"1.2.2"
]
},
{
"id": "pypi/GENERIC-standard-pypi-install-pentest/peptest2",
"import_time": "2025-12-02T23:07:19.480743061Z",
"modified_time": "2025-11-20T14:01:54.195692Z",
"sha256": "60249233a6c88847f2043da362196e4b2652bd7dddb8dbfe92cc3e7b2b2676a9",
"source": "kam193",
"versions": [
"1.2.3",
"1.2.2"
]
},
{
"id": "RLMA-2025-06579",
"import_time": "2025-12-24T10:07:30.932201212Z",
"modified_time": "2025-12-23T08:39:15Z",
"sha256": "06f37f4da9e84ef37d43dfb4909ff9992c3a6f0e9bc8f2fe8fba3cc6f7a44b41",
"source": "reversing-labs",
"versions": [
"1.2.2",
"1.2.3"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (60249233a6c88847f2043da362196e4b2652bd7dddb8dbfe92cc3e7b2b2676a9)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\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",
"id": "MAL-2025-191813",
"modified": "2025-12-24T10:09:32Z",
"published": "2025-11-20T14:01:54Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/peptest2"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in peptest2 (PyPI)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…