mal-2025-2999
Vulnerability from ossf_malicious_packages
Published
2025-02-21 21:50
Modified
2025-12-11 09:27
Summary
Malicious code in solana-utils (PyPI)
Details

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

Source: kam193 (4fcf79d026074d2ebc0ce48f578a5078acafca383dbd727a0b2e9f5a723f2702)

The only thing the package does is send out all the given data about a cryptocurrency transaction, including the private key, to a hardcoded webhook.

Feedback from PyPI Team: the package "transaction-utils" may also exploit a known pip behavior to overwrite files of an existing legitime package and replace it with malicious content.


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

Campaign: 2025-02-transaction-utils

Reasons (based on the campaign):

  • crypto-related

  • action-hidden-in-lib-usage

  • A Telegram webhook is used to send collected data.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "solana-utils",
        "purl": "pkg:pypi/solana-utils"
      },
      "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://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-01998",
        "import_time": "2025-03-31T07:07:06.717088774Z",
        "modified_time": "2025-03-28T13:06:15Z",
        "sha256": "5a5d0fd5dc0fb3c56c738433b9b2c4e703824f7d0b32549cd93da3daaa4393ff",
        "source": "reversing-labs",
        "versions": [
          "0.1.1",
          "0.1.2"
        ]
      },
      {
        "id": "pypi/2025-02-transaction-utils/solana-utils",
        "import_time": "2025-12-02T22:30:55.598037553Z",
        "modified_time": "2025-02-21T21:50:10Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "b77af7d0f8aa44942052740ef1f9445d4c9832bfe1b146f38bd19f030188a9d8",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-02-transaction-utils/solana-utils",
        "import_time": "2025-12-02T23:07:18.637171302Z",
        "modified_time": "2025-02-21T21:50:10Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "4fcf79d026074d2ebc0ce48f578a5078acafca383dbd727a0b2e9f5a723f2702",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-02-transaction-utils/solana-utils",
        "import_time": "2025-12-10T21:38:57.831288159Z",
        "modified_time": "2025-02-21T21:50:10Z",
        "sha256": "697ed06d1331251802aa126e1816bd4541293f27bf4df24435a2ec385ab4e568",
        "source": "kam193",
        "versions": [
          "0.1.1",
          "0.1.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4fcf79d026074d2ebc0ce48f578a5078acafca383dbd727a0b2e9f5a723f2702)\nThe only thing the package does is send out all the given data about a cryptocurrency transaction, including the private key, to a hardcoded webhook.\n\nFeedback from PyPI Team: the package \"transaction-utils\" may also exploit a known pip behavior to overwrite files of an existing legitime package and replace it with malicious content.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-02-transaction-utils\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - action-hidden-in-lib-usage\n\n\n - A Telegram webhook is used to send collected data.\n",
  "id": "MAL-2025-2999",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2025-02-21T21:50:10Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/solana-utils"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in solana-utils (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…