MAL-2026-20259

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/webhook-easy/MAL-2026-20259.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20259
Published
2026-11-19T22:35:47Z
Modified
2026-11-19T22:45:06Z
Summary
Malicious code in webhook-easy (npm)
Details

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

Source: amazon-inspector (122a9d3bb53594cc075ddd718968a7eb74486420ded7ce82eebb810021410023)

On require('webhook-easy'), src/models.js runs a top-level IIFE that fetches a base64-concealed URL (decoded host: www.jsonkeeper.com, path /b/OTNIY), AES-256-CBC decrypts the response using a password hardcoded in the module, and passes the resulting string to eval(). The destination URL, an auth header name, and a header value in src/monitor.js are stored as base64 literals and decoded at runtime, concealing the destination from casual review. Because models.js is reached transitively from the package main (src/index.js), any consumer that requires the package executes whatever JavaScript the paste host currently serves — a mutable, third-party, attacker-controlled location. package.json also declares registry dependencies named 'crypto' ^1.0.1 and 'fs' ^0.0.1-security, which shadow Node core module names and pull unrelated registry packages into the install. The behavior has no relationship to the package's stated purpose (webhook signing) and is the canonical remote-execution dropper shape.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022897",
            "import_time": "2026-11-19T22:36:18.780223092Z",
            "modified_time": "2026-11-19T22:35:47Z",
            "sha256": "122a9d3bb53594cc075ddd718968a7eb74486420ded7ce82eebb810021410023",
            "source": "amazon-inspector",
            "versions": [
                "1.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / webhook-easy

Package

Affected ranges

Affected versions

1.*
1.1.0

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": "src/models.js",
            "sha256": "9bd36b1cb86f5c21016288fa687006d77b3d714e4fff4a0e02e16e9816d6f9ad",
            "tlsh": "ed51f1423ef319338253a9e5cf7bc441a4118f8b3945de487f9d33029f489b4daa2ae4"
        },
        {
            "path": "src/monitor.js",
            "sha256": "f51cc1d301ebbb1c20e4894ab82c147c46af77d6f0e5cad7810afa43e3fe4d8d",
            "tlsh": "f6f00c018b810d9315aa43c4304d6c0a24dba2433d08f6703aacf1080f9edab66b1daf"
        },
        {
            "path": "package.json",
            "sha256": "ae41264dc750b98ec82edca138d7076f4e642edc9e7b28aa3c1059d5ffe23d28",
            "tlsh": "6b01f715ca749d6301c8f6e21d3a1646a63148571dd8bd0d33cb517c8f4d66b20be37e"
        }
    ],
    "package_integrity": [
        {
            "filename": "webhook-easy-1.1.0.tgz",
            "hashes": {
                "sha1": "d4ef6e1db60dc10ca381165492af674f56261439",
                "sha512_sri": "sha512-hq4przDqUkelHlqL/utMGwNL3UuLb3pz4GdmXMNMRPVfn90JAe+9U2DByyt8Jtu/44XkCRJkX/y/2gqV/LeZhA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/webhook-easy/MAL-2026-20259.json"