MAL-2026-18412Malicious code in ourin-baileys (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | ourin-baileys | * |
{"schema_version":"1.7.4","id":"MAL-2026-18412","published":"2026-10-30T16:31:00Z","modified":"2026-11-05T23:09:55.225041240Z","aliases":["GHSA-5qgv-v3j9-f64g"],"summary":"Malicious code in ourin-baileys (npm)","details":"ourin-baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own authenticated WhatsApp account to an author-chosen WhatsApp Channel. Part of the campaign OX Security documented as \"PhantomSub\" (2026-09-28): https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/ . Static read of the published 9.0.21 tarball on 2026-10-16 (not executed) found a hardcoded channel JID 120363400911374213@newsletter together with the newsletter FOLLOW query wired to run automatically after the socket connects, with errors suppressed. Same family as the withdrawn MAL-2026-4519 (chromestaff-baileys 1.1.3). Live on npm with no OSV record as of 2026-10-16.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (c4045a1463ae4951c8b31784eb251ddf2513419645339229d2b46c6b1a4804f6)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"ourin-baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5qgv-v3j9-f64g"},{"type":"REPORT","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ourin-baileys"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-5qgv-v3j9-f64g","import_time":"2026-10-30T17:17:00.327081499Z","modified_time":"2026-10-30T16:31:00Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"c4045a1463ae4951c8b31784eb251ddf2513419645339229d2b46c6b1a4804f6","source":"ghsa-malware"}]},"credits":[{"name":"OX Security","contact":["https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"],"type":"FINDER"},{"name":"Patrick Duggan, DugganUSA","contact":["mailto:patrick@dugganusa.com"],"type":"REPORTER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0