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

目标: 1000 元 · 已筹: 1359 元

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

jsontoken-extend

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

Summary

Malicious code in jsontoken-extend (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
6
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmjsontoken-extend1.0.0
npmjsontoken-extend1.0.1
npmjsontoken-extend1.0.10
npmjsontoken-extend1.0.11
npmjsontoken-extend1.0.12
npmjsontoken-extend1.0.13
npmjsontoken-extend1.0.2
npmjsontoken-extend1.0.3
npmjsontoken-extend1.0.4
npmjsontoken-extend1.0.5
npmjsontoken-extend1.0.6
npmjsontoken-extend1.0.7
npmjsontoken-extend1.0.8
npmjsontoken-extend1.0.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-4592","published":"2026-05-25T15:26:07Z","modified":"2026-09-01T11:20:27.417861212Z","aliases":["GHSA-v985-2jx7-c35g"],"summary":"Malicious code in jsontoken-extend (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (59a8a8ab722d33bdd2ea25422aaf7e607a1b1a881446c3561ec8225fb9187742)\nOn require()/import of jsontoken-extend, sign.js executes a top-level IIFE that base64-decodes a hardcoded string to https://www.jsonkeeper.com/b/XAMRK, fetches the JSON body, and passes data.content directly to eval(). jsonkeeper.com is an anonymous, mutable paste service — the author can change the executed payload at any time without republishing the package, giving arbitrary remote code execution on every consumer at import time. A second base64-encoded URL (https://www.jsonkeeper.com/b/W80UP) is staged but commented out, indicating multiple prepared payloads. The package name and public API (sign/verify/decode plus JsonWebTokenError/NotBeforeError/TokenExpiredError) mirror the popular jsonwebtoken library exactly, and it even declares jsonwebtoken as a dependency to pass through legitimate-looking calls — a typosquat lure to attract developers searching for the real JWT library. Base64-wrapping the C2 URLs is a deliberate static-analysis evasion. Three independent block signals are present: import-time fetch+eval from an anonymous mutable host, typosquat naming/API mirroring with malicious payload, and obfuscated C2 URL constants.\n\n## Source: ghsa-malware (f4197bc2551778a0c0d93263900f2915b4feb64a81c6ff3530b69df4734efae0)\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":"jsontoken-extend","ecosystem":"npm"},"versions":["1.0.12","1.0.11","1.0.13","1.0.10","1.0.9","1.0.8","1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"],"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":{"domains":["www.jsonkeeper.com","34.4.16.104.in-addr.arpa","ip-api.com"],"evidence_files":[{"path":"sign.js","sha256":"e135d3304dec791ebc5bbe8de68881b5e0e287d0bb7b283ada42c0e2aaaba3b5","tlsh":"af227244a4f2922288a320f2f44fe507b539e697356c6ed176cc4394cf898e4e6f7a94"},{"path":"package.json","sha256":"bde0631a9b7e3e43398e1769f303c82c0d5742b6c33949c9fe19b0e114e987ac","tlsh":"8a216801ce18ce6311d9a2e66e2d0583592188439d84fc0d33ea578c0f5c63f39bea6c"}],"package_integrity":[{"filename":"jsontoken-extend-1.0.12.tgz","hashes":{"sha1":"a4e44ac13141db7ab9df422b01dcb09227aea2ca","sha512_sri":"sha512-FzEAwh5mAu3FoJ8/MsywR7aJMX29wpcvywcm1YjoOQN202mOp3zzsFjkTn4LMSAyHOJ3Np4pn9NC9rttUu4ZlA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsontoken-extend/v/1.0.12"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsontoken-extend/v/1.0.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jsontoken-extend/v/1.0.13"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v985-2jx7-c35g"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004715","import_time":"2026-05-26T05:53:08.670729079Z","modified_time":"2026-05-25T15:58:04Z","sha256":"166f0f03fe28af87dca30356e92bd090fdf203f729aa761976487a818212e830","source":"amazon-inspector","versions":["1.0.12"]},{"id":"IN-MAL-2026-004716","import_time":"2026-05-26T05:53:08.789544431Z","modified_time":"2026-05-25T15:58:18Z","sha256":"8907906fb6b1164ec1dc6d4ddf86f76c0ddbe872cae57a5655b72450b08049dc","source":"amazon-inspector","versions":["1.0.12"]},{"id":"IN-MAL-2026-004700","import_time":"2026-05-26T05:53:06.819413501Z","modified_time":"2026-05-25T15:26:12Z","sha256":"a6ee9c49ff4f24ff70f0f61fd7de9e1a73b10b57f3bbafe4fda47cb01cf92ebf","source":"amazon-inspector","versions":["1.0.11"]},{"id":"IN-MAL-2026-004699","import_time":"2026-05-26T05:53:06.681293593Z","modified_time":"2026-05-25T15:26:07Z","sha256":"59a8a8ab722d33bdd2ea25422aaf7e607a1b1a881446c3561ec8225fb9187742","source":"amazon-inspector","versions":["1.0.11"]},{"id":"IN-MAL-2026-006072","import_time":"2026-06-12T19:44:04.671116052Z","modified_time":"2026-06-12T19:08:08Z","sha256":"2f3566df1a83addfc5b772c56cfe997bcdb881d49c26580103f9f2ad48b24894","source":"amazon-inspector","versions":["1.0.13"]},{"id":"IN-MAL-2026-006071","import_time":"2026-06-12T19:44:04.568921623Z","modified_time":"2026-06-12T19:08:07Z","sha256":"c56d8cc26cf15186317bfa213696cc9d476306f590cf2710883f24671fdf3357","source":"amazon-inspector","versions":["1.0.13"]},{"id":"GHSA-v985-2jx7-c35g","import_time":"2026-07-06T19:53:47.984342501Z","modified_time":"2026-07-06T18:54:07Z","sha256":"f4197bc2551778a0c0d93263900f2915b4feb64a81c6ff3530b69df4734efae0","source":"ghsa-malware","versions":["1.0.13","1.0.12","1.0.11","1.0.10","1.0.9","1.0.8","1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"]},{"id":"RLMA-2026-05131","import_time":"2026-07-09T09:16:35.633029109Z","modified_time":"2026-07-07T12:56:23Z","sha256":"04f3036cd8e9f7f4d8d0b434a60101e29ab8d0f089f386d703f0b166b780a616","source":"reversing-labs","versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.10","1.0.11","1.0.12"]},{"id":"RLUA-2026-05563","import_time":"2026-07-20T13:15:02.328152153Z","modified_time":"2026-07-20T10:47:41Z","sha256":"ba4d467bbd66c8fcba322be93b211b29e5dc339250399ea140c40f4950f91d69","source":"reversing-labs"},{"id":"RLUA-2026-06292","import_time":"2026-09-01T11:18:10.225249163Z","modified_time":"2026-08-24T16:56:29Z","sha256":"9aabd5576d12b5c69dd5e9583aa3d5aa814b129c2dcdd9957841bb6435bfc169","source":"reversing-labs","versions":["1.0.13"]}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com","inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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