{"items":[{"id":"NVI-00012293","kind":"supply_chain_event","title":"Malicious code in @sanzoffc/baileys (npm)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-grqc-r63w-6845"],"plain_summary":"GitHub lists this malware advisory for @sanzoffc/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-1b1ba08ba80f87ad23a43786db726a21"],"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-1b1ba08ba80f87ad23a43786db726a21","url":"https://github.com/advisories/GHSA-grqc-r63w-6845","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-grqc-r63w-6845","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:59:39.394Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-1b1ba08ba80f87ad23a43786db726a21"],"technology":"@sanzoffc/baileys","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (4393cd98419ed1fce683c0fde038bce830873769d85d69e64674df61f68502bc)\nThis package is a fork of the Baileys WhatsApp library that adds covert remote-controlled behavior driven by the installer's authenticated WhatsApp session. In lib/Socket/socket.js, socketConnect() (invoked from validateConnection on every WebSocket open) reconstructs a URL from a String.fromCharCode char-code array that resolves to https://raw.githubusercontent.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json, fetches that JSON list, and iterates it to issue WhatsApp GraphQL mutations with query_id 7871414976211147 (newsletter subscribe/follow) for each id in the remote-supplied list. The list is hosted on a mutable personal-GitHub branch controlled by a third party, so whoever edits that file determines which actions the installer's WhatsApp account performs. A second helper (generateMessageV) base64+XOR-decodes (key 23) a hardcoded '@newsletter' JID and pairs it with the same query_id 7871414976211147, then schedules the same subscription action 40 seconds after invocation - layered string obfuscation of a fixed destination JID that has no legitimate purpose in a WhatsApp prot","public_affected_ranges":["= 3.0.4"]}],"null_published_at":"2026-11-01T01:45:40.754Z","source_updated_at":"2026-09-18T06:32:17.000Z","source_disclosed_at":"2026-09-18T06:31:30.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-11-01T00:59:39.394Z"}],"next_cursor":null,"snapshot_revision":"42594"}