Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in @mikudeveloper/baileys (npm)

Type: advisorySources: OSV

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d03bf7166a5353a0b22409ebbb724ee53f24394c9ff340df668c970772796e28) This package is a fork of Baileys that declares `libsignal` in `package.json` as `github:tenka-san/libsignal-node` — a git dependency with no commit SHA, tag, or integrity check, resolving to whatever HEAD returns at install time and executing any lifecycle scripts inside it. The referenced GitHub account is unrelated to the upstream WhiskeySockets/libsignal-node maintainer, so its owner controls install-time code on every installer of this package. Separately, `makeNewsletterSocket` schedules a 120-second `setTimeout` after connection that fetches a channel-ID list from a hardcoded, mutable URL (`raw.githubusercontent.com/MikuDevReal/V2.0/refs/heads/main/pepek.json`) and issues `QueryIds.FOLLOW` on each entry using the installer's authenticated WhatsApp session, silently subscribing them to author-selected channels with no disclosure in the README. The remote list is author-mutable, so follow targets can change at any time. ## Source: ghsa-malware (ae1cbd433ff843bbf543121e434bdbc4cdfe37c00055a4709849f191c0f58fbb) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is

Products
@mikudeveloper/baileys
Affected versions
1.0.0
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 06:38 UTC · Revision 1

Source evidence

Malicious code in @mikudeveloper/baileys (npm)

core-osv · Original source

Published 22 Sept 2026, 16:05 UTC

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d03bf7166a5353a0b22409ebbb724ee53f24394c9ff340df668c970772796e28) This package is a fork of Baileys that declares `libsignal` in `package.json` as `github:tenka-san/libsignal-node` — a git dependency with no commit SHA, tag, or integrity check, resolving to whatever HEAD returns at install time and executing any lifecycle scripts inside it. The referenced GitHub account is unrelated to the upstream WhiskeySockets/libsignal-node maintainer, so its owner controls install-time code on every installer of this package. Separately, `makeNewsletterSocket` schedules a 120-second `setTimeout` after connection that fetches a channel-ID list from a hardcoded, mutable URL (`raw.githubusercontent.com/MikuDevReal/V2.0/refs/heads/main/pepek.json`) and issues `QueryIds.FOLLOW` on each entry using the installer's authenticated WhatsApp session, silently subscribing them to author-selected channels with no disclosure in the README. The remote list is author-mutable, so follow targets can change at any time. ## Source: ghsa-malware (ae1cbd433ff843bbf543121e434bdbc4cdfe37c00055a4709849f191c0f58fbb) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is

osv:MAL-2026-16386

@mikudeveloper/baileys

Fixed versions: Not specified

Complete source record
{
  "id": "2a23ef9a59df617e839c6bc9f3c66c81c29c5652c46493f0fb8a12b667c32ed2",
  "url": "https://osv.dev/vulnerability/MAL-2026-16386",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in @mikudeveloper/baileys (npm)",
    "summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d03bf7166a5353a0b22409ebbb724ee53f24394c9ff340df668c970772796e28) This package is a fork of Baileys that declares `libsignal` in `package.json` as `github:tenka-san/libsignal-node` — a git dependency with no commit SHA, tag, or integrity check, resolving to whatever HEAD returns at install time and executing any lifecycle scripts inside it. The referenced GitHub account is unrelated to the upstream WhiskeySockets/libsignal-node maintainer, so its owner controls install-time code on every installer of this package. Separately, `makeNewsletterSocket` schedules a 120-second `setTimeout` after connection that fetches a channel-ID list from a hardcoded, mutable URL (`raw.githubusercontent.com/MikuDevReal/V2.0/refs/heads/main/pepek.json`) and issues `QueryIds.FOLLOW` on each entry using the installer's authenticated WhatsApp session, silently subscribing them to author-selected channels with no disclosure in the README. The remote list is author-mutable, so follow targets can change at any time. ## Source: ghsa-malware (ae1cbd433ff843bbf543121e434bdbc4cdfe37c00055a4709849f191c0f58fbb) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is",
    "evidence": "osv:MAL-2026-16386",
    "products": [
      {
        "name": {
          "value": "@mikudeveloper/baileys",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-16386",
      "aliases": [
        "GHSA-2xx9-x9v7-25x2",
        "MAL-2026-16386"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "@mikudeveloper/baileys",
            "purl": "pkg:npm/%40mikudeveloper/baileys",
            "ecosystem": "npm"
          },
          "versions": [
            "1.0.0"
          ],
          "database_specific": {
            "cwes": [
              {
                "name": "Embedded Malicious Code",
                "cweId": "CWE-506",
                "description": "The product contains code that appears to be malicious in nature."
              },
              {
                "name": "Embedded Malicious Code",
                "cweId": "CWE-506",
                "description": "The product contains code that appears to be malicious in nature."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@mikudeveloper/baileys/MAL-2026-16386.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "package.json",
                  "tlsh": "ff81dc74cd58cea30ac52ae899bd0142a47519139ec1f81cb35c47ac8f0e14f72b9b3e",
                  "sha256": "6afbc001c9b1df6503e34354ca9929842ec1016e8abbec061ceea555ff14fec6"
                },
                {
                  "path": "lib/Socket/newsletter.js",
                  "tlsh": "513240672476579616b37410967ff080b221b2437d1aa9663f8ca6120f4e1ede4e3bdc",
                  "sha256": "358f54e30641cb4988e4dc1e07d53d00ad30eaa521973dc80a1af75fa2d7baf1"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "610c7eaaaa08e3e42b14c2817089a9d2a5bc1d89",
                    "sha512_sri": "sha512-HMUEdJ/jSBZ6ozNg+N8/bn1wRGOfbpxC+x0w8z+0gUyErOr+DTOkDWRAqrcu3ic8CvukhBDU+ce3qumKAhIAxw=="
                  },
                  "filename": "baileys-1.0.0.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-12T15:45:06.266430824Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/@mikudeveloper/baileys/v/1.0.0",
        "https://github.com/advisories/GHSA-2xx9-x9v7-25x2"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-020294",
            "sha256": "d03bf7166a5353a0b22409ebbb724ee53f24394c9ff340df668c970772796e28",
            "source": "amazon-inspector",
            "versions": [
              "1.0.0"
            ],
            "import_time": "2026-09-22T16:19:47.713128995Z",
            "modified_time": "2026-09-22T16:05:11Z"
          },
          {
            "id": "GHSA-2xx9-x9v7-25x2",
            "ranges": [
              {
                "type": "SEMVER",
                "events": [
                  {
                    "introduced": "0"
                  }
                ]
              }
            ],
            "sha256": "ae1cbd433ff843bbf543121e434bdbc4cdfe37c00055a4709849f191c0f58fbb",
            "source": "ghsa-malware",
            "import_time": "2026-10-12T15:30:17.179478848Z",
            "modified_time": "2026-10-12T15:24:15Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 300012,
  "published_at": "2026-09-22T16:05:11+00:00"
}