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

目标: 1000 元 · 已筹: 1359 元

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

jwtmethod

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

Summary

Malicious code in jwtmethod (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmjwtmethod1.1.10
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-10T06:43:55Z","published":"2026-07-10T06:43:55Z","schema_version":"1.7.4","id":"MAL-2026-10116","summary":"Malicious code in jwtmethod (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3dbd06d83019ce10a1c0da788fc10633f55f9f6c82058ca6841c4650b5611afb)\nOn module load, jwtmethod's decode.js executes a top-level routine that performs an HTTPS GET to https://jsonkeeper.com/b/E69V3 and passes the response body to `new Function.constructor('require', errCode)`, then invokes the resulting function with the host's `require`. The fetched content is attacker-controlled (jsonkeeper.com is a mutable third-party paste host) and is executed with full Node capabilities, giving the attacker arbitrary code execution on the installer's machine the moment any consumer imports the package. Package metadata is forged to impersonate the auth0/jsonwebtoken ecosystem: package.json sets `author: auth0` and points `repository`/`bugs` at github.com/radix-ui/primitives, and README.md is the unrelated `react-text` documentation from radix-ui — a lure designed to entice installers looking for a JWT library.\n","affected":[{"package":{"ecosystem":"npm","name":"jwtmethod"},"versions":["1.1.10"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"decode.js","sha256":"55a0f16e97cf4e6696b4ea0d68483db80763206973335e9655d6d5e1141b1749","tlsh":"d021acdc59eea1144ba730e0c61f54223228f203258ecac0b75c83d5afa5928f973ad5"},{"path":"package.json","sha256":"85d21de392bdefcd6eabf8da7493c5f7170471b9b2d9d254ce23790fba651ff2","tlsh":"39215701ce64eda316dda2e49d6d018226218c439d98fc0c37ea034c4f6d53f25feaad"}],"package_integrity":[{"filename":"jwtmethod-1.1.10.tgz","hashes":{"sha1":"1761aa62ba48f8c7097aa9eceb306e5a88395555","sha512_sri":"sha512-rTLIc42nBdz/AsoPqA4BsgVHNrEgSBEoqPZ28EnOme3iRBZ2cgtoYG2IwDJ0BIoKR4ThNWSCBhkE/8GKMLsi3w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/jwtmethod/v/1.1.10"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009604","import_time":"2026-07-10T07:46:07.900128774Z","modified_time":"2026-07-10T06:43:55Z","sha256":"3dbd06d83019ce10a1c0da788fc10633f55f9f6c82058ca6841c4650b5611afb","source":"amazon-inspector","versions":["1.1.10"]}]}}

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