# MAL-2026-16105: Malicious code in @sahril2nd/baileys (npm)


- **Type:** Malicious package
- **Package:** `@sahril2nd/baileys` (npm)
- **Published:** 9 Sep 2026

## What is MAL-2026-16105?

MAL-2026-16105 is a malicious package in @sahril2nd/baileys, published on 9 Sep 2026. 

### Official description

This package is a fork of the Baileys WhatsApp library that embeds a hardcoded network destination hidden as a String.fromCharCode(...) decimal-ASCII array inside lib/Socket/messages-send.js. The decoded bytes at lines 425 and 436 reconstruct the URL https://fiora.nixel.my.id/ — a host unrelated to any documented Baileys/WhatsApp infrastructure. The destination is assembled at call-time from a numeric array rather than appearing as a plain-text literal, which is a deliberate concealment technique on the message-send code path where WhatsApp session data and outbound message content are handled. Obfuscated construction of a non-first-party destination inside the messaging pipeline of a WhatsApp client library is the shape of session/message exfiltration to an author-controlled endpoint.

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

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-16105 is a malicious package: @sahril2nd/baileys (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-16105/ (Markdown: https://insights.sbomify.com/MAL-2026-16105/index.md)
```

## Sources

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

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