目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

deployment-key-auditor

MAL-2026-4206
2026-05-26 05:55:02
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in deployment-key-auditor (npm)

凭据/密钥窃取远程访问后门安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdeployment-key-auditor*
npmdeployment-key-auditor0.7.1
npmdeployment-key-auditor0.7.2
npmdeployment-key-auditor0.7.3
npmdeployment-key-auditor0.7.4
npmdeployment-key-auditor1.7.0
npmdeployment-key-auditor1.7.1
npmdeployment-key-auditor1.7.2
npmdeployment-key-auditor1.7.3
npmdeployment-key-auditor1.8.0
npmdeployment-key-auditor1.8.1
npmdeployment-key-auditor1.8.5
npmdeployment-key-auditor1.8.6
npmdeployment-key-auditor1.8.7
npmdeployment-key-auditor1.8.8
npmdeployment-key-auditor1.8.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-26T05:55:02Z","published":"2026-05-20T22:36:03Z","schema_version":"1.7.4","id":"MAL-2026-4206","aliases":["GHSA-m69v-rchm-xjjp"],"summary":"Malicious code in deployment-key-auditor (npm)","details":"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”).\n\n`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.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a89354ddb01242aff53212f0302f44d1c773f7ed734c641545136b2ea5841ddd)\nThis 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, ~/.bash_history, ~/.zsh_history, 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 'preflight_key_check' 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.\n\n## Source: ghsa-malware (8a12ff91200e2146333ae59961210efa05d5294de7ddf20f85c1bd46eeecbcb3)\nAny 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.\n","affected":[{"package":{"ecosystem":"npm","name":"deployment-key-auditor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.7.3","0.7.4","1.8.8","1.7.0","1.7.1","1.8.6","1.8.9","1.7.3","1.8.0","1.7.2","1.8.1","1.8.5","0.7.2","1.8.7","0.7.1"],"database_specific":{"cwes":[{"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","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"}],"indicators":{"domains":["ddjidd564.github.io","webhook.site"],"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":{"sha1":"5dbeba31b7988b5b060cfb36f86eaf2202cda74b","sha512_sri":"sha512-eICrxrsJkrAqPwPPx89UsVSaRiz1IdPW+OS1T+AFSmqUdwSpCxa12RBYsxtcEdYbS6BpHAdrVOqzl2LRJGtkbw=="}}]}}}],"references":[{"type":"WEB","url":"https://x.com/safedepio/status/2057325717453697057"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m69v-rchm-xjjp"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/0.7.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/0.7.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.8.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.8.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.8.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.8.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.7.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.7.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.7.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.8.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.8.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/0.7.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.8.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/0.7.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deployment-key-auditor/v/1.7.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]},{"name":"SafeDep","type":"FINDER","contact":["https://safedep.io"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"8a12ff91200e2146333ae59961210efa05d5294de7ddf20f85c1bd46eeecbcb3","import_time":"2026-05-22T03:24:54.641577772Z","id":"GHSA-m69v-rchm-xjjp","modified_time":"2026-05-22T02:43:06Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"a89354ddb01242aff53212f0302f44d1c773f7ed734c641545136b2ea5841ddd","import_time":"2026-05-26T05:51:12.320548316Z","id":"IN-MAL-2026-003731","modified_time":"2026-05-21T04:32:51Z","versions":["0.7.3"]},{"source":"amazon-inspector","sha256":"b62e9f4eb6eb206fe68cb6e591ee15974c58e25deed9634d5376efdf4de1b6e9","import_time":"2026-05-26T05:51:23.530537907Z","id":"IN-MAL-2026-003824","modified_time":"2026-05-21T13:44:51Z","versions":["0.7.4"]},{"source":"amazon-inspector","sha256":"b99e87a29893fadcda0b43a3b40a1adcebf2ba0ad3086c74ddd02b7cd06c5ad1","import_time":"2026-05-26T05:51:55.09677731Z","id":"IN-MAL-2026-004090","modified_time":"2026-05-21T13:44:51Z","versions":["0.7.4"]},{"source":"amazon-inspector","sha256":"0190bc92cbfe9e8e228301156f8839df5299e1fb8de0192d065747f9dbf36980","import_time":"2026-05-26T05:51:53.561213482Z","id":"IN-MAL-2026-004077","modified_time":"2026-05-21T23:00:40Z","versions":["1.8.8"]},{"source":"amazon-inspector","sha256":"0a4c2d34f17238025f9234b370bf222d6c129077301f02558f0c9ff6764223e5","import_time":"2026-05-26T05:51:27.976008969Z","id":"IN-MAL-2026-003860","modified_time":"2026-05-21T14:08:50Z","versions":["1.7.0"]},{"source":"amazon-inspector","sha256":"43e870675cf05b842f3436f796d81579b28b9b7042712f71e5f2385a9e38a29e","import_time":"2026-05-26T05:51:32.005369786Z","id":"IN-MAL-2026-003895","modified_time":"2026-05-21T16:19:27Z","versions":["1.7.1"]},{"source":"amazon-inspector","sha256":"a6854a91118db5e9b73c68153067995cd7347b14badb5940a8fb27983f32014c","import_time":"2026-05-26T05:51:50.167332996Z","id":"IN-MAL-2026-004046","modified_time":"2026-05-21T22:32:31Z","versions":["1.8.6"]},{"source":"amazon-inspector","sha256":"e43d90fedac00e1487a5970508ef751849f2ac5eb9521d459e0f8a35243f5bc5","import_time":"2026-05-26T05:51:54.615656533Z","id":"IN-MAL-2026-004086","modified_time":"2026-05-21T23:12:30Z","versions":["1.8.9"]},{"source":"amazon-inspector","sha256":"e45ef9e03653889b558025b433f4ad7d2c100e03c1f3406bcbf4a9afc4f83391","import_time":"2026-05-26T05:51:37.993348235Z","id":"IN-MAL-2026-003943","modified_time":"2026-05-21T17:23:33Z","versions":["1.7.3"]},{"source":"amazon-inspector","sha256":"e52776b1d5b8ce00b4845c461802566ae09501bfc6bdb674118f768c7446d8cb","import_time":"2026-05-26T05:51:38.781041241Z","id":"IN-MAL-2026-003950","modified_time":"2026-05-21T17:59:26Z","versions":["1.8.0"]},{"source":"amazon-inspector","sha256":"49f8d7b7d69ffecc9dfb10616bcebc45ce910112af3c0d5804b1ad4e5f58d7f0","import_time":"2026-05-26T05:51:31.884018724Z","id":"IN-MAL-2026-003894","modified_time":"2026-05-21T16:19:27Z","versions":["1.7.1"]},{"source":"amazon-inspector","sha256":"60048d1ad2efd7c06d69411a0540bbd70bb3a38e48fb1c7e7db715f3ff2be901","import_time":"2026-05-26T05:51:33.585129583Z","id":"IN-MAL-2026-003906","modified_time":"2026-05-21T16:40:52Z","versions":["1.7.2"]},{"source":"amazon-inspector","sha256":"6df1ae3f89434137e6b1b89ec724820d1abb0d74708dbb4e7c4eb742e9b48fb3","import_time":"2026-05-26T05:51:42.442793923Z","id":"IN-MAL-2026-003983","modified_time":"2026-05-21T18:18:31Z","versions":["1.8.1"]},{"source":"amazon-inspector","sha256":"727b13c4ede54b3270c2b6c1fd145e2af5ae71b74cfb43c81dff1adbf52e6884","import_time":"2026-05-26T05:51:37.877095561Z","id":"IN-MAL-2026-003942","modified_time":"2026-05-21T17:23:33Z","versions":["1.7.3"]},{"source":"amazon-inspector","sha256":"86ea13ffac9eec9fddfff76f4695ebaf9255dce0182db8aec9e35fd1da9af2b0","import_time":"2026-05-26T05:51:23.660587231Z","id":"IN-MAL-2026-003825","modified_time":"2026-05-21T13:44:51Z","versions":["0.7.4"]},{"source":"amazon-inspector","sha256":"ea574dee4bc197069fb3e66d45f0cba5b4a01971e125f291ff9461612c21c06c","import_time":"2026-05-26T05:51:39.876260114Z","id":"IN-MAL-2026-003960","modified_time":"2026-05-21T17:59:54Z","versions":["1.8.0"]},{"source":"amazon-inspector","sha256":"f9bcf81e5e24b8ef0f8740b22a5ac06131911ab41be42486a3801eedd3f82c92","import_time":"2026-05-26T05:51:42.282235999Z","id":"IN-MAL-2026-003982","modified_time":"2026-05-21T18:18:30Z","versions":["1.8.1"]},{"source":"amazon-inspector","sha256":"642d3eec190dacce58aed0e8da54049be07f79cebd73258336fa7bbe3a9f7711","import_time":"2026-05-26T05:51:49.335925924Z","id":"IN-MAL-2026-004039","modified_time":"2026-05-21T21:53:57Z","versions":["1.8.5"]},{"source":"amazon-inspector","sha256":"cb126f6f47e4f4197b542c0de5b7c1a546789ba55b1b7becf6bc2c043b91298e","import_time":"2026-05-26T05:51:09.138949735Z","id":"IN-MAL-2026-003706","modified_time":"2026-05-21T02:53:56Z","versions":["0.7.2"]},{"source":"amazon-inspector","sha256":"dec4a4f1f8f7c6c7ab8f048c5dd7bbe1d6f439866c0a0887db1115c693dc1fa3","import_time":"2026-05-26T05:51:33.684453052Z","id":"IN-MAL-2026-003907","modified_time":"2026-05-21T16:40:52Z","versions":["1.7.2"]},{"source":"amazon-inspector","sha256":"ee7cd5515922574834a48547d8a744e6981e39d9d92f8d407377683818149147","import_time":"2026-05-26T05:51:12.438283456Z","id":"IN-MAL-2026-003732","modified_time":"2026-05-21T04:32:52Z","versions":["0.7.3"]},{"source":"amazon-inspector","sha256":"5115eefb42febe8237b59cf0f0e66707ec67d908ed6d27b6ca86d9239aaafdd4","import_time":"2026-05-26T05:51:51.137428312Z","id":"IN-MAL-2026-004055","modified_time":"2026-05-21T22:48:29Z","versions":["1.8.7"]},{"source":"amazon-inspector","sha256":"7a4ba44c6f981b9de0e6de85cc89ba0b4c08818c370ddaf7018e8f33a99730f6","import_time":"2026-05-26T05:51:02.002397969Z","id":"IN-MAL-2026-003647","modified_time":"2026-05-20T22:36:03Z","versions":["0.7.1"]},{"source":"amazon-inspector","sha256":"a06e89ed5b99b43ad9e603f768cbd3726bddbdcf75a50d69ba10f579fd9060ea","import_time":"2026-05-26T05:51:27.833980307Z","id":"IN-MAL-2026-003859","modified_time":"2026-05-21T14:08:50Z","versions":["1.7.0"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0