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

目标: 1000 元 · 已筹: 1359 元

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

test-dev-host

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

Summary

Malicious code in test-dev-host (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
265
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtest-dev-host*
npmtest-dev-host0.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11491","published":"2026-08-01T03:43:30Z","modified":"2026-08-04T21:35:14.232191665Z","aliases":["GHSA-6v46-5v2x-c3c5"],"summary":"Malicious code in test-dev-host (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (85b3df759cd11b9c662bed5840b0671d4e9c54a76a606d284ca39390ecf51f8d)\ntest-dev-host@0.1.0 connects out to a hardcoded socket server (host/port sourced from the test-dev-config module) and enters a receive-loop that dispatches remote messages to handlers for 'command', 'download', 'upload', 'archive', 'install', 'grabext', 'keylog', and 'address'. This gives the remote operator arbitrary shell command execution, file read/write, archive exfiltration, and browser-extension install/theft on the installer's host. On a 'keylog' message the agent flushes a keystroke buffer, computes a hardware fingerprint, and uploads the local keylog file via uploadFileToPublicApi keyed by machineId. src/py_launcher.js also fetches XOR+base64-encrypted (key 'w3x') address replacements from ${DJANGO_API_URL}/address and installs them as helper.wallet_replacements, implementing the clipboard/wallet-address swap pattern that redirects cryptocurrency transfers to attacker-controlled addresses. Obfuscation (base64 + XOR of C2-supplied data) is used to conceal the wallet-swap payload.\n\n## Source: ghsa-malware (27cded0e4f6f17de980e65abefd0ed8b4a24a7f817e8a8506492d4ed87d5ab82)\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":{"name":"test-dev-host","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.0"],"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":"src/main_agent.js","sha256":"89ecad7e0211b8ad922e75d88eb77ca294963299b5f324b9ba85f3515c5a21af","tlsh":"85c14544289eb56809b7b3b5a757b006f62381db070465c9bbfcd3506f388f126a1fd8"},{"path":"src/py_launcher.js","sha256":"cee2abd1b8f72550e69a22ad25e73c933d929bd2c55647220374527fda24b92e","tlsh":"6b410d8274b7a1510ab277b8135fa50aea7aa1a33784c584f3ad87132f76d30a461dcc"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6v46-5v2x-c3c5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/test-dev-host/v/0.1.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-6v46-5v2x-c3c5","import_time":"2026-08-02T22:41:04.808605Z","modified_time":"2026-08-01T03:43:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"27cded0e4f6f17de980e65abefd0ed8b4a24a7f817e8a8506492d4ed87d5ab82","source":"ghsa-malware"},{"id":"IN-MAL-2026-010987","import_time":"2026-08-04T21:33:12.497696675Z","modified_time":"2026-08-04T21:15:52Z","sha256":"85b3df759cd11b9c662bed5840b0671d4e9c54a76a606d284ca39390ecf51f8d","source":"amazon-inspector","versions":["0.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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