{"id":"MAL-2026-15918","revision":null,"records":[{"revision":"ee4d8b1a236c4e4db65bc4f8ba332785","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15918","aliases":["GHSA-4c9v-m7qm-2mpr"],"title":"Malicious code in @modss/baileys (npm)","description":"@modss/baileys is a renamed fork of the Baileys WhatsApp Web library published 2026-09-01 and 2026-09-02 under a scope created the same day. lib/Socket/newsletter.js sets NEWSLETTER_LIST_URL to https://raw.githubusercontent.com/Dayyy-19/Anu/main/Newsletter.json. On every connection.update with connection === 'open', autoFollowConfiguredNewsletters() fetches that list and issues an executeWMexQuery FOLLOW for each id on the user's own authenticated WhatsApp session, caching followed ids in session/followed-newsletters.json. An Indonesian comment in the file explains that the list lives on GitHub so channels can be added or removed without redeploying the code, i.e. the follow targets are publisher-controlled at runtime. All three published versions carry the identical handler. The package also aliases its libsignal dependency to @modss/libsignal, which pkgwarden read as a plain rename with no malicious content. No credential or session-key theft was observed, and the dead-drop URL was not requested by pkgwarden. All versions were fetched from the npm registry and read by hand on 2026-09-03. Same remote-dead-drop shape as MAL-2026-15819 (@mrlegendbot/baileys) and MAL-2026-13932 (my-auto-follow).\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0b6522f1f967259853346030f220d40ef098fc3d54116a23161fb4ccf97f9bd3)\npackage.json declares a runtime dependency `libsignal` whose source is `github:RILLYZY/libsignal-node` — a GitHub reference with no commit SHA, tag, or version pin. On `npm install`, npm fetches whatever HEAD of that personal repository currently returns and runs any lifecycle scripts it contains on the installer's machine, with no integrity check. Whoever controls that GitHub account controls code that executes on any machine installing @modss/baileys, and the fetched content can change silently between installs. The named dependency also shadows the legitimate `libsignal` cryptographic library, meaning callers of the package's signal-protocol paths load code from the unpinned third-party fork rather than a registry-audited artifact.\n\n## Source: ghsa-malware (f380df417118802ce37118bae231cadcd5f41d20c60ac6ad830d9f62a53c8601)\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","state":0,"publishedAt":"2026-09-03T18:09:54+00:00","modifiedAt":"2026-10-16T07:15:08.802191+00:00","affected":[{"ecosystem":"npm","name":"@modss/baileys","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.0","1.0.1","1.0.2","2.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@modss/baileys","https://osv.dev/vulnerability/MAL-2026-15819","https://osv.dev/vulnerability/MAL-2026-13932","https://pkgwarden.com/incidents/baileys-whatsapp-auto-follow-npm-september-2026/","https://github.com/advisories/GHSA-4c9v-m7qm-2mpr","https://www.npmjs.com/package/@modss/baileys/v/2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15918","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15918","identifiers":["MAL-2026-15918","GHSA-4c9v-m7qm-2mpr"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T11:02:29.3269367+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-09T11:02:29.3269367+00:00","lastSuccessAt":"2026-11-09T11:02:35.5033455+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:02:35.5033494+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-8a359c2c34b32e9d5ae6bfb0dfbe77525737d387cb73ffa1dc9d8560ac4a618d","complete":true,"records":421363,"lastAttemptAt":"2026-11-09T11:02:25.6637161+00:00","lastSuccessAt":"2026-11-09T11:02:25.604523+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:02:25.6637161+00:00","snapshotPublishedAt":"2026-11-09T10:27:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-776f160a8a4245ff82395b78f580cf00","complete":true,"records":13655,"lastAttemptAt":"2026-11-09T11:14:40.9797117+00:00","lastSuccessAt":"2026-11-09T11:14:40.976+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:14:40.976+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13707,"expectedIdentifiers":13707,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T11:02:29.3269367+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T11:02:29.3269367+00:00","lastSuccessAt":"2026-11-09T11:02:35.5044085+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:02:35.5044088+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4dc74a26d06148ffa8eb6751d602315d","complete":true,"records":13667,"lastAttemptAt":"2026-11-09T11:02:37.2248176+00:00","lastSuccessAt":"2026-11-09T10:04:35.272+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:04:35.272+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13707,"expectedIdentifiers":13707,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-09T11:02:28.1148102+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:02:28.1148102+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T11:02:27.3222548+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:02:27.3222548+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-747b24005f13ffe3f133ae77dfb12ae3145f2c7aed5cfebb91eb943ceb4daeb6","complete":true,"records":3060,"lastAttemptAt":"2026-11-09T11:02:28.9741191+00:00","lastSuccessAt":"2026-11-09T10:04:33.8957851+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:02:28.9741191+00:00","snapshotPublishedAt":"2026-11-09T10:03:05+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e6e6ac3eaece246ff08884368fe1dc99d4d393571e77c126c8f4d38d66697688","complete":true,"records":231297,"lastAttemptAt":"2026-11-09T11:02:27.67422+00:00","lastSuccessAt":"2026-11-09T10:04:27.0059369+00:00","error":null,"lastVerifiedAt":"2026-11-09T11:02:27.67422+00:00","snapshotPublishedAt":"2026-11-09T09:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}