{"id":"MAL-2026-10155","revision":"be5e8eee819e491aaa7d7c19703ed886","records":[{"revision":"be5e8eee819e491aaa7d7c19703ed886","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10155","aliases":[],"title":"Malicious code in notify-funcs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9b65341bde476af6b80e1fbaa9f9a844b7fdc023ef02f5fabb88514d88012159)\nThe package presents itself as a pino-compatible logging middleware (exports `check` as both default and `pino` named export) but its actual behavior on invocation is to spawn a detached Node child running lib/vcall.js, which fetches JavaScript from an IPFS gateway URL (https://emerald-accurate-urial-9.mypinata.cloud/ipfs/bafkreify2ijjvromekknzxzvqaopft6muwlpl37mvmpdeazwzzkbjzkuxm) and executes the response via `new Function.constructor('require', src)(require)`, granting the remote payload full Node.js capabilities. The detached spawn is designed to survive parent exit. lib/const.js also ships base64-encoded strings (e.g. DEV_API_KEY decoding to https://jsonkeeper.com/b/ZK45J) referencing an anonymous paste-host endpoint consistent with additional staging. The logger-mimicking API surface and pino-shaped exports are a decoy for the remote-execution dropper: any consumer wiring this as Express middleware triggers arbitrary remote code execution on the host.\n","state":0,"publishedAt":"2026-07-10T16:46:45+00:00","modifiedAt":"2026-07-10T17:17:00.9381208+00:00","affected":[{"ecosystem":"npm","name":"notify-funcs","ranges":[],"versions":["1.3.5","1.3.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/notify-funcs/v/1.3.5","https://www.npmjs.com/package/notify-funcs/v/1.3.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10155","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10155","identifiers":["MAL-2026-10155"]},"retained":false,"historicalAffected":[]}],"coverage":[]}