mal-2025-191686
Vulnerability from ossf_malicious_packages
Published
2025-11-18 23:47
Modified
2025-12-31 02:45
Summary
Malicious code in aws-enumerateiam (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (c108190780b32337fdce8748948935ac4229f0236710653f363b80a95dfbcd17)
Before creating the boto3 client, package exfiltrates user's credentials. In this version, the exfiltrating is masked as connecting to an AWS component. The URL to the component is expected to be hex-encoded. In fact, the related GitHub project uses it as a dependency and sets as the URL the attacker-controlled domain. In this way, the AWS libraries are abused to generate the request to the malicious infrastructure and exfiltrate credentials.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-08-aws-enumerate
Reasons (based on the campaign):
-
exfiltration-generic
-
action-hidden-in-lib-usage
-
exfiltration-credentials
Credits
ReversingLabs
www.reversinglabs.com
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "aws-enumerateiam"
},
"versions": [
"1.0.2",
"1.0.1",
"1.0.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://www.reversinglabs.com"
],
"name": "ReversingLabs",
"type": "FINDER"
}
],
"database_specific": {
"iocs": {
"domains": [
"api.aliyun-sdk-requests.xyz",
"aliyun-sdk-requests.xyz"
],
"urls": [
"https://api.aliyun-sdk-requests.xyz/aws",
"https://github.com/kohlersbtuh15/accesskey_tools"
]
},
"malicious-packages-origins": [
{
"id": "pypi/2025-08-aws-enumerate/aws-enumerateiam",
"import_time": "2025-12-02T22:30:54.959979014Z",
"modified_time": "2025-11-18T23:47:36.353225Z",
"sha256": "8d791e3fca589d90934a79ee3a601d20361d83e0420175ddfd9aecc98e1f0fb7",
"source": "kam193",
"versions": [
"1.0.2",
"1.0.1",
"1.0.0"
]
},
{
"id": "pypi/2025-08-aws-enumerate/aws-enumerateiam",
"import_time": "2025-12-02T23:07:18.000475059Z",
"modified_time": "2025-11-18T23:47:36.353225Z",
"sha256": "c108190780b32337fdce8748948935ac4229f0236710653f363b80a95dfbcd17",
"source": "kam193",
"versions": [
"1.0.2",
"1.0.1",
"1.0.0"
]
},
{
"id": "RLMA-2025-06554",
"import_time": "2025-12-24T10:07:30.11401291Z",
"modified_time": "2025-12-23T08:38:01Z",
"sha256": "932a89b134a2b2fe407fef9cd90fb9ec01363e500140e8747f9428e7bf860c41",
"source": "reversing-labs",
"versions": [
"1.0.0",
"1.0.1",
"1.0.2"
]
},
{
"id": "pypi/2025-08-aws-enumerate/aws-enumerateiam",
"import_time": "2025-12-30T22:39:04.044534138Z",
"modified_time": "2025-11-18T23:47:36.353225Z",
"sha256": "1b89c3d77d9a31a8a92f0848e7fc4486ab167e545036a74a76ab7d9500a50a20",
"source": "kam193",
"versions": [
"1.0.0",
"1.0.1",
"1.0.2"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c108190780b32337fdce8748948935ac4229f0236710653f363b80a95dfbcd17)\nBefore creating the boto3 client, package exfiltrates user\u0027s credentials. In this version, the exfiltrating is masked as connecting to an AWS component. The URL to the component is expected to be hex-encoded. In fact, the related GitHub project uses it as a dependency and sets as the URL the attacker-controlled domain. In this way, the AWS libraries are abused to generate the request to the malicious infrastructure and exfiltrate credentials.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-08-aws-enumerate\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - action-hidden-in-lib-usage\n\n\n - exfiltration-credentials\n",
"id": "MAL-2025-191686",
"modified": "2025-12-31T02:45:15Z",
"published": "2025-11-18T23:47:36Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/aws-enumerateiam"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in aws-enumerateiam (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…