mal-2025-191748
Vulnerability from ossf_malicious_packages
Published
2025-06-29 16:56
Modified
2025-12-11 09:27
Summary
Malicious code in hancsv (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (bb3fdca931bea8323cd7a8c2578f6d0c0594b3ea1b30df1819830168fe90983b)
Importing the module triggers downloading and executing Powershell script. The script collects information about the host (including e.g. startup applications) and also downloads the next stage executable.
While the package contains a security disclaimer, the behaviour is still malicious and crosses the researching line.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-06-hancsv
Reasons (based on the campaign):
-
Downloads and executes a remote malicious script.
-
Downloads and executes a remote executable.
-
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
Credits
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "hancsv"
},
"versions": [
"1.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"
}
],
"database_specific": {
"iocs": {
"ips": [
"13.125.103.41"
],
"urls": [
"http://13.125.103.41:8000/download?f=exe",
"http://13.125.103.41:8000/download?f=powershell",
"http://13.125.103.41:8000/report"
]
},
"malicious-packages-origins": [
{
"id": "pypi/2025-06-hancsv/hancsv",
"import_time": "2025-12-02T22:30:55.234594858Z",
"modified_time": "2025-06-29T16:56:08Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "ab165fde7f7a8a49c8b7f1e0d96e13a69f04af0e499373cc0925c5fc23c5be96",
"source": "kam193"
},
{
"id": "pypi/2025-06-hancsv/hancsv",
"import_time": "2025-12-02T23:07:18.256333425Z",
"modified_time": "2025-06-29T16:56:08Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "bb3fdca931bea8323cd7a8c2578f6d0c0594b3ea1b30df1819830168fe90983b",
"source": "kam193"
},
{
"id": "pypi/2025-06-hancsv/hancsv",
"import_time": "2025-12-10T21:38:57.52010717Z",
"modified_time": "2025-06-29T16:56:08Z",
"sha256": "119b3a03641ebbc3e89a0bc40e45b5146b6f61b9523cbcc18216015259f74fa7",
"source": "kam193",
"versions": [
"1.2"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (bb3fdca931bea8323cd7a8c2578f6d0c0594b3ea1b30df1819830168fe90983b)\nImporting the module triggers downloading and executing Powershell script. The script collects information about the host (including e.g. startup applications) and also downloads the next stage executable. \n\nWhile the package contains a security disclaimer, the behaviour is still malicious and crosses the researching line.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-06-hancsv\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - Downloads and executes a remote executable.\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n",
"id": "MAL-2025-191748",
"modified": "2025-12-11T09:27:53Z",
"published": "2025-06-29T16:56:08Z",
"references": [
{
"type": "EVIDENCE",
"url": "https://www.virustotal.com/gui/file/c22722265e701d355ff1affdc306fb57162ded59690f15efded6bf7f30de2ba5/detection"
},
{
"type": "EVIDENCE",
"url": "https://tria.ge/250629-vd4crawnx2"
},
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/hancsv"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in hancsv (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…