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

目标: 1000 元 · 已筹: 1359 元

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

test__123q1

MAL-2026-15637
2026-08-31 18:24:29
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in test__123q1 (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1,117
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtest__123q13.2.4
npmtest__123q14.3.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-31T18:24:29Z","published":"2026-08-31T18:00:32Z","schema_version":"1.7.4","id":"MAL-2026-15637","summary":"Malicious code in test__123q1 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ac33922c804a14a307d55fb3dc80531482503bee2c96cc7fa4a487101c70e7d6)\nThe package declares a postinstall hook (`node dist/script.js`) while its declared main entry (`dist/index.js`) is an inert 105-byte stub, so the entire behavior fires at `npm install` time. The postinstall script walks the installer's home directory and common workspace folders (Desktop, Documents, Downloads, Projects, Backups) and (1) reads browser wallet extension profiles for MetaMask, Phantom, Trust, Coinbase, OKX, Rabby, Keplr, Solflare, TronLink, Ronin, and Exodus, along with desktop wallet stores for Exodus, Electrum, Bitcoin Core, Ledger Live, Trezor Suite, Wasabi, and Sparrow, plus any files matching seed/mnemonic/bip39/privatekey/keystore keywords; (2) enumerates a hardcoded list of sensitive files including `.env*`, `.npmrc`, `.yarnrc`, `.pnpmrc`, `.netrc`, `.git-credentials`, `.gitconfig`, `id_rsa`/`id_ed25519`/`id_ecdsa`, `.pem`/`private.key`, `aws.json`, `gcloud.json`, `service-account.json`, and `firebase-adminsdk.json`. Collected material is packaged with `tar` and uploaded to a hardcoded Telegram bot endpoint at `https://api.telegram.org/bot<BOT_TOKEN>/sendDocument`. The script additionally harvests the installer's npm auth token, writes `//registry.npmjs.org/:_authToken=${token}` into an `.npmrc`, queries `registry.npmjs.org/-/whoami` and `registry.npmjs.org/-/v1/search` to enumerate the victim maintainer's other packages, and copies its own `dist` payload into them via `fs.cp('dist', pathToInject, { recursive: true })` to republish malicious versions under the victim's identity.\n","affected":[{"package":{"ecosystem":"npm","name":"test__123q1"},"versions":["4.3.5","3.2.4"],"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"}],"indicators":{"evidence_files":[{"path":"dist/script.js","sha256":"6e5dadc949ddb9c504d5fb602d09b55209473966f1b9537aa27758743ae40dc7","tlsh":"4113c66755ebe0180527f59aaf1f6006265c191b790cf94cbb9cca885fc93b891f23bc"},{"path":"package.json","sha256":"f78007c2cc483e06f9ae2af1e20403368e39ef2465ec7b1a00e154176c2f9c22","tlsh":"c0e0df34cd749e7326dc22e98c7a6153a662099b0018fd1c72cb616c472d2f754be2ae"}],"package_integrity":[{"filename":"test__123q1-4.3.5.tgz","hashes":{"sha1":"25c421263dc348cf35d9738bf952780bc1a09593","sha512_sri":"sha512-XtGYdk04VLRz0Dhfmt3KNvvKldBr2gm29NskFy6YP0xrBkulacS4/8e0QInqIJQzPsxxSs4HMTL+4GCmPxol1w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/test__123q1/v/4.3.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/test__123q1/v/3.2.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019292","import_time":"2026-08-31T18:22:28.866034458Z","modified_time":"2026-08-31T18:00:32Z","sha256":"821d5a8f06ba3e50a1b5afe5d6d824cd3e48f67dd1ca573cdc273dbfecaacd47","source":"amazon-inspector","versions":["4.3.5"]},{"id":"IN-MAL-2026-019293","import_time":"2026-08-31T18:22:28.981519466Z","modified_time":"2026-08-31T18:00:39Z","sha256":"ac33922c804a14a307d55fb3dc80531482503bee2c96cc7fa4a487101c70e7d6","source":"amazon-inspector","versions":["3.2.4"]}]}}

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