mal-2025-3437
Vulnerability from ossf_malicious_packages
Published
2025-03-30 15:18
Modified
2025-12-11 09:27
Summary
Malicious code in bitcoinlibdbfix (PyPI)
Details

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

Source: kam193 (a5cb52fa4f2ac6a68416c59a513399e01bb388d5e238260b712a513db3d97233)

It overwrites the 'clw' command from legit bitconinlib package and attempts to exfiltrate its database on the usage.

As a context, it appears to be created to lure users seeking for help with the bitconinlib package: https://github.com/1200wd/bitcoinlib/issues/455#issuecomment-2764513104


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

Campaign: 2025-03-bitcoinlibdbfix

Reasons (based on the campaign):

  • files-exfiltration

  • crypto-related

  • action-hidden-in-lib-usage

  • exfiltration-crypto


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "bitcoinlibdbfix",
        "purl": "pkg:pypi/bitcoinlibdbfix"
      },
      "versions": [
        "0.4.8",
        "0.4.9",
        "0.4.10",
        "0.4.11",
        "0.4.12",
        "0.4.13",
        "0.4.14"
      ]
    }
  ],
  "aliases": [
    "SNYK-PYTHON-BITCOINLIBDBFIX-9667328"
  ],
  "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": {
      "urls": [
        "https://5fde88fde64f4682c2fc1e10e6c.vercel.app/api/send",
        "https://discord.com/api/webhooks/1329712636807610379/eU6AZ5oBM_12FIkwvtiasyjywx7WYW7wzuWJwWU3u2kadKko7QKpXcl3Kd0fJspPhM4w"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-02496",
        "import_time": "2025-04-25T09:36:45.304638498Z",
        "modified_time": "2025-04-23T16:06:16Z",
        "sha256": "ab5b3540f4c692cb612450c054a7f3f6269fac09919d37ad47715afa2a314d18",
        "source": "reversing-labs",
        "versions": [
          "0.4.8",
          "0.4.9",
          "0.4.10",
          "0.4.11",
          "0.4.12",
          "0.4.13",
          "0.4.14"
        ]
      },
      {
        "id": "pypi/2025-03-bitcoinlibdbfix/bitcoinlibdbfix",
        "import_time": "2025-12-02T22:30:54.994118496Z",
        "modified_time": "2025-03-30T15:18:14Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "55845c378f8d0c93bb2ac1f5f38bb4a6e226fd3f506cda28e55ce70ee713d052",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-bitcoinlibdbfix/bitcoinlibdbfix",
        "import_time": "2025-12-02T23:07:18.026003304Z",
        "modified_time": "2025-03-30T15:18:14Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "a5cb52fa4f2ac6a68416c59a513399e01bb388d5e238260b712a513db3d97233",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-bitcoinlibdbfix/bitcoinlibdbfix",
        "import_time": "2025-12-10T21:38:57.319970664Z",
        "modified_time": "2025-03-30T15:18:14Z",
        "sha256": "d0a5c5913c23e65a4562411c5623b96364dbcc4baa11648c7efba0e804bec935",
        "source": "kam193",
        "versions": [
          "0.4.8",
          "0.4.9",
          "0.4.10",
          "0.4.11",
          "0.4.12",
          "0.4.13",
          "0.4.14"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a5cb52fa4f2ac6a68416c59a513399e01bb388d5e238260b712a513db3d97233)\nIt overwrites the \u0027clw\u0027 command from legit bitconinlib package and attempts to exfiltrate its database on the usage.\n\nAs a context, it appears to be created to lure users seeking for help with the bitconinlib package: https://github.com/1200wd/bitcoinlib/issues/455#issuecomment-2764513104\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-03-bitcoinlibdbfix\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - crypto-related\n\n\n - action-hidden-in-lib-usage\n\n\n - exfiltration-crypto\n",
  "id": "MAL-2025-3437",
  "modified": "2025-12-11T09:27:52Z",
  "published": "2025-03-30T15:18:14Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security.snyk.io/vuln/SNYK-PYTHON-BITCOINLIBDBFIX-9667328"
    },
    {
      "type": "ARTICLE",
      "url": "https://www.reversinglabs.com/blog/malicious-python-packages-target-popular-bitcoin-library"
    },
    {
      "type": "WEB",
      "url": "https://github.com/1200wd/bitcoinlib/issues/455#issuecomment-2764513104"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/bitcoinlibdbfix"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in bitcoinlibdbfix (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…