mal-2024-9446
Vulnerability from ossf_malicious_packages
Published
2024-09-06 11:29
Modified
2025-12-11 09:27
Summary
Malicious code in flag-leak-r (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (88c1df06a02daf1a911f895df0bd495b0f0d2e72f3b9ad45fe5a837575379c9e)
Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: GENERIC-questionable-pentest
Reasons (based on the campaign):
-
exfiltration-env-variables
-
exfiltration-generic
-
The package overrides the install command in setup.py to execute malicious code during installation.
-
typosquatting
Source: ossf-package-analysis (095f9908b28b3dfb45e9f5e8d291ad2492bb271f23e5f4b714328ba722252838)
The OpenSSF Package Analysis project identified 'flag-leak-r' @ 0.1.0 (pypi) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
Credits
OpenSSF: Package Analysis
github.com/ossf/package-analysis
openssf.slack.com/channels/package_analysis
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "flag-leak-r"
},
"versions": [
"0.1.0"
]
}
],
"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"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"import_time": "2024-10-22T02:28:26.577481179Z",
"modified_time": "2024-10-22T02:06:01Z",
"sha256": "095f9908b28b3dfb45e9f5e8d291ad2492bb271f23e5f4b714328ba722252838",
"source": "ossf-package-analysis",
"versions": [
"0.1.0"
]
},
{
"id": "pypi/GENERIC-questionable-pentest/flag-leak-r",
"import_time": "2025-12-02T22:30:55.195972459Z",
"modified_time": "2024-09-06T11:29:16Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "747eacc8dcf63ec5f77aaebbb960d3a811e31270c721aa54b7a2c037d79104c3",
"source": "kam193"
},
{
"id": "pypi/GENERIC-questionable-pentest/flag-leak-r",
"import_time": "2025-12-02T23:07:18.204926071Z",
"modified_time": "2024-09-06T11:29:16Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "88c1df06a02daf1a911f895df0bd495b0f0d2e72f3b9ad45fe5a837575379c9e",
"source": "kam193"
},
{
"id": "pypi/GENERIC-questionable-pentest/flag-leak-r",
"import_time": "2025-12-10T21:38:57.489291745Z",
"modified_time": "2024-09-06T11:29:16Z",
"sha256": "0c10b287871d2837d148658da49d9237d930ed53f40e982a5592b664f184e345",
"source": "kam193",
"versions": [
"0.1.0"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (88c1df06a02daf1a911f895df0bd495b0f0d2e72f3b9ad45fe5a837575379c9e)\nGeneric campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: GENERIC-questionable-pentest\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-env-variables\n\n\n - exfiltration-generic\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - typosquatting\n\n## Source: ossf-package-analysis (095f9908b28b3dfb45e9f5e8d291ad2492bb271f23e5f4b714328ba722252838)\nThe OpenSSF Package Analysis project identified \u0027flag-leak-r\u0027 @ 0.1.0 (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-9446",
"modified": "2025-12-11T09:27:53Z",
"published": "2024-09-06T11:29:16Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/flag-leak-r"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in flag-leak-r (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…