MAL-2026-10116

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/jwtmethod/MAL-2026-10116.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10116
Published
2026-07-10T06:43:55Z
Modified
2026-07-10T08:01:50.550363066Z
Summary
Malicious code in jwtmethod (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (3dbd06d83019ce10a1c0da788fc10633f55f9f6c82058ca6841c4650b5611afb)

On 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "3dbd06d83019ce10a1c0da788fc10633f55f9f6c82058ca6841c4650b5611afb",
            "id": "IN-MAL-2026-009604",
            "import_time": "2026-07-10T07:46:07.900128774Z",
            "modified_time": "2026-07-10T06:43:55Z",
            "versions": [
                "1.1.10"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / jwtmethod

Package

Affected ranges

Affected versions

1.*
1.1.10

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "55a0f16e97cf4e6696b4ea0d68483db80763206973335e9655d6d5e1141b1749",
            "tlsh": "d021acdc59eea1144ba730e0c61f54223228f203258ecac0b75c83d5afa5928f973ad5",
            "path": "decode.js"
        },
        {
            "sha256": "85d21de392bdefcd6eabf8da7493c5f7170471b9b2d9d254ce23790fba651ff2",
            "tlsh": "39215701ce64eda316dda2e49d6d018226218c439d98fc0c37ea034c4f6d53f25feaad",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "jwtmethod-1.1.10.tgz",
            "hashes": {
                "sha512_sri": "sha512-rTLIc42nBdz/AsoPqA4BsgVHNrEgSBEoqPZ28EnOme3iRBZ2cgtoYG2IwDJ0BIoKR4ThNWSCBhkE/8GKMLsi3w==",
                "sha1": "1761aa62ba48f8c7097aa9eceb306e5a88395555"
            }
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/jwtmethod/MAL-2026-10116.json"