{"id":"MAL-2026-16055","revision":"ccd1ac17010a4f65b0e19ac49c96890f","records":[{"revision":"ccd1ac17010a4f65b0e19ac49c96890f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16055","aliases":[],"title":"Malicious code in sonmors (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (66e21634e32b7d24357ad667703da4ddeb42542ed9fc6a3ed28c7257d2e27fca)\nPackage `sonmors` ships a near-copy of the `sonner` React toast library and spoofs sonner's identity in package.json (author `Emil Kowalski <e@emilkowal.ski>`, homepage `sonner.emilkowal.ski`, repository `github.com/emilkowalski/sonner`) while being published under a different name. The only functional divergence from sonner in the shipped `dist/index.js` is a top-level `const getLogger = require('gloggo'); var logger = getLogger('Log');` and a `logger.infO('useSonner')` call inside the exported hook. `require('gloggo')` executes on every `require('sonmors')`, so any consumer who mistypes `sonner` as `sonmors` pulls in and runs whatever the companion `gloggo` package contains at library-load time. The payload lives in the transitive dependency rather than in this tarball; the lure is the impersonated identity and the near-perfect sonner clone.\n","state":0,"publishedAt":"2026-09-09T00:16:19+00:00","modifiedAt":"2026-09-09T01:00:05.0008378+00:00","affected":[{"ecosystem":"npm","name":"sonmors","ranges":[],"versions":["2.11.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/sonmors/v/2.11.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16055","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16055","identifiers":["MAL-2026-16055"]},"retained":false,"historicalAffected":[]}],"coverage":[]}