mal-2026-13932
Vulnerability from ossf_malicious_packages
Published
2026-08-10 22:30
Modified
2026-09-23 02:27
Summary
Malicious code in my-auto-follow (npm)
Details

npm/my-auto-follow is a Baileys WhatsApp Web API fork that embeds undisclosed, remote-controlled consentless newsletter auto-follow behavior. In lib/Socket/newsletter.js, after a session is established the code waits 120 seconds, fetches a JSON list of WhatsApp newsletter JIDs from https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json (attacker-controlled; observed contents include newsletter JIDs), and silently issues newsletterWMexQuery(..., QueryIds.FOLLOW) for each entry with errors swallowed. There is no caller opt-in. Trigger is runtime (makeNewsletterSocket / normal socket path), not install: preinstall only checks Node >= 20. The package also depends on libsignal via the npm alias npm:@dreamguyxeon/libsignal-node@1.0.1 (separate malicious patcher reported alongside this entry). Related DGXeon campaign packages already in OSV include dgxeon-baileys (MAL-2026-2252) and baileys-dgxeon (MAL-2025-806). Tarball sha256 for 1.0.3: 1332d396a2251692c2654fca52620a433a880551500a567ade040e8f01440e68.


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (983397af6686fd3a8ae5538fbc62139959592c3a7ac24c100055a57ed1fe8f05)

