# MAL-2026-16055: Malicious code in sonmors (npm)


- **Type:** Malicious package
- **Package:** `sonmors` (npm)
- **Published:** 9 Sep 2026

## What is MAL-2026-16055?

MAL-2026-16055 is a malicious package in sonmors, published on 9 Sep 2026. 

### Official description

Package `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.

## What should I do about MAL-2026-16055?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-16055 is a malicious package: sonmors (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-16055/ (Markdown: https://insights.sbomify.com/MAL-2026-16055/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-16055

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-16055/
Summaries are generated and may contain mistakes; the official description above is the record.
