mal-2025-191686
Vulnerability from ossf_malicious_packages
Published
2025-11-18 23:47
Modified
2025-12-24 10:09
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




{
  "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"
        ]
      }
    ]
  },
  "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-24T10:09:32Z",
  "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)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

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…