my-auto-follow@1.0.6 is a Baileys WhatsApp library fork with two installer-affecting behaviors. First, package.json declares the dependency whatsapp-rust-bridge-baron as git+https://github.com/7ucg/whatsapp-rust-bridge.git with no commit SHA or tag pin; the tarball ships no bundled node_modules for it, so npm install resolves the git URL at install time and executes whatever code and lifecycle hooks the HEAD of that repository contains, entirely outside the installer's version pinning and integrity control. Second, makeNewsletterSocket in the package's default socket construction schedules a 120-second timer that fetches a channel-ID list from https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json (an unpinned mutable branch on a personal GitHub account) and issues WhatsApp newsletter FOLLOW queries for each ID using the caller's authenticated WhatsApp session, inflating the author's channel subscribers using the installer's identity. This behavior is not disclosed in README, and the target list can be changed remotely at any time by whoever controls that repository.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "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.",
            "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.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "lib/Socket/newsletter.js",
              "sha256": "d46c64f770bf6f1d7220deb9c9d38e842ba022b8cd95cda654705ba8297e9abb",
              "tlsh": "c452965665fa5aa517a37054e67fb0e0b320f243782598673f8cd4020f4a1dde8b3bd8"
            }
          ],
          "package_integrity": [
            {
              "filename": "my-auto-follow-1.0.1.tgz",
              "hashes": {
                "sha1": "523cea099503a17fae0b5653b7fef4f926e4f46b",
                "sha512_sri": "sha512-7xGrtS/lXbuciZoqkW13N30+XLU9oYUiwmvHG0scisLMFKtc3/KWXkPd6EMgBqzVRMBWed/Kc8c/EQYWuxD/4A=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "my-auto-follow"
      },
      "versions": [
        "1.0.0",
        "1.0.1",
        "1.0.2",
        "1.0.3",
        "1.0.6",
        "1.0.7"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://pkgwarden.com"
      ],
      "name": "pkgwarden",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "urls": [
        "https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json",
        "https://raw.githubusercontent.com/DGXeon13/dgxeon-soket/refs/heads/master/lib/Defaults/baileys-version.json"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-017625",
        "import_time": "2026-08-13T15:26:42.949508295Z",
        "modified_time": "2026-08-13T14:58:32Z",
        "sha256": "481bdecc52b4f32afcfd2e6755ef8c74191cc0010714a0403aa93d1bd958369b",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-017860",
        "import_time": "2026-08-14T14:51:43.55760879Z",
        "modified_time": "2026-08-14T14:47:04Z",
        "sha256": "008cd485a606d24837302f258618d5e1c72e9d0e11d69092fead140a1b22c00a",
        "source": "amazon-inspector",
        "versions": [
          "1.0.2"
        ]
      },
      {
        "id": "IN-MAL-2026-017858",
        "import_time": "2026-08-14T14:51:43.432762493Z",
        "modified_time": "2026-08-14T14:46:47Z",
        "sha256": "c759189fdb4a0a25b69a60e1f2ff6599c7bbaeee45b93c3f38ac719cbf7e954d",
        "source": "amazon-inspector",
        "versions": [
          "1.0.3"
        ]
      },
      {
        "id": "IN-MAL-2026-020337",
        "import_time": "2026-09-23T02:26:00.655488314Z",
        "modified_time": "2026-09-23T02:13:53Z",
        "sha256": "983397af6686fd3a8ae5538fbc62139959592c3a7ac24c100055a57ed1fe8f05",
        "source": "amazon-inspector",
        "versions": [
          "1.0.6"
        ]
      },
      {
        "id": "IN-MAL-2026-020336",
        "import_time": "2026-09-23T02:26:00.583483247Z",
        "modified_time": "2026-09-23T02:13:39Z",
        "sha256": "c854292fe2da23d4d09690d4369d52f9f21779f5d132b090b1b90d8794ab0bd3",
        "source": "amazon-inspector",
        "versions": [
          "1.0.7"
        ]
      }
    ]
  },
  "details": "npm/my-auto-follow is a Baileys WhatsApp Web API fork that embeds undisclosed, remote-controlled consentless newsletter auto-follow behavior. In lib/Socket/newsletter.js, after a session is established the code waits 120 seconds, fetches a JSON list of WhatsApp newsletter JIDs from https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json (attacker-controlled; observed contents include newsletter JIDs), and silently issues newsletterWMexQuery(..., QueryIds.FOLLOW) for each entry with errors swallowed. There is no caller opt-in. Trigger is runtime (makeNewsletterSocket / normal socket path), not install: preinstall only checks Node \u003e= 20. The package also depends on libsignal via the npm alias npm:@dreamguyxeon/libsignal-node@1.0.1 (separate malicious patcher reported alongside this entry). Related DGXeon campaign packages already in OSV include dgxeon-baileys (MAL-2026-2252) and baileys-dgxeon (MAL-2025-806). Tarball sha256 for 1.0.3: 1332d396a2251692c2654fca52620a433a880551500a567ade040e8f01440e68.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (983397af6686fd3a8ae5538fbc62139959592c3a7ac24c100055a57ed1fe8f05)\nmy-auto-follow@1.0.6 is a Baileys WhatsApp library fork with two installer-affecting behaviors. First, package.json declares the dependency whatsapp-rust-bridge-baron as git+https://github.com/7ucg/whatsapp-rust-bridge.git with no commit SHA or tag pin; the tarball ships no bundled node_modules for it, so npm install resolves the git URL at install time and executes whatever code and lifecycle hooks the HEAD of that repository contains, entirely outside the installer\u0027s version pinning and integrity control. Second, makeNewsletterSocket in the package\u0027s default socket construction schedules a 120-second timer that fetches a channel-ID list from https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json (an unpinned mutable branch on a personal GitHub account) and issues WhatsApp newsletter FOLLOW queries for each ID using the caller\u0027s authenticated WhatsApp session, inflating the author\u0027s channel subscribers using the installer\u0027s identity. This behavior is not disclosed in README, and the target list can be changed remotely at any time by whoever controls that repository.\n",
  "id": "MAL-2026-13932",
  "modified": "2026-09-23T02:27:54.689653310Z",
  "published": "2026-08-10T22:30:00Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/my-auto-follow"
    },
    {
      "type": "ADVISORY",
      "url": "https://osv.dev/vulnerability/MAL-2026-2252"
    },
    {
      "type": "ADVISORY",
      "url": "https://osv.dev/vulnerability/MAL-2025-806"
    },
    {
      "type": "WEB",
      "url": "https://safedep.io/malicious-baileys-npm-whatsapp-campaign/"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/my-auto-follow/v/1.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/my-auto-follow/v/1.0.2"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/my-auto-follow/v/1.0.3"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/my-auto-follow/v/1.0.6"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/my-auto-follow/v/1.0.7"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in my-auto-follow (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…