{"id":"MAL-2026-10153","revision":"be7495f2e1f140ffa6a662fc067f7f76","records":[{"revision":"be7495f2e1f140ffa6a662fc067f7f76","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10153","aliases":[],"title":"Malicious code in notifier-log (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f4c2346bef8105dc24079ee47eb8cd65dbb92f7dbbd6d17ac0c576646878298c)\nThe package presents itself as a pino-compatible logger (main entry exports a middleware aliased as `pino`, and `lib/` contains pino-shaped files such as proto.js, redaction.js, multistream.js, transport.js), but its middleware spawns a detached child process running `lib/caller.js` which fetches a JSON blob from a hardcoded jsonkeeper.com paste, extracts a `.cookie` string, and passes it to `new Function.constructor('require', s)(require)`. This executes attacker-controlled JavaScript with full `require` access under the installer's Node process. A base64-encoded backup endpoint and secret header key are stored in `lib/const.js` (decoding to a second jsonkeeper.com paste URL with an `x-secret-key` header), providing a redundant delivery channel. Because jsonkeeper.com is a mutable public paste site, the served payload can be changed at any moment. The logger API is a cover story for the dropper.\n","state":0,"publishedAt":"2026-07-10T16:46:36+00:00","modifiedAt":"2026-07-10T17:17:00.8733904+00:00","affected":[{"ecosystem":"npm","name":"notifier-log","ranges":[],"versions":["1.3.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/notifier-log/v/1.3.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10153","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10153","identifiers":["MAL-2026-10153"]},"retained":false,"historicalAffected":[]}],"coverage":[]}