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

目标: 1000 元 · 已筹: 1359 元

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

jsf-utils

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

Summary

Malicious code in jsf-utils (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
6
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmjsf-utils*
npmjsf-utils0.3.1
npmjsf-utils1.3.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T17:21:22Z","published":"2026-07-07T15:13:22Z","schema_version":"1.7.4","id":"MAL-2026-6921","aliases":["GHSA-2jff-wp39-wgch"],"summary":"Malicious code in jsf-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f6a2a0bbd4939a789673bdca08866c9be58dd361df175695e7f8c1141bed4e47)\nOn require('jsf-utils'), lib/string/pathcase.js runs a top-level async IIFE that fetches a JavaScript payload from https://jsonkeeper.com/b/BPB86 and executes it in-process via Function.constructor with access to the installer's require. The file is auto-loaded because lib/index.js and lib/string/index.js recursively require every module in the tree. The exported pathcase function additionally spawns a detached, stdio-ignored `node` child process using the fetched script as argv, extending execution beyond the import-time IIFE and surviving parent exit. The remote-fetch-and-eval logic is placed inside a file whose stated purpose is a trivial string helper (pathcase), with the original benign implementation left commented out below the payload — concealment inside an innocuous utility. The package impersonates jonschlinkert/utils by reusing that project's author, homepage, and repository metadata while shipping under the name jsf-utils. Because the payload host is a mutable anonymous paste service, the executed code can be changed by the attacker at any time without republishing the package.\n\n## Source: ghsa-malware (17ec4d3467dc2baf85fbb6a18391ee4fd7d59044080f07cde071705f9f28097a)\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":"jsf-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.3.1","0.3.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"}],"indicators":{"evidence_files":[{"path":"lib/string/pathcase.js","sha256":"f8325fe183028931b2d3e5d8b650e89eac77cb6db44e5eddfa22f87b682c2d14","tlsh":"22312f4a34f1724a923976e8959f90627092e012311fd4d4f28d93d22fd49a98673dde"},{"path":"package.json","sha256":"20ba7aaf3b8965a6521205723fd9010e841d649bfcc1118ad4f766c3fdc84bfe","tlsh":"67412355cd65cca30ad822f5686d0246e660881b8d55fd0c338a6f8c4f6e06f75b8f2e"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2jff-wp39-wgch"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsf-utils/v/1.3.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsf-utils/v/0.3.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"17ec4d3467dc2baf85fbb6a18391ee4fd7d59044080f07cde071705f9f28097a","import_time":"2026-07-07T15:15:50.679195709Z","id":"GHSA-2jff-wp39-wgch","modified_time":"2026-07-07T15:13:23Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"ef8f6966be869d917854e50343b91aa637713ed595cf184167161ee19b82c33e","import_time":"2026-07-09T17:19:24.77519203Z","id":"IN-MAL-2026-009329","modified_time":"2026-07-09T16:56:42Z","versions":["1.3.1"]},{"source":"amazon-inspector","sha256":"f6a2a0bbd4939a789673bdca08866c9be58dd361df175695e7f8c1141bed4e47","import_time":"2026-07-09T17:19:24.488347809Z","id":"IN-MAL-2026-009327","modified_time":"2026-07-09T16:56:27Z","versions":["0.3.1"]}]}}

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