mal-2024-9944
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: kam193 (633d53a1b6bcde673f71f2788cc6c268f7eef20552eb7a0dc3f533f6a9a7ad12)
During installation, a Discord webhook is used to exfiltrate basic data. The package seems to attempt impersonating the "asciidraw" package (some files and description in setup.py are copied).
The other package, pdf2doc, as well as time correlation suggests the uploader is related to the 2024-09-bondonioanderas-cryptominer campaign as well.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2024-09-sampleuser123-asciidrawing
Reasons (based on the campaign):
-
The package overrides the install command in setup.py to execute malicious code during installation.
-
impersonation
-
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
-
clones-real-package
-
dependency-confusion
Source: ossf-package-analysis (2dd9ac0d2ef9e9bb84011c475ec24faabed0759dfceb9385fc5904e42f045029)
The OpenSSF Package Analysis project identified 'asciidrawing' @ 0.1.2 (pypi) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "asciidrawing",
"purl": "pkg:pypi/asciidrawing"
},
"versions": [
"0.1.1",
"0.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"
},
{
"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": {
"malicious-packages-origins": [
{
"id": "RLMA-2024-07834",
"import_time": "2024-10-24T00:56:53.525725666Z",
"modified_time": "2024-10-16T14:36:30Z",
"sha256": "24cf3acf1b2bea67c15883ad235855bc9cb0687b5e61819c83ac73c5e0a6f3ac",
"source": "reversing-labs",
"versions": [
"0.1.1",
"0.1.2"
]
},
{
"import_time": "2025-02-10T05:35:46.793224951Z",
"modified_time": "2024-09-20T10:55:48Z",
"sha256": "2dd9ac0d2ef9e9bb84011c475ec24faabed0759dfceb9385fc5904e42f045029",
"source": "ossf-package-analysis",
"versions": [
"0.1.2"
]
},
{
"id": "pypi/2024-09-sampleuser123-asciidrawing/asciidrawing",
"import_time": "2025-12-02T22:30:54.94194375Z",
"modified_time": "2024-09-20T11:42:29Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "d2a9162ee0759b5f5b7e19384bd2b1f13aa36214797e4a099d6960ea0da4f7a7",
"source": "kam193"
},
{
"id": "pypi/2024-09-sampleuser123-asciidrawing/asciidrawing",
"import_time": "2025-12-02T23:07:17.981260308Z",
"modified_time": "2024-09-20T11:42:29Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "633d53a1b6bcde673f71f2788cc6c268f7eef20552eb7a0dc3f533f6a9a7ad12",
"source": "kam193"
},
{
"id": "pypi/2024-09-sampleuser123-asciidrawing/asciidrawing",
"import_time": "2025-12-10T21:38:57.286766663Z",
"modified_time": "2024-09-20T11:42:29Z",
"sha256": "4a33f450171fccce762c65b1ed1296012b4dbdf92c1507c5ad07957c43ca7d50",
"source": "kam193",
"versions": [
"0.1.2"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (633d53a1b6bcde673f71f2788cc6c268f7eef20552eb7a0dc3f533f6a9a7ad12)\nDuring installation, a Discord webhook is used to exfiltrate basic data. The package seems to attempt impersonating the \"asciidraw\" package (some files and description in setup.py are copied).\n\nThe other package, pdf2doc, as well as time correlation suggests the uploader is related to the 2024-09-bondonioanderas-cryptominer campaign as well.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-09-sampleuser123-asciidrawing\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - \n\n\n - impersonation\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 - clones-real-package\n\n\n - dependency-confusion\n\n## Source: ossf-package-analysis (2dd9ac0d2ef9e9bb84011c475ec24faabed0759dfceb9385fc5904e42f045029)\nThe OpenSSF Package Analysis project identified \u0027asciidrawing\u0027 @ 0.1.2 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n",
"id": "MAL-2024-9944",
"modified": "2025-12-11T09:27:52Z",
"published": "2024-09-20T10:55:48Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/asciidrawing"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in asciidrawing (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.