MAL-2026-17323

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cortana-md-engine/MAL-2026-17323.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17323
Published
2026-09-30T04:15:59Z
Modified
2026-09-30T10:32:25Z
Summary
Malicious code in cortana-md-engine (npm)
Details

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

Source: amazon-inspector (9a2de4b6992a1dd7177803253b8c214d1ba7cc911cf0e1e7f800e1e9ff7ab5b1)

cortana-md-engine is a Baileys-based WhatsApp bot whose bundled entrypoints dist/hosted.cjs and dist/index.cjs hardcode five mongodb+srv://cortanauser:...@{cluster2.uvds2qk,cluster3.t2gtazm,cluster4.bwuctn9,cluster5.kdkad04,mass.gcijtck}.mongodb.net Atlas connection strings and, at bot startup, persist the Baileys authState/creds (Session/authState/sessions collections) into those clusters. The MongoDB user credentials are baked into the shipped JavaScript, so the author retains read access to every installer's linked WhatsApp session state — sufficient to hijack the linked WhatsApp account. The relay is not disclosed in the README, which only instructs the user to run npm start. The tarball additionally ships offensive tooling aimed at third-party WhatsApp users (a ~150-entry proxy pool in dist/proxies.cjs, batched reaction and socket-spoof flooding in dist/react-engine.cjs, and abuse commands such as perm-ban-num, cortana-ios-crash, realban, massreport); this is operator-directed abuse capability, separate from the installer-side session exfiltration.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-020804",
            "import_time":  "2026-09-30T04:46:52.383282889Z",
            "modified_time":  "2026-09-30T04:15:59Z",
            "sha256":  "9a2de4b6992a1dd7177803253b8c214d1ba7cc911cf0e1e7f800e1e9ff7ab5b1",
            "source":  "amazon-inspector",
            "versions":  [
                "1.4.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / cortana-md-engine

Package

Name
cortana-md-engine
View open source insights on deps.dev
Purl
pkg:npm/cortana-md-engine

Affected ranges

Affected versions

1.*
1.4.6

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":  "dist/hosted.cjs",
            "sha256":  "6a1c9744a093a20dbec9cb5eeada88a686d687870bd3065a5694df217b370b3d",
            "tlsh":  "e5056da233b6b93a07ae50947c651045e2fa8d58680c807cf69df89f375dcc5a6f6b30"
        },
        {
            "path":  "dist/index.cjs",
            "sha256":  "24901560e0c5a1e0eb1eecd696fb0c3345415f435ebfe7080d96936e04a66407",
            "tlsh":  "ff853afe276635350ffb10e9ed26154ae176ae0c98488536f6fce4973350498e293b38"
        },
        {
            "path":  "dist/proxies.cjs",
            "sha256":  "caf026e1e3cb9408216a6a88bd6de88fab1ed5b3dc19ad5a28bdbe5bafece3c8",
            "tlsh":  "8af18903c1445e04aafecf5b72385d86f955e30fd451808bbafa66cc0f78a49fca6652"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "cortana-md-engine-1.4.6.tgz",
            "hashes":  {
                "sha1":  "9a78a1386c37255568a052b84ed1ffab36f59087",
                "sha512_sri":  "sha512-BW4kGcgBtdx2zIxkkhpaa1ziwScdmq/kRTFw75pczKpT+QBnGK2lHhZv9zHYT/PIdMXZtoQ1AWhNslhVlkVMGA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cortana-md-engine/MAL-2026-17323.json"