{"id":"MAL-2026-12379","revision":"f5da0471aff540ea8730c94ef9885611","records":[{"revision":"f5da0471aff540ea8730c94ef9885611","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12379","aliases":[],"title":"Malicious code in fastify-client-bundler (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (370379b65a0c7e31b5bf43362a0c1fa1312f9a458a7af9a4a3d95892dc2a6935)\nindex.js (the package main) defines a getPlugin() function that fetches JSON from a hardcoded bare-IP HTTPS endpoint at 31.97.137.157:45000 and compiles the response's `credits` field via `new Function(...)` with `require`, `module`, `exports`, `process`, `Buffer`, and `Promise` injected, then invokes it — granting the remote endpoint arbitrary code execution in the Node process that loads the package. The package's declared purpose (a Fastify client bundler / Tailwindcss forms bundler) and CDN-style helpers (setDefaultModule constructing cdnjs URLs) are unused decoys; the actually-invoked network path targets the bare IP. Bundled runtime dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with a Windows credential/wallet stealer that a delivered payload would load through the injected `require`.\n","state":0,"publishedAt":"2026-08-05T13:01:48+00:00","modifiedAt":"2026-09-24T09:30:14.7198826+00:00","affected":[{"ecosystem":"npm","name":"fastify-client-bundler","ranges":[],"versions":["1.4.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/fastify-client-bundler/v/1.4.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12379","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12379","identifiers":["MAL-2026-12379"]},"retained":false,"historicalAffected":[]}],"coverage":[]}