MAL-2026-13932

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/my-auto-follow/MAL-2026-13932.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13932
Published
2026-08-10T22:30:00Z
Modified
2026-09-23T02:30:05Z
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.

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"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / my-auto-follow

Package

Name
my-auto-follow
View open source insights on deps.dev
Purl
pkg:npm/my-auto-follow

Affected ranges

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.6
1.0.7

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=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/my-auto-follow/MAL-2026-13932.json"