-= Per source details. Do not edit below this line.=-
The package advertises itself as an Express session middleware but on module load unconditionally invokes an initPlugin() routine in index.js that performs an HTTPS fetch to https://api.jsonbin.io/v3/b/6a4f5816f5f4af5e29762c92, parses the response, extracts the record.cerookie field, and passes the resulting string to Function.constructor with require bound as an argument, executing attacker-controlled JavaScript in the installer's Node.js process. The remote document is mutable and controlled by whoever owns that jsonbin bin, so the code executed on any host that requires this module can be changed at any time. The file is prefaced with a '/*! normalize-path (ES6 safe version) */' header and ships an unused normalizePath helper alongside the loader, presenting a cover story unrelated to the actual behavior.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-018494",
"versions": [
"2.3.3"
],
"modified_time": "2026-08-21T03:56:39Z",
"sha256": "0e94450f5541b39d8310a8b640dee027b0970db6e7cf724352726d49393bfb77",
"import_time": "2026-08-21T04:19:06.268270265Z",
"source": "amazon-inspector"
}
]
}{
"evidence_files": [
{
"sha256": "d5fb9d5f33e208b9ba37dc361cfc2dbf51a2c64ed0c5a890c95bd2da587a0cca",
"path": "index.js",
"tlsh": "4a41e1d924fa6115c1a3e1810e8f8409f22be1133359dac5b98c53546fd07b8a7f2b8a"
}
],
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-WpGlAwr+QSerdM3G4sP7UzGUgGoIKvADToUf4pCQ9wHWngCiK+2bGSQHH7COcp/LlOM1o2+PGatORN92ARXRJQ==",
"sha1": "d9baf7f930c9aeffa22dc99ccd07feed6d3fe308"
},
"filename": "express-session-handler-2.3.3.tgz"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/express-session-handler/MAL-2026-14345.json"
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]