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

目标: 1000 元 · 已筹: 1359 元

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

jsonfb

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

Summary

Malicious code in jsonfb (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
53
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmjsonfb*
npmjsonfb1.0.0
npmjsonfb1.0.1
npmjsonfb1.0.2
npmjsonfb1.0.3
npmjsonfb1.0.4
npmjsonfb1.0.5
npmjsonfb1.0.6
npmjsonfb1.0.7
npmjsonfb1.0.8
npmjsonfb1.0.9
npmjsonfb1.1.0
npmjsonfb1.1.0-beta.1
npmjsonfb1.1.0-beta.2
npmjsonfb1.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10437","published":"2026-07-13T09:17:31Z","modified":"2026-09-01T11:20:27.413724518Z","aliases":["GHSA-86qc-ppwg-mgcj"],"summary":"Malicious code in jsonfb (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7fc07bf73ed684a1d555baa4dc6cadcd170bde4da4779ef62c0dd3f9cf02c99a)\nPackage jsonfb@1.1.0 is presented as a JSON.parse bigint helper (mimicking json-bigint, and re-using the real json-bigint maintainer's name in package.json while the repository URL points at an unrelated org). The entire 471 KB index.js is packed with obfuscator.io (rotating 3004-entry string array, RC4-based string decoder, self-defending debugger check, control-flow flattening) that hides all require targets, destination URLs, and config keys. Behind the obfuscation, the module pulls vm, fs, os, http, https, crypto and implements fetchRemoteRiskCode, which HTTP-GETs base64-encoded JavaScript from a set of remoteCodeUrls, decodes it with Buffer.from(data.code,'base64'), and executes it via new vm.Script(code,{filename,timeout}).runInContext(sandboxContext) inside a SandboxManager that exposes fs, os, path, child_process, http, and require to the fetched code. A startRiskCodePolling loop (default 30s) auto-starts when NODE_ENV=production or when RISK_CODE_AUTO_START is set. A companion remoteLog path builds HMAC-MD5-signed POSTs (signWithMD5 with hardcoded signSecretKey/signSecretValue) to remoteLogUrls to ship runtime state and sandbox output back to the operator. The obfuscation, the impersonated author identity, the typosquat name, and the require-time remote-code-execution + signed exfiltration channel together constitute a live C2/dropper delivered as a fake JSON parser.\n\n## Source: ghsa-malware (5903da304ed82b530bffd047b6d4ef1c4bd532fe1815540857a73a5f3aece882)\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":"jsonfb","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.0","1.1.0-beta.1","1.1.0-beta.2","1.1.1","1.0.9","1.0.7","1.0.8","1.0.0","1.0.1","1.0.2","1.0.4","1.0.5","1.0.6","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"},{"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":"index.js","sha256":"57f0f45bba6668ed3e98cbd6ea939501f03d5ca248f00489b5629d67d46f0ac6","tlsh":"89a4c19467c0e40762cf0b53ff06bae9e56ba9b674c8a8478664799d25bc107c1f0ef0"},{"path":"package.json","sha256":"776be8428a91158eef4e02cb7cfde8051e4a863708dbb5d85b6e3fd4293504e6","tlsh":"cef0e230c174aea30add6b90ac9a2846a9434c679894fc283793111d9fee52f55fd2bc"}],"package_integrity":[{"filename":"jsonfb-1.1.0-beta.1.tgz","hashes":{"sha1":"095b89d4544d5c6fdaed3c138320f9a7825614a4","sha512_sri":"sha512-lNBIS+g1L2vU1l6jjrXG4lGrctxDUJ9Ku3RzyAk5uUn3M3jvZV9tXSm+ik879K1xcrOOfxrdoM+FzU/8LiZPSg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonfb/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonfb/v/1.1.0-beta.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonfb/v/1.1.0-beta.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-86qc-ppwg-mgcj"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonfb/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonfb/v/1.0.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonfb/v/1.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonfb/v/1.0.8"},{"type":"WEB","url":"https://www.aikido.dev/blog/npm-backdoor-lets-hackers-hijack-gambling-outcomes"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010174","import_time":"2026-07-13T10:37:34.826441672Z","modified_time":"2026-07-13T09:17:31Z","sha256":"7fc07bf73ed684a1d555baa4dc6cadcd170bde4da4779ef62c0dd3f9cf02c99a","source":"amazon-inspector","versions":["1.1.0"]},{"id":"IN-MAL-2026-010177","import_time":"2026-07-13T10:37:35.080466974Z","modified_time":"2026-07-13T09:17:54Z","sha256":"98848bd28a5e3618e7db4e91a9186f70be344122f20a963317063ca52badd0b3","source":"amazon-inspector","versions":["1.1.0-beta.1"]},{"id":"IN-MAL-2026-010178","import_time":"2026-07-13T10:37:35.16099686Z","modified_time":"2026-07-13T09:18:02Z","sha256":"cc9554116a6b3a8cb431a21bbfe2f603f8ace900d2f7da8aac59178461157c4f","source":"amazon-inspector","versions":["1.1.0-beta.2"]},{"id":"GHSA-86qc-ppwg-mgcj","import_time":"2026-07-15T05:00:56.791199296Z","modified_time":"2026-07-14T21:40:17Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5903da304ed82b530bffd047b6d4ef1c4bd532fe1815540857a73a5f3aece882","source":"ghsa-malware"},{"id":"IN-MAL-2026-010631","import_time":"2026-07-15T08:51:04.927813258Z","modified_time":"2026-07-15T08:06:19Z","sha256":"307f2e80c8bd7309b0dbca5a550b834846239e00586b89125880d937d935a9d2","source":"amazon-inspector","versions":["1.1.1"]},{"id":"IN-MAL-2026-010658","import_time":"2026-07-15T08:51:06.608709302Z","modified_time":"2026-07-15T08:10:10Z","sha256":"a52d38d14bdfe6bda3c78ca6a171ce66bb40bd285f7b349c271d759364e0c6ed","source":"amazon-inspector","versions":["1.0.9"]},{"id":"IN-MAL-2026-010657","import_time":"2026-07-15T08:51:06.574577301Z","modified_time":"2026-07-15T08:10:00Z","sha256":"ab7a4f1cb35d5abb2872eb75e0d1157413568ae0d4e0e28baec8f02499d3cb17","source":"amazon-inspector","versions":["1.0.7"]},{"id":"IN-MAL-2026-010659","import_time":"2026-07-15T08:51:06.660452967Z","modified_time":"2026-07-15T08:10:18Z","sha256":"eb1550e0681335d7266543b60b2a42563a2444397b744668de5258253836b766","source":"amazon-inspector","versions":["1.0.8"]},{"id":"RLMA-2026-05562","import_time":"2026-07-20T13:14:48.390980034Z","modified_time":"2026-07-20T10:47:40Z","sha256":"747a210f3ca25c3ff0ae4962cd6a099f4d9ec141809c08866647adef1bb0b946","source":"reversing-labs","versions":["1.0.0","1.0.1","1.0.2","1.0.4","1.0.5","1.0.6"]},{"id":"RLUA-2026-06291","import_time":"2026-09-01T11:18:10.027976621Z","modified_time":"2026-08-24T16:56:29Z","sha256":"7b33182167a3d9ee514f9494fc5b9c91b0b6aa20b833ee3f81234517a679a2de","source":"reversing-labs","versions":["1.0.3","1.0.8","1.1.0-beta.2","1.1.0-beta.1","1.1.1","1.0.9","1.0.7","1.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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