MAL-2026-20281

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spencer-braincore/MAL-2026-20281.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20281
Published
2026-11-20T02:54:13Z
Modified
2026-11-20T03:30:13Z
Summary
Malicious code in spencer-braincore (npm)
Details

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

Source: amazon-inspector (4ec1d797117854b43cd4c33034a339b7590515ddebf4b1aabaa3b11b9a693814)

spencer-braincore is a Baileys-derived WhatsApp library whose makeNewsletterSocket schedules an unconditional timer (90s after connect, repeating every 3 hours) that fetches a JSON list from the hardcoded endpoint https://savage-prox.onrender.com/api/v1/links and uses the consumer's authenticated WhatsApp session to invoke groupAcceptInvite for each returned invite code and the newsletter-follow IQ for each returned channel id. The destination is not caller-configurable and the behavior fires on any normal use of the advertised makeWASocket entrypoint, so the installer's WhatsApp identity is silently used to join groups and follow channels chosen by the author on a remotely mutable list. The published tarball also ships a .bak sibling containing the same auto-follow loop with the endpoint base64-encoded (decoding to https://files.gifted.co.ke/file/chJids.json), indicating the destination was previously concealed. The covert action uses the installer's authenticated identity, but there is no credential theft, filesystem persistence, remote code execution, or destruction.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022927",
            "import_time": "2026-11-20T03:14:05.913260744Z",
            "modified_time": "2026-11-20T02:54:13Z",
            "sha256": "4ec1d797117854b43cd4c33034a339b7590515ddebf4b1aabaa3b11b9a693814",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / spencer-braincore

Package

Name
spencer-braincore
View open source insights on deps.dev
Purl
pkg:npm/spencer-braincore

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "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": "16a6846293726b7ae1ac2628cfecbaf9bba1ede006dc1f7429d7ae916f883379",
            "tlsh": "993223a699f6866107b77468922fb0e1b225f1033919dc56bf8cd1120f4e1acedb27c8"
        },
        {
            "path": "lib/Socket/newsletter.js.bak.1790234479",
            "sha256": "c5fd93d838a136067d6bc89d5df6e2433cfa693ff13fe5fe44dc8bcd3a3c5180",
            "tlsh": "5e12d1a59db6966007a77468962f70e1b225f1433d29ac52ff8cc0120f4e19cedb27c9"
        }
    ],
    "package_integrity": [
        {
            "filename": "spencer-braincore-1.0.0.tgz",
            "hashes": {
                "sha1": "4c52096bb36451ed329af69257a715dbfe89584c",
                "sha512_sri": "sha512-mp3EVIfu7tCU+HuD7N2S/U9cD3hOSl2KmKe+cht24DMLUjBjS792u2nUUjL12jzhgob7rrIczQ1g8rxPzYcrpA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spencer-braincore/MAL-2026-20281.json"