{"id":"MAL-2026-20259","summary":"Malicious code in webhook-easy (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (122a9d3bb53594cc075ddd718968a7eb74486420ded7ce82eebb810021410023)\nOn 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.\n","modified":"2026-11-19T22:45:06.174328849Z","published":"2026-11-19T22:35:47Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-11-19T22:36:18.780223092Z","modified_time":"2026-11-19T22:35:47Z","sha256":"122a9d3bb53594cc075ddd718968a7eb74486420ded7ce82eebb810021410023","source":"amazon-inspector","versions":["1.1.0"],"id":"IN-MAL-2026-022897"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/webhook-easy/v/1.1.0"}],"affected":[{"package":{"name":"webhook-easy","ecosystem":"npm","purl":"pkg:npm/webhook-easy"},"versions":["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":[{"sha256":"9bd36b1cb86f5c21016288fa687006d77b3d714e4fff4a0e02e16e9816d6f9ad","tlsh":"ed51f1423ef319338253a9e5cf7bc441a4118f8b3945de487f9d33029f489b4daa2ae4","path":"src/models.js"},{"path":"src/monitor.js","sha256":"f51cc1d301ebbb1c20e4894ab82c147c46af77d6f0e5cad7810afa43e3fe4d8d","tlsh":"f6f00c018b810d9315aa43c4304d6c0a24dba2433d08f6703aacf1080f9edab66b1daf"},{"path":"package.json","sha256":"ae41264dc750b98ec82edca138d7076f4e642edc9e7b28aa3c1059d5ffe23d28","tlsh":"6b01f715ca749d6301c8f6e21d3a1646a63148571dd8bd0d33cb517c8f4d66b20be37e"}],"package_integrity":[{"hashes":{"sha1":"d4ef6e1db60dc10ca381165492af674f56261439","sha512_sri":"sha512-hq4przDqUkelHlqL/utMGwNL3UuLb3pz4GdmXMNMRPVfn90JAe+9U2DByyt8Jtu/44XkCRJkX/y/2gqV/LeZhA=="},"filename":"webhook-easy-1.1.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/webhook-easy/MAL-2026-20259.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}