-= Per source details. Do not edit below this line.=-
bip32-js is a typosquat of the legitimate bip32 crypto library. Its index.js is an empty stub (module.exports = {}); the package's only functional code is a postinstall hook that runs automatically on npm install. The hook reads classic installer-owned secret paths —.env files, ~/.npmrc, ~/.aws/credentials, ~/.aws/config, ~/.ssh/idrsa, ided25519, id_ecdsa, Solana ~/.config/solana/id.json, Ethereum keystores, and ~/.gitconfig — and additionally scans hidden home subdirectories for files matching wallet, seed, mnemonic, key, and keystore patterns. It packages the collected file contents together with os.hostname(), os.userInfo().username, and a timestamp, and POSTs the JSON body via https.request to the hardcoded endpoint https://enxhcjpo5ev.x.pipedream.net/c, an author-controlled Pipedream request-bin. The package.json also declares a suspicious dependency entry "self":"" alongside a wildcard pin on the real bip32 package.
{
"malicious-packages-origins": [
{
"modified_time": "2026-08-05T06:19:53Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-013415",
"import_time": "2026-08-05T07:06:46.510226529Z",
"sha256": "115345055f99da651c7816286c6b076dbacdd2b659f466dded1a541b289e8c2d",
"versions": [
"1.0.1"
]
},
{
"modified_time": "2026-08-05T06:19:15Z",
"source": "amazon-inspector",
"sha256": "a19219372b5173cab05ed75eeab472404c3750eac6e3b3034a2ea02f4a0c0874",
"import_time": "2026-08-05T07:06:46.274040404Z",
"id": "IN-MAL-2026-013411",
"versions": [
"1.0.2"
]
},
{
"modified_time": "2026-08-05T06:22:11Z",
"source": "amazon-inspector",
"sha256": "f4b058369b7442f4041d4372cc22e942c8fc1c0e4cc93f7c686751136982216e",
"import_time": "2026-08-05T07:06:47.236586338Z",
"id": "IN-MAL-2026-013431",
"versions": [
"1.0.0"
]
}
]
}{
"package_integrity": [
{
"filename": "bip32-js-1.0.1.tgz",
"hashes": {
"sha512_sri": "sha512-tlp6vJjmqUuA+ZtgU4DdLU80PzFgYR6PVaJVkGC++bGvOPyTIIMPsWevsrZwuPXcw1T20LwGa2nHg5BrmMwgFg==",
"sha1": "b988afaaabb8c9536240b6b428cbfe5c4acb439e"
}
}
],
"evidence_files": [
{
"tlsh": "f54134d505df162154476bd8862b31107277e2d7344aa9c43e9c6b198f1d8384a5affc",
"sha256": "cb89d25cb941a6c4f7b12d049518b8756e9a4ce84ddaedb89c225795487ca171",
"path": "postinstall.js"
},
{
"tlsh": "ffd02b501a5afa704ffd4fdd5c7ad97d08de520004cc853847e74078ca9e39e884d42e",
"sha256": "6d747abbf5377aca2e98a70705733d87926145f18f714cf3ef89eb777f8426aa",
"path": "package.json"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bip32-js/MAL-2026-12109.json"
[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]