A coordinated supply-chain attack comprising 10 npm packages published by maintainer ddjidd5640 (1623682356@qq.com) within a 48-hour window (2026-05-19T03:55Z – 2026-05-21T04:31Z). All packages masquerade as legitimate Web3/DeFi developer security tools (MCP servers) while silently exfiltrating credentials, wallet keys, shell history, SSH keys, and environment variables on install and on every MCP tool invocation. The postinstall hook fetches a dynamic C2 webhook URL from https://ddjidd564.github.io/defi-security-best-practices/config.json (hardcoded fallback: https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233). At runtime, scanner.js performs a recursive credential sweep on every MCP tool call targeting cryptocurrency wallets (~/.ethereum, ~/.bitcoin, ~/.solana), SSH keys, dotfiles, and environment variables. MCP tool handlers in index.js are named to solicit private key material directly from the user or AI agent (e.g., verify_key_format: “Private key or key material to validate”).
deployment-key-auditor presents itself as a deployment key auditing MCP server. No clean prior version is known; version 0.7.3 carries the malicious postinstall hook and scanner.js payload from first publication.
-= Per source details. Do not edit below this line.=-
This package poses as a Web3 deployment-key audit MCP tool but its actual behavior is broad credential theft against the installer. On npm install, the postinstall script reads ~/.ssh, ~/.ethereum, ~/.bitcoin, ~/.env, ~/.bashhistory, ~/.zshhistory, and ~/.git-credentials, attaches hostname/user/cwd, and POSTs the contents to an attacker webhook whose URL is resolved dynamically from https://ddjidd564.github.io/defi-security-best-practices/config.json (GitHub Pages used as a C2 redirector so the destination can be rotated without republishing). scanner.js extends this at runtime: it walks ~/.ethereum, ~/.bitcoin, ~/.solana, ~/.ssh, ~/.config, AppData, Library, and $HOME matching wallet/keystore/mnemonic/private-key/API-key patterns, reads dotfiles (.env,.npmrc,.gitconfig,.git-credentials), enumerates process.env entries containing key/secret/token/password/private/mnemonic/seed/wallet, and ships the findings to the same dynamically-resolved webhook. index.js's MCP tools/call handler additionally executes ls -la ~/.ssh/id_* and posts the SSH key listing plus hostname/user/home to the attacker on every tool invocation, disguised as 'preflightkeycheck' telemetry. The advertised audit functionality is a static-string facade with no real audit logic — the package is a credential stealer specifically targeting Web3 developers who handle deployer keys.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"malicious-packages-origins": [
{
"id": "GHSA-m69v-rchm-xjjp",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"import_time": "2026-05-22T03:24:54.641577772Z",
"sha256": "8a12ff91200e2146333ae59961210efa05d5294de7ddf20f85c1bd46eeecbcb3",
"source": "ghsa-malware",
"modified_time": "2026-05-22T02:43:06Z"
},
{
"id": "IN-MAL-2026-003731",
"import_time": "2026-05-26T05:51:12.320548316Z",
"sha256": "a89354ddb01242aff53212f0302f44d1c773f7ed734c641545136b2ea5841ddd",
"source": "amazon-inspector",
"modified_time": "2026-05-21T04:32:51Z",
"versions": [
"0.7.3"
]
},
{
"id": "IN-MAL-2026-003824",
"versions": [
"0.7.4"
],
"sha256": "b62e9f4eb6eb206fe68cb6e591ee15974c58e25deed9634d5376efdf4de1b6e9",
"source": "amazon-inspector",
"modified_time": "2026-05-21T13:44:51Z",
"import_time": "2026-05-26T05:51:23.530537907Z"
},
{
"id": "IN-MAL-2026-004090",
"import_time": "2026-05-26T05:51:55.09677731Z",
"sha256": "b99e87a29893fadcda0b43a3b40a1adcebf2ba0ad3086c74ddd02b7cd06c5ad1",
"source": "amazon-inspector",
"modified_time": "2026-05-21T13:44:51Z",
"versions": [
"0.7.4"
]
},
{
"id": "IN-MAL-2026-004077",
"versions": [
"1.8.8"
],
"sha256": "0190bc92cbfe9e8e228301156f8839df5299e1fb8de0192d065747f9dbf36980",
"source": "amazon-inspector",
"modified_time": "2026-05-21T23:00:40Z",
"import_time": "2026-05-26T05:51:53.561213482Z"
},
{
"id": "IN-MAL-2026-003860",
"versions": [
"1.7.0"
],
"sha256": "0a4c2d34f17238025f9234b370bf222d6c129077301f02558f0c9ff6764223e5",
"source": "amazon-inspector",
"modified_time": "2026-05-21T14:08:50Z",
"import_time": "2026-05-26T05:51:27.976008969Z"
},
{
"id": "IN-MAL-2026-003895",
"import_time": "2026-05-26T05:51:32.005369786Z",
"sha256": "43e870675cf05b842f3436f796d81579b28b9b7042712f71e5f2385a9e38a29e",
"source": "amazon-inspector",
"modified_time": "2026-05-21T16:19:27Z",
"versions": [
"1.7.1"
]
},
{
"id": "IN-MAL-2026-004046",
"import_time": "2026-05-26T05:51:50.167332996Z",
"sha256": "a6854a91118db5e9b73c68153067995cd7347b14badb5940a8fb27983f32014c",
"source": "amazon-inspector",
"modified_time": "2026-05-21T22:32:31Z",
"versions": [
"1.8.6"
]
},
{
"id": "IN-MAL-2026-004086",
"versions": [
"1.8.9"
],
"sha256": "e43d90fedac00e1487a5970508ef751849f2ac5eb9521d459e0f8a35243f5bc5",
"source": "amazon-inspector",
"modified_time": "2026-05-21T23:12:30Z",
"import_time": "2026-05-26T05:51:54.615656533Z"
},
{
"id": "IN-MAL-2026-003943",
"import_time": "2026-05-26T05:51:37.993348235Z",
"sha256": "e45ef9e03653889b558025b433f4ad7d2c100e03c1f3406bcbf4a9afc4f83391",
"source": "amazon-inspector",
"modified_time": "2026-05-21T17:23:33Z",
"versions": [
"1.7.3"
]
},
{
"id": "IN-MAL-2026-003950",
"versions": [
"1.8.0"
],
"sha256": "e52776b1d5b8ce00b4845c461802566ae09501bfc6bdb674118f768c7446d8cb",
"source": "amazon-inspector",
"modified_time": "2026-05-21T17:59:26Z",
"import_time": "2026-05-26T05:51:38.781041241Z"
},
{
"id": "IN-MAL-2026-003894",
"versions": [
"1.7.1"
],
"sha256": "49f8d7b7d69ffecc9dfb10616bcebc45ce910112af3c0d5804b1ad4e5f58d7f0",
"source": "amazon-inspector",
"modified_time": "2026-05-21T16:19:27Z",
"import_time": "2026-05-26T05:51:31.884018724Z"
},
{
"id": "IN-MAL-2026-003906",
"import_time": "2026-05-26T05:51:33.585129583Z",
"sha256": "60048d1ad2efd7c06d69411a0540bbd70bb3a38e48fb1c7e7db715f3ff2be901",
"source": "amazon-inspector",
"modified_time": "2026-05-21T16:40:52Z",
"versions": [
"1.7.2"
]
},
{
"id": "IN-MAL-2026-003983",
"import_time": "2026-05-26T05:51:42.442793923Z",
"sha256": "6df1ae3f89434137e6b1b89ec724820d1abb0d74708dbb4e7c4eb742e9b48fb3",
"source": "amazon-inspector",
"modified_time": "2026-05-21T18:18:31Z",
"versions": [
"1.8.1"
]
},
{
"id": "IN-MAL-2026-003942",
"import_time": "2026-05-26T05:51:37.877095561Z",
"sha256": "727b13c4ede54b3270c2b6c1fd145e2af5ae71b74cfb43c81dff1adbf52e6884",
"source": "amazon-inspector",
"modified_time": "2026-05-21T17:23:33Z",
"versions": [
"1.7.3"
]
},
{
"id": "IN-MAL-2026-003825",
"import_time": "2026-05-26T05:51:23.660587231Z",
"sha256": "86ea13ffac9eec9fddfff76f4695ebaf9255dce0182db8aec9e35fd1da9af2b0",
"source": "amazon-inspector",
"modified_time": "2026-05-21T13:44:51Z",
"versions": [
"0.7.4"
]
},
{
"id": "IN-MAL-2026-003960",
"import_time": "2026-05-26T05:51:39.876260114Z",
"sha256": "ea574dee4bc197069fb3e66d45f0cba5b4a01971e125f291ff9461612c21c06c",
"source": "amazon-inspector",
"modified_time": "2026-05-21T17:59:54Z",
"versions": [
"1.8.0"
]
},
{
"id": "IN-MAL-2026-003982",
"import_time": "2026-05-26T05:51:42.282235999Z",
"sha256": "f9bcf81e5e24b8ef0f8740b22a5ac06131911ab41be42486a3801eedd3f82c92",
"source": "amazon-inspector",
"modified_time": "2026-05-21T18:18:30Z",
"versions": [
"1.8.1"
]
},
{
"id": "IN-MAL-2026-004039",
"versions": [
"1.8.5"
],
"sha256": "642d3eec190dacce58aed0e8da54049be07f79cebd73258336fa7bbe3a9f7711",
"source": "amazon-inspector",
"modified_time": "2026-05-21T21:53:57Z",
"import_time": "2026-05-26T05:51:49.335925924Z"
},
{
"id": "IN-MAL-2026-003706",
"import_time": "2026-05-26T05:51:09.138949735Z",
"sha256": "cb126f6f47e4f4197b542c0de5b7c1a546789ba55b1b7becf6bc2c043b91298e",
"source": "amazon-inspector",
"modified_time": "2026-05-21T02:53:56Z",
"versions": [
"0.7.2"
]
},
{
"id": "IN-MAL-2026-003907",
"import_time": "2026-05-26T05:51:33.684453052Z",
"sha256": "dec4a4f1f8f7c6c7ab8f048c5dd7bbe1d6f439866c0a0887db1115c693dc1fa3",
"source": "amazon-inspector",
"modified_time": "2026-05-21T16:40:52Z",
"versions": [
"1.7.2"
]
},
{
"id": "IN-MAL-2026-003732",
"import_time": "2026-05-26T05:51:12.438283456Z",
"sha256": "ee7cd5515922574834a48547d8a744e6981e39d9d92f8d407377683818149147",
"source": "amazon-inspector",
"modified_time": "2026-05-21T04:32:52Z",
"versions": [
"0.7.3"
]
},
{
"id": "IN-MAL-2026-004055",
"import_time": "2026-05-26T05:51:51.137428312Z",
"sha256": "5115eefb42febe8237b59cf0f0e66707ec67d908ed6d27b6ca86d9239aaafdd4",
"source": "amazon-inspector",
"modified_time": "2026-05-21T22:48:29Z",
"versions": [
"1.8.7"
]
},
{
"id": "IN-MAL-2026-003647",
"versions": [
"0.7.1"
],
"sha256": "7a4ba44c6f981b9de0e6de85cc89ba0b4c08818c370ddaf7018e8f33a99730f6",
"source": "amazon-inspector",
"modified_time": "2026-05-20T22:36:03Z",
"import_time": "2026-05-26T05:51:02.002397969Z"
},
{
"id": "IN-MAL-2026-003859",
"import_time": "2026-05-26T05:51:27.833980307Z",
"sha256": "a06e89ed5b99b43ad9e603f768cbd3726bddbdcf75a50d69ba10f579fd9060ea",
"source": "amazon-inspector",
"modified_time": "2026-05-21T14:08:50Z",
"versions": [
"1.7.0"
]
}
]
}[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"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",
"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",
"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",
"cweId": "CWE-506"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
{
"evidence_files": [
{
"path": "package.json",
"sha256": "ba4728aca8ad0282fd4097e7b36dc227569303db86db3cdb3766af27da53158e",
"tlsh": "103184d2d198c9b313c905c1e9631242a752a903f9047c8cf3ea40af4b8d967863e2ac"
},
{
"path": "scanner.js",
"sha256": "c58f447ea09f5f24f5a252d4d63db680792ba7149cc95a411210f910f2ab3374",
"tlsh": "bbd1b8bb22fb516482c3e2b8474b9015962bf1633785eee4b78c57386f1453922e27dc"
},
{
"path": "index.js",
"sha256": "04a4a369649c996a8c749af98bb5f741cf6fa90c485548ed720543c54123673e",
"tlsh": "3db185965cf9b120469750d2992f6202a234e247ad186ca0f7ece7754fcc65c9af7388"
}
],
"package_integrity": [
{
"filename": "deployment-key-auditor-0.7.3.tgz",
"hashes": {
"sha512_sri": "sha512-eICrxrsJkrAqPwPPx89UsVSaRiz1IdPW+OS1T+AFSmqUdwSpCxa12RBYsxtcEdYbS6BpHAdrVOqzl2LRJGtkbw==",
"sha1": "5dbeba31b7988b5b060cfb36f86eaf2202cda74b"
}
}
],
"domains": [
"ddjidd564.github.io",
"webhook.site"
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/deployment-key-auditor/MAL-2026-4206.json"