MAL-2025-3436

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bitcoinlib-dev/MAL-2025-3436.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-3436
Aliases
  • SNYK-PYTHON-BITCOINLIBDEV-9667327
Published
2025-03-30T15:18:14Z
Modified
2025-12-12T20:36:30.479819Z
Summary
Malicious code in bitcoinlib-dev (PyPI)
Details

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

Source: kam193 (a198ee5e2df9c67dcbd24ed19a8fec5d462bbb3c0eb474cf00cd299e75074ef5)

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

Database specific
{
    "iocs": {
        "urls": [
            "https://5fde88fde64f4682c2fc1e10e6c.vercel.app/api/send",
            "https://discord.com/api/webhooks/1329712636807610379/eU6AZ5oBM_12FIkwvtiasyjywx7WYW7wzuWJwWU3u2kadKko7QKpXcl3Kd0fJspPhM4w"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "RLMA-2025-02495",
            "import_time": "2025-04-25T09:36:45.210811176Z",
            "sha256": "60f9219187ef9ed45dfc3b7c27f27c66f0a32769437a28f83827bad54e7bd624",
            "source": "reversing-labs",
            "modified_time": "2025-04-23T16:06:16Z",
            "versions": [
                "0.4.16",
                "0.4.17",
                "0.4.18",
                "0.4.19",
                "0.4.20",
                "0.4.21"
            ]
        },
        {
            "id": "pypi/2025-03-bitcoinlibdbfix/bitcoinlib-dev",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:54.992636288Z",
            "sha256": "76ff9fe5768d125b1c73e1502902291a8882bfc28b2b333dde6e10b21b372b95",
            "source": "kam193",
            "modified_time": "2025-03-30T15:18:14Z"
        },
        {
            "id": "pypi/2025-03-bitcoinlibdbfix/bitcoinlib-dev",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:18.025049824Z",
            "sha256": "a198ee5e2df9c67dcbd24ed19a8fec5d462bbb3c0eb474cf00cd299e75074ef5",
            "source": "kam193",
            "modified_time": "2025-03-30T15:18:14Z"
        },
        {
            "id": "pypi/2025-03-bitcoinlibdbfix/bitcoinlib-dev",
            "import_time": "2025-12-10T21:38:57.318887515Z",
            "sha256": "cab20eb85be911dd4de0c38b292bb096aa60beb2cf67c9c2920b8b1ffbbfb2a2",
            "source": "kam193",
            "modified_time": "2025-03-30T15:18:14Z",
            "versions": [
                "0.4.16",
                "0.4.17",
                "0.4.18",
                "0.4.19",
                "0.4.20",
                "0.4.21"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / bitcoinlib-dev

Package

Affected ranges

Affected versions

0.*
0.4.16
0.4.17
0.4.18
0.4.19
0.4.20
0.4.21

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bitcoinlib-dev/MAL-2025-3436.json"