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

目标: 1000 元 · 已筹: 1336

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

jest-test-plugin-utils

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

Summary

Malicious code in jest-test-plugin-utils (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
52
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archivedVIP 下载
1.0.1unavailable
1.0.2unavailable
1.0.3unavailable
1.0.4unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmjest-test-plugin-utils*
npmjest-test-plugin-utils1.0.0
npmjest-test-plugin-utils1.0.1
npmjest-test-plugin-utils1.0.2
npmjest-test-plugin-utils1.0.3
npmjest-test-plugin-utils1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-5896","published":"2026-06-16T15:37:20Z","modified":"2026-08-20T21:45:11.522214307Z","aliases":["GHSA-7969-jc8h-fp32"],"summary":"Malicious code in jest-test-plugin-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3f948eff13632557a65152c587b6aa87783e49cf40504aedca8ee15da6ed205e)\nThe package advertises itself as a Jest plugin (name: 'jest-test-plugin-utils', description: 'mqtt utils') but ships no Jest or MQTT functionality. Its main entry dist/index.js is a heavily obfuscated 200KB browserify bundle (obfuscator.io fingerprint: 1299-entry rotated string array, decoder wrapper, control-flow flattening; built with the declared devDependency 'gulp-javascript-obfuscator'). After deobfuscation, the only meaningful behavior is a function loadFilbetScriptSilently() (exposed as window.__fetchFilbetScript__) that creates a <script> element with src='https://cdn.jsdelivr.net/gh/gongben2024/network-security@main/src/filbet.js' and appends it to document.head, executing whatever code the author hosts at that mutable @main branch. The destination repository is named 'network-security' under author 'gongben2024' and is unrelated to the package's stated purpose. Because the reference is to the @main branch (not a pinned commit/tag), the author can change the executed payload at any time without republishing this package. Any application that bundles or imports this module will execute attacker-controlled JavaScript in the browser context, with full access to the host page's DOM, cookies, and storage. The combination of name camouflage, heavy obfuscation, and unpinned remote-script execution is a deliberate supply-chain attack pattern.\n\n## Source: ghsa-malware (951d82ab1573c962c8c548477013f418229d33a24e4e6a89e509ca4fdb149106)\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":"jest-test-plugin-utils","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.2","1.0.1","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"},{"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":"dist/index.js","sha256":"a61584375c14c072e01ec862ed28d36ff0157245a5b195229da9dafa8946a040","tlsh":"e514404077c0b844538b1fba766fb4e5e46b1de934c4090bc515fca0f5baa26fae2934"},{"path":"package.json","sha256":"b152b66b1f3a7e2634d7dcdb3cf45409e2fa55d9770b061f6f6f5c92db06f513","tlsh":"fdf02734dd71987306e820e51c682167e0709d2bc245fd1c33c7140c4a5f2eb64be6ac"}],"package_integrity":[{"filename":"jest-test-plugin-utils-1.0.0.tgz","hashes":{"sha1":"b8a42abd71c8e56f7560f015cdc53596b0f9b476","sha512_sri":"sha512-ipOiWo9EBBPkhnInqSV4Se9fDI6iUR/13dKvtt04vFctEePsyzs2NuYD4JAkmm/jZw7gpc7hDbyCvCBjIWlK2Q=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/jest-test-plugin-utils/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jest-test-plugin-utils/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jest-test-plugin-utils/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jest-test-plugin-utils/v/1.0.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7969-jc8h-fp32"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jest-test-plugin-utils/v/1.0.3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-006765","import_time":"2026-06-16T16:06:34.427097256Z","modified_time":"2026-06-16T15:37:24Z","sha256":"3f948eff13632557a65152c587b6aa87783e49cf40504aedca8ee15da6ed205e","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-006764","import_time":"2026-06-16T16:06:34.332185997Z","modified_time":"2026-06-16T15:37:23Z","sha256":"54c5196f3361da72dfccd2c8abb0caba132415f9907602c5a6ec92d6da2e077f","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-006766","import_time":"2026-06-16T16:06:34.568829617Z","modified_time":"2026-06-16T15:37:30Z","sha256":"bb80fa98045e0dd75514425f419aa986e7e57bfa888d8baaa8c5eb0016418f83","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-006763","import_time":"2026-06-16T16:06:34.127682958Z","modified_time":"2026-06-16T15:37:20Z","sha256":"f5445eba984ab32829120583a68c6bfc2fa8aec2f875b506c873de598f1d27d1","source":"amazon-inspector","versions":["1.0.4"]},{"id":"GHSA-7969-jc8h-fp32","import_time":"2026-08-20T13:33:26.043107536Z","modified_time":"2026-08-20T13:05:33Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"951d82ab1573c962c8c548477013f418229d33a24e4e6a89e509ca4fdb149106","source":"ghsa-malware"},{"id":"IN-MAL-2026-018464","import_time":"2026-08-20T21:43:25.339148887Z","modified_time":"2026-08-20T21:14:38Z","sha256":"149fc5043ae3e73f200138c8c6c88106df7b187c2e08d6ad0dc7e889721de28b","source":"amazon-inspector","versions":["1.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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