MAL-2026-13413

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@astralcore/aura-wb/MAL-2026-13413.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13413
Published
2026-08-06T13:41:12Z
Modified
2026-08-06T14:34:58.200012485Z
Summary
Malicious code in @astralcore/aura-wb (npm)
Details

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

Source: amazon-inspector (bd4a1b22725e981c18c44de0f81915a5048b58bdcacfe6935c9dfcb3dceb641c)

The package is a WhatsApp (Baileys) bot whose default configuration in config/index.js points MONGODBURI at a hardcoded shared Atlas cluster (mongodb+srv://unity-free:unity-free@unity-free.pc6vkvw.mongodb.net) with credentials embedded in the source. When an installer starts the bot without overriding MONGODBURI, useMongoDBAuthState() in src/commands/index.js writes the full Baileys creds and signal keys — the noise key, signal identity key, registration, and session keys that grant complete control of the installer's WhatsApp account — to that author-controlled database. src/commands/boostWatcher.js opens on 'connection open' and polls the same shared MongoDB every 20 seconds for BoostJob documents, then drives followNewsletter, newsletterReactMessage, and readMessages against the installer's paired WhatsApp session for each job. Because the DB credentials are shared and hardcoded, anyone with the source (including the author) can read every installer's WhatsApp session material and enqueue jobs that command every installer's WhatsApp identity to follow, react to, or view arbitrary channels. Additional install-time and command paths in start.js, src/commands/boost.js, and src/telegram/notify.js post host information (os.platform, os.arch, process.env) to api.telegram.org/bot<redacted>/sendMessage using a hardcoded owner chatid 7752365037, providing the author install-time notifications on every deployment. A Google Tenor API key is also embedded in src/commands/extramedia.js.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-016498",
            "modified_time": "2026-08-06T13:41:12Z",
            "source": "amazon-inspector",
            "sha256": "2bcf5586718d048bf142fce2aba00c5823cadf0d4bbf7d015a780c8714dc4ac5",
            "versions": [
                "1.0.1"
            ],
            "import_time": "2026-08-06T14:19:52.467370759Z"
        },
        {
            "id": "IN-MAL-2026-016502",
            "modified_time": "2026-08-06T13:41:50Z",
            "source": "amazon-inspector",
            "sha256": "7cf8d2997880a86b08dbe855f09955c3b760e7098710d1775ce588f25af5ee95",
            "versions": [
                "1.0.4"
            ],
            "import_time": "2026-08-06T14:19:52.670691305Z"
        },
        {
            "id": "IN-MAL-2026-016503",
            "modified_time": "2026-08-06T13:41:58Z",
            "source": "amazon-inspector",
            "sha256": "bd4a1b22725e981c18c44de0f81915a5048b58bdcacfe6935c9dfcb3dceb641c",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-08-06T14:19:52.717631998Z"
        }
    ]
}
References
Credits

Affected packages

npm / @astralcore/aura-wb

Package

Name
@astralcore/aura-wb
View open source insights on deps.dev
Purl
pkg:npm/%40astralcore/aura-wb

Affected ranges

Affected versions

1.*
1.0.0
1.0.1
1.0.4

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "src/commands/boost.js",
            "sha256": "aa5ca8e53aad094b70317866e0629b341981a8fe5268887fca4b83d0e52f1e6c",
            "tlsh": "dde143ba70fb202071a3f06cc25e601af11af617b40cc964ba8db2509fdd598d532fb6"
        },
        {
            "sha256": "d63f13d51a45c28f2b49804422a31082c80e7bfc8b11b7f67e7d262df7468bbf",
            "path": "src/commands/extra_media.js",
            "tlsh": "40725f3425b728357137e08c73af35669256f02b3554eba0b29c72515fce0a6c6b2bf8"
        },
        {
            "path": "src/commands/myfunc2.js",
            "sha256": "44acc254f4a039ffb0e1973d9b0e067c559e10ae9dfab63df31f0c00f9e64b14",
            "tlsh": "a6b1b65ba7fea53a1b82b0d9513d504ad35ed537741a58b2f20c05a13f4e21bb0f2af4"
        },
        {
            "sha256": "82337e2b460d25519a2cd9b27c3ea24e5a9f8f2a78af078d4f89b90cd858159b",
            "path": "src/commands/tools.js",
            "tlsh": "124385b820b738257537d0ac776b3845522af01b3948ec6572ecb3615fce49ac6b27b4"
        },
        {
            "sha256": "1032db5ca2ac4901e142f2b459b3e783a390e18d214f6d9f23e838aa54109934",
            "path": "src/commands/unity_dl.js",
            "tlsh": "d40475be21f37166362ad0bc67a76c069217b0077888cc1b7acc32956fdd42cc965af5"
        },
        {
            "path": "src/commands/unity_extra.js",
            "sha256": "3067e4c5f0425a1f1062932599c0cf8472e5c4ba5b66f7c16c525267e7a62ae6",
            "tlsh": "35a35ebe20b371253526d8ac67b768065127b107b548c8a77acc76e01fed4accda17f8"
        },
        {
            "path": "src/telegram/notify.js",
            "sha256": "6176cccc6f6e312921f4f49bf95ab34b9d18ebf2ffe3825096cbfa72274c7591",
            "tlsh": "8331235304e1b0019a739558c29be15a0057d14f66027870b7cf65700f4faac92faed8"
        },
        {
            "sha256": "ab0ecce0521eadbc8a5a79af58e966f36837ab11226d280c2b267bea04b6a648",
            "path": "start.js",
            "tlsh": "08d2947015f710343963e45dab3728013226b113b509eaa8b65cb3d44ffd9a4dea2bf9"
        }
    ],
    "package_integrity": [
        {
            "filename": "aura-wb-1.0.1.tgz",
            "hashes": {
                "sha1": "02c4b00b1e01cc557c010cda70fc7cf26d383c3e",
                "sha512_sri": "sha512-ZJozuupnVeRaUJsHVcSFRwv/P5aQKsqnRnbnGxya5grRaDpE2HVPeQRDOAte4y17VJKEpQbBvqPlCQNQiXo/cw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@astralcore/aura-wb/MAL-2026-13413.json"
cwes
[
    {
        "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"
    }
]