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

目标: 1000 元 · 已筹: 1359 元

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

mfa-js

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

Summary

Malicious code in mfa-js (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmfa-js*
npmmfa-js1.0.3
npmmfa-js1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-15492","published":"2026-08-28T18:19:27Z","modified":"2026-08-28T23:16:42.995310210Z","aliases":["GHSA-2p92-fvvr-75hj"],"summary":"Malicious code in mfa-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3afbd77114dc45ac9259720ffd355659d0442c917aff5a734d9ea0ca337cba77)\nOn require('mfa-js'), lib/cache.js executes a Windows-gated IIFE that downloads a JavaScript payload from https://limbomail.com/api/attachment/r_Ea6rT_kGfT.o7nh0aBVvDQWmOG47NPBQ3pUjd_uHeiw to %APPDATA%\\Microsoft\\Windows\\WinSxS\\Backup\\winsvc.js and launches it by spawning wscript.exe against a VBS wrapper that invokes node.exe. Sensitive strings (child_process, https, spawn, wscript.exe, AppData, node.exe, winsvc.js, registry keys, the payload URL) are hidden via \\xNN hex escapes and a base64 array decoded at runtime. lib/totp.js installs four independent persistence mechanisms for the dropped payload: an HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run value named WinSvcHost, an HKCU\\Environment UserInitMprLogonScript entry, a Startup-folder wsvc.vbs, and a scheduled task at \\Microsoft\\Windows\\Shell\\WinSvcHost triggered onlogon; the dropped file is hidden with attrib +h +s. cache.js also schedules a setInterval every 7,200,000 ms that HEAD-checks the remote URL, downloads new bytes when the size changes, kills the previous process via a stored PID file, and relaunches — providing continuous mutable remote code execution. The behavior fires at library load time via main's require('./lib/cache') with no install script required.\n\n## Source: ghsa-malware (55c65dab95d72a638ed8ca9618331c4f28984dfc89cf415df95e75f21e7f4f2d)\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":"mfa-js","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.4","1.0.3"],"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"}],"indicators":{"evidence_files":[{"path":"lib/cache.js","sha256":"ed894e38f515bd03e43a7eccec3917c5317124270d2fd22b536bf23696fc9a0b","tlsh":"afb1d04a25f2a03751ab55ff5b4f81097227e4433148f986bf6cf2883fa2128c6a75d8"},{"path":"lib/totp.js","sha256":"8db6df3b347b9487cd74147360538a2cc10297ea891e5c7f1f0c3b99bede6678","tlsh":"eb71fd9438f1e137229e85c3be279cb46167d0b17182f087ab6cb5ce1fda41bc6664d8"},{"path":"lib/crypto.js","sha256":"2f167d3da6655f882f6ba1d8a4ec69728342100a02e35e7aa0fc1a133ec05105","tlsh":"ce3110057cd6b51c458a93f099afcc0a705ac822238a9a30725dda8e7fb5a38823684d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2p92-fvvr-75hj"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mfa-js/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mfa-js/v/1.0.3"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-2p92-fvvr-75hj","import_time":"2026-08-28T21:01:36.33116146Z","modified_time":"2026-08-28T18:19:32Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"55c65dab95d72a638ed8ca9618331c4f28984dfc89cf415df95e75f21e7f4f2d","source":"ghsa-malware"},{"id":"IN-MAL-2026-019055","import_time":"2026-08-28T23:14:34.66292129Z","modified_time":"2026-08-28T23:00:53Z","sha256":"3afbd77114dc45ac9259720ffd355659d0442c917aff5a734d9ea0ca337cba77","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-019053","import_time":"2026-08-28T23:14:34.507594938Z","modified_time":"2026-08-28T23:00:36Z","sha256":"d90ea4a184775c9f5a135341624d1262335f2a6cd0a6521cc5e6ebe7d1c65789","source":"amazon-inspector","versions":["1.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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