mal-2025-4272
Vulnerability from ossf_malicious_packages
Published
2025-04-27 08:06
Modified
2025-12-11 09:27
Summary
Malicious code in web3yrpcs (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (171ec4f4bbfb34688348ecdda292249487574c8fb28caf8467c0bbafb1563cb7)

Package contains just a function to send out data. It (or a package sharing the same IoCs) is used in a malicious GitHub project to exfiltrate crypto currency private keys, e.g. https://github.com/taikoyaki/MegaEth-Auto-Bot/blob/772b4591daaa0b200d1bd1fd3be3d48b8433f084/cap/cap.py#L49


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-04-alchemyrpcs

Reasons (based on the campaign):

  • crypto-related

  • The malicious code is intentionally included in a dependency of the package

  • exfiltration-crypto


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "web3yrpcs",
        "purl": "pkg:pypi/web3yrpcs"
      },
      "versions": [
        "1.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://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "web3check-api.netlify.app",
        "dapper-flan-46eb5a.netlify.app"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-02630",
        "import_time": "2025-05-22T14:06:40.46140471Z",
        "modified_time": "2025-05-22T12:34:01Z",
        "sha256": "02407a1ef9536438cbb08658bb0328e4ca6657a6214ebd329bc8b56b57c058c1",
        "source": "reversing-labs",
        "versions": [
          "1.1.2"
        ]
      },
      {
        "id": "pypi/2025-04-alchemyrpcs/web3yrpcs",
        "import_time": "2025-12-02T22:30:55.758858533Z",
        "modified_time": "2025-04-27T08:06:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "defde073e7bd3ba063a00577964c26c6256d20a9221cc4de5f675598618e5062",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-04-alchemyrpcs/web3yrpcs",
        "import_time": "2025-12-02T23:07:18.801110164Z",
        "modified_time": "2025-04-27T08:06:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "171ec4f4bbfb34688348ecdda292249487574c8fb28caf8467c0bbafb1563cb7",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-04-alchemyrpcs/web3yrpcs",
        "import_time": "2025-12-10T21:38:57.967598355Z",
        "modified_time": "2025-04-27T08:06:41Z",
        "sha256": "6cae6c04abcfa97bd481e2ea2bb7fab7613522da692eab369c4af589addbf971",
        "source": "kam193",
        "versions": [
          "1.1.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (171ec4f4bbfb34688348ecdda292249487574c8fb28caf8467c0bbafb1563cb7)\nPackage contains just a function to send out data. It (or a package sharing the same IoCs) is used in a malicious GitHub project to exfiltrate crypto currency private keys, e.g. https://github.com/taikoyaki/MegaEth-Auto-Bot/blob/772b4591daaa0b200d1bd1fd3be3d48b8433f084/cap/cap.py#L49\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-04-alchemyrpcs\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - exfiltration-crypto\n",
  "id": "MAL-2025-4272",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2025-04-27T08:06:41Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/taikoyaki/MegaEth-Auto-Bot/blob/772b4591daaa0b200d1bd1fd3be3d48b8433f084/cap/cap.py#L49"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/web3yrpcs"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in web3yrpcs (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 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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…