{"items":[{"id":"NVI-00011149","kind":"supply_chain_event","title":"Malicious code in mikuhostt-baileys (npm)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-p4xf-x6j2-mq3f"],"plain_summary":"GitHub lists this malware advisory for mikuhostt-baileys, mikuhostt-baileys, mikuhostt-baileys, mikuhostt-baileys. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-ef6a2b68cc1b9f194e408edc7b4203c2"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-ef6a2b68cc1b9f194e408edc7b4203c2","url":"https://github.com/advisories/GHSA-p4xf-x6j2-mq3f","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-p4xf-x6j2-mq3f","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T23:13:24.290Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ef6a2b68cc1b9f194e408edc7b4203c2"],"technology":"mikuhostt-baileys","known_exclusions":[],"conditions_summary":"This package is a fork of the Baileys WhatsApp Web library (npm) and belongs to the \"PhantomSub\" family described by OX Security in September 2026: the publisher injected code that, without the installer asking, uses the installer's own authenticated WhatsApp session to subscribe that account to WhatsApp Channels (newsletters) the publisher chose, by sending the WhatsApp `w:mex` FOLLOW query (query_id 7871414976211147) for each target channel JID.\n\n`package/lib/Defaults/index.js` lines 78-80 ship the defaults `autoFollowNewsletterOnConnect: true`, `autoFollowNewsletterDelayMs: 90000` and `autoFollowNewsletterJid: \"120363400911374213@newsletter\"` (a plain string literal, repeated as the fallback constant at `package/lib/Socket/newsletter.js` line 11). `package/lib/Socket/index.js` line 11 calls `triggerAutoFollow` (`newsletter.js` line 428) on every socket; 90 seconds after the connection opens, `runAutoFollow` (line 66) sends a raw `w:mex` IQ with `query_id: QueryIds.FOLLOW` (line 96) for that JID, retrying up to three times. The README lists \"Auto-follow\" only as a feature in a comparison table; it does not say that the library follows the publisher's channel by default.\n\nLine num","public_affected_ranges":["> 0"]},{"certainty":"source_listed","source_ids":["sr-ef6a2b68cc1b9f194e408edc7b4203c2"],"technology":"mikuhostt-baileys","known_exclusions":[],"conditions_summary":"This package is a fork of the Baileys WhatsApp Web library (npm) and belongs to the \"PhantomSub\" family described by OX Security in September 2026: the publisher injected code that, without the installer asking, uses the installer's own authenticated WhatsApp session to subscribe that account to WhatsApp Channels (newsletters) the publisher chose, by sending the WhatsApp `w:mex` FOLLOW query (query_id 7871414976211147) for each target channel JID.\n\n`package/lib/Defaults/index.js` lines 78-80 ship the defaults `autoFollowNewsletterOnConnect: true`, `autoFollowNewsletterDelayMs: 90000` and `autoFollowNewsletterJid: \"120363400911374213@newsletter\"` (a plain string literal, repeated as the fallback constant at `package/lib/Socket/newsletter.js` line 11). `package/lib/Socket/index.js` line 11 calls `triggerAutoFollow` (`newsletter.js` line 428) on every socket; 90 seconds after the connection opens, `runAutoFollow` (line 66) sends a raw `w:mex` IQ with `query_id: QueryIds.FOLLOW` (line 96) for that JID, retrying up to three times. The README lists \"Auto-follow\" only as a feature in a comparison table; it does not say that the library follows the publisher's channel by default.\n\nLine num","public_affected_ranges":["= 1.0.0"]},{"certainty":"source_listed","source_ids":["sr-ef6a2b68cc1b9f194e408edc7b4203c2"],"technology":"mikuhostt-baileys","known_exclusions":[],"conditions_summary":"This package is a fork of the Baileys WhatsApp Web library (npm) and belongs to the \"PhantomSub\" family described by OX Security in September 2026: the publisher injected code that, without the installer asking, uses the installer's own authenticated WhatsApp session to subscribe that account to WhatsApp Channels (newsletters) the publisher chose, by sending the WhatsApp `w:mex` FOLLOW query (query_id 7871414976211147) for each target channel JID.\n\n`package/lib/Defaults/index.js` lines 78-80 ship the defaults `autoFollowNewsletterOnConnect: true`, `autoFollowNewsletterDelayMs: 90000` and `autoFollowNewsletterJid: \"120363400911374213@newsletter\"` (a plain string literal, repeated as the fallback constant at `package/lib/Socket/newsletter.js` line 11). `package/lib/Socket/index.js` line 11 calls `triggerAutoFollow` (`newsletter.js` line 428) on every socket; 90 seconds after the connection opens, `runAutoFollow` (line 66) sends a raw `w:mex` IQ with `query_id: QueryIds.FOLLOW` (line 96) for that JID, retrying up to three times. The README lists \"Auto-follow\" only as a feature in a comparison table; it does not say that the library follows the publisher's channel by default.\n\nLine num","public_affected_ranges":["= 1.0.1"]},{"certainty":"source_listed","source_ids":["sr-ef6a2b68cc1b9f194e408edc7b4203c2"],"technology":"mikuhostt-baileys","known_exclusions":[],"conditions_summary":"This package is a fork of the Baileys WhatsApp Web library (npm) and belongs to the \"PhantomSub\" family described by OX Security in September 2026: the publisher injected code that, without the installer asking, uses the installer's own authenticated WhatsApp session to subscribe that account to WhatsApp Channels (newsletters) the publisher chose, by sending the WhatsApp `w:mex` FOLLOW query (query_id 7871414976211147) for each target channel JID.\n\n`package/lib/Defaults/index.js` lines 78-80 ship the defaults `autoFollowNewsletterOnConnect: true`, `autoFollowNewsletterDelayMs: 90000` and `autoFollowNewsletterJid: \"120363400911374213@newsletter\"` (a plain string literal, repeated as the fallback constant at `package/lib/Socket/newsletter.js` line 11). `package/lib/Socket/index.js` line 11 calls `triggerAutoFollow` (`newsletter.js` line 428) on every socket; 90 seconds after the connection opens, `runAutoFollow` (line 66) sends a raw `w:mex` IQ with `query_id: QueryIds.FOLLOW` (line 96) for that JID, retrying up to three times. The README lists \"Auto-follow\" only as a feature in a comparison table; it does not say that the library follows the publisher's channel by default.\n\nLine num","public_affected_ranges":["= 1.0.2"]}],"null_published_at":"2026-10-31T23:18:22.434Z","source_updated_at":"2026-10-02T06:31:13.000Z","source_disclosed_at":"2026-10-02T06:31:07.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T23:13:24.290Z"}],"next_cursor":null,"snapshot_revision":"42594"}