{"id":"MAL-2026-13368","revision":"1780ab041a7f411e9d04b64dd1286147","records":[{"revision":"1780ab041a7f411e9d04b64dd1286147","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13368","aliases":[],"title":"Malicious code in express-dever (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e127c5f6a6747ae491acb2166ed55c1e6aba47aca1166ade97bf084b5dbbce31)\nexpress-dever@5.1.8 registers `postinstall: node index.js` in package.json, and index.js is heavily obfuscated (obfuscator.io-style rotated string array with RC4/base64 decoders, hex-numeric constant folding, `_0x` variable naming, control-flow flattening). Decoded, the script requires axios/fs/path/child_process/os, constructs a dotted-quad host string at runtime via repeated `.concat(x, '.')` calls, performs `axios.get(<url>)`, writes the response body to a file under `process.cwd()` with `{flag:'w+'}`, and spawns the written file via child_process with `windowsHide:true`. This is a download-and-execute dropper that fires automatically on `npm install`. Corroborating signals: package.json declares a self-referential floating dependency (`express-dever: ^5.1.7`), author and description fields are blank, and the README instructs readers to sandbox the file — consistent with a throwaway malicious upload rather than a legitimate library.\n","state":0,"publishedAt":"2026-08-05T18:25:27+00:00","modifiedAt":"2026-08-05T19:19:50.019648+00:00","affected":[{"ecosystem":"npm","name":"express-dever","ranges":[],"versions":["5.1.8","5.1.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/express-dever/v/5.1.8","https://www.npmjs.com/package/express-dever/v/5.1.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13368","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13368","identifiers":["MAL-2026-13368"]},"retained":false,"historicalAffected":[]}],"coverage":[]}