MAL-2026-10414Malicious code in express-request-engine (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | express-request-engine | * |
| npm | express-request-engine | 3.6.3 |
{"schema_version":"1.7.4","id":"MAL-2026-10414","published":"2026-07-13T06:55:20Z","modified":"2026-08-20T01:09:04.615484617Z","aliases":["GHSA-684q-384r-cr7r"],"summary":"Malicious code in express-request-engine (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (650f45223a2abc34039d499274c1cce89abdf6b4be571d326b73e2b10da48e30)\nThe package's main entry (index.js) presents itself as a `normalize-path` utility but on module load calls initPlugin() at top level, which performs an HTTPS fetch to https://api.jsonbin.io/v3/b/6a4f5816f5f4af5e29762c92 and passes the response body's `record.cerookie` field into `new (Function.constructor)('require',...)`, invoking it with the consumer's own `require` function. The result is arbitrary attacker-controlled JavaScript executing with full module-loading privileges on any process that imports the package. The destination is a mutable jsonbin document under an anonymous account, so the executed code can be changed at any time by the publisher. Obscure naming (`cerookie` payload field, `bearrtoken: 'logo'` header) and the mismatch between the advertised `normalize-path` purpose and the actual network fetch + Function-constructor exec indicate deliberate concealment rather than misconfiguration.\n\n## Source: ghsa-malware (1daff0640fe34428fc0783a266e535769b4efda64006dd400fb8966afcef2c55)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"express-request-engine","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.6.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"d5fb9d5f33e208b9ba37dc361cfc2dbf51a2c64ed0c5a890c95bd2da587a0cca","tlsh":"4a41e1d924fa6115c1a3e1810e8f8409f22be1133359dac5b98c53546fd07b8a7f2b8a"}],"package_integrity":[{"filename":"express-request-engine-3.6.3.tgz","hashes":{"sha1":"e9db7e9364d241d2c895b728e23e7c54903fd14f","sha512_sri":"sha512-f52PaJ2QcvXhGEqUaBGtF9V1e9/4z2kIty+wXMlzy+YqeGQdo558wT9o6m3wwy05ZHQ3T3uCMbd95q9gi5jTBg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-request-engine/v/3.6.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-684q-384r-cr7r"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009843","import_time":"2026-07-13T07:40:12.581699111Z","modified_time":"2026-07-13T06:55:20Z","sha256":"650f45223a2abc34039d499274c1cce89abdf6b4be571d326b73e2b10da48e30","source":"amazon-inspector","versions":["3.6.3"]},{"id":"GHSA-684q-384r-cr7r","import_time":"2026-08-20T01:06:54.05567134Z","modified_time":"2026-08-19T15:30:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"1daff0640fe34428fc0783a266e535769b4efda64006dd400fb8966afcef2c55","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0