Malicious code in cortana-md-engine (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-17323
Published--- _-= 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.
- Source published
- 30 Sep 2026 04:15:59 UTC
- Source modified
- 30 Sep 2026 10:32:25 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.