{"id":"GHSA-64gv-7jmp-fphc","revision":null,"records":[{"revision":"7d0d0d60f3204b8694a47acebe8a95e4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11985","aliases":["GHSA-64gv-7jmp-fphc"],"title":"Malicious code in rwc-client (npm)","description":"npm/rwc-client is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the \"Shai-Hulud: Here We Go Again\" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook (`\"preinstall\": \"node setup.mjs\"`) that runs on a bare `npm install`, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as Math_Symbol.js / math_init.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading \"Shai-Hulud: Here We Go Again\") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (13cd18ae4959d51570646939f80302b3d8764bfb03096c24f7811658dda6c2df)\npackage.json declares scripts.preinstall = 'node setup.mjs'. setup.mjs is obfuscated with _0xXXXX identifiers and a dictionary/string-array decoder, and at install time it selects a platform-specific Bun archive, downloads it from github.com/oven-sh/bun/releases/download/bun-v1.3.13/<platform>.zip, extracts it, chmods 0755, and then execs the downloaded Bun binary against a sibling file math_init.js with no hash or signature verification. math_init.js is a 727 KB Bun-compiled bundle (header '// @bun @bun-cjs') wrapped in a string-array cipher (numeric dictionary plus rotator and 90-char alphabet decoder), so its behavior is opaque to Node-based inspection and only observable by executing it under the freshly dropped Bun runtime. The package is published unscoped as 'rwc-client' with no author, publisher, or repository fields, while its README, main bundle name (richWebChat.umd.min.js) and internal dependencies (@onereach/rwc-components, @onereach/ws-client, @onereach/apps-client-web-sdk) point to OneReach.ai's Rich Web Chat, which lives under the @onereach npm scope — the unscoped name impersonates that product. A Vue chat client library has no legitimate reason to fetch a second JavaScript runtime at install time to execute an obfuscated bundled payload; this is the alternate-runtime dropper pattern, and it fires automatically on any npm install.\n\n## Source: ghsa-malware (d514411ed6ed547098e521974a6c66eb92c18ccba7c4eff53f5a312cf3b2c10e)\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-08-04T13:21:45+00:00","modifiedAt":"2026-08-05T08:51:23.711334+00:00","affected":[{"ecosystem":"npm","name":"rwc-client","ranges":[],"versions":["0.29.10","0.29.11","0.29.12","0.29.13","0.29.14","0.29.15","0.29.16","0.29.17","0.29.18","0.29.19"],"rawVersionEvidence":null}],"metrics":[],"references":["https://socket.dev/blog/popular-npm-packages-in-the-keyv-and-cacheable-namespaces-compromised-in-active-supply-chain","https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack","https://safedep.io/keyv-npm-supply-chain-compromise/","https://www.npmjs.com/package/rwc-client","https://github.com/advisories/GHSA-64gv-7jmp-fphc","https://www.npmjs.com/package/rwc-client/v/0.29.18","https://www.npmjs.com/package/rwc-client/v/0.29.12","https://www.npmjs.com/package/rwc-client/v/0.29.15","https://www.npmjs.com/package/rwc-client/v/0.29.16","https://www.npmjs.com/package/rwc-client/v/0.29.13","https://www.npmjs.com/package/rwc-client/v/0.29.19","https://www.npmjs.com/package/rwc-client/v/0.29.10","https://www.npmjs.com/package/rwc-client/v/0.29.11","https://www.npmjs.com/package/rwc-client/v/0.29.17","https://www.npmjs.com/package/rwc-client/v/0.29.14"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11985","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11985","identifiers":["MAL-2026-11985","GHSA-64gv-7jmp-fphc"]},"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-23T06:27:29.7240440+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T06:27:29.724044+00:00","lastSuccessAt":"2026-11-23T06:27:29.8835992+00:00","error":null,"lastVerifiedAt":"2026-11-23T06:27:29.8835996+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-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-2c35bc7f38900a5da983873a9714c3912e3323bd4edfb694cfb4f4a26a73eb66","complete":true,"records":430583,"lastAttemptAt":"2026-11-23T07:25:37.0980522+00:00","lastSuccessAt":"2026-11-23T07:25:37.0784992+00:00","error":null,"lastVerifiedAt":"2026-11-23T07:25:37.0980522+00:00","snapshotPublishedAt":"2026-11-23T06:32:54+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-38e91c5a66904a19bc51265577bc8ccb","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T06:36:09.4210158+00:00","lastSuccessAt":"2026-11-23T06:36:09.415+00:00","error":"103 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T06:36:09.415+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13867,"expectedIdentifiers":13976,"failedIdentifiers":103},{"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-23T06:27:29.7240440+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T06:27:29.724044+00:00","lastSuccessAt":"2026-11-23T06:27:30.027901+00:00","error":null,"lastVerifiedAt":"2026-11-23T06:27:30.0279015+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-a9c236c090ee435a90cecf0b67875123","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T06:27:30.5555073+00:00","lastSuccessAt":"2026-11-23T05:28:41.035+00:00","error":null,"lastVerifiedAt":"2026-11-23T05:28:41.035+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"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-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T06:27:29.6740523+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T06:27:29.6740523+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-23T07:25:37.247075+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T07:25:37.247075+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-34e3febe229a8c4d306159756d21338234dcade8dc1897229c4083bb83bd0f50","complete":true,"records":3215,"lastAttemptAt":"2026-11-23T06:27:29.6874531+00:00","lastSuccessAt":"2026-11-22T22:25:42.902989+00:00","error":null,"lastVerifiedAt":"2026-11-23T06:27:29.6874531+00:00","snapshotPublishedAt":"2026-11-22T21:48:33+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-f0c45c261fc1c25daf5df1a704169df50ebbee5834f63b1214bd54d6ad6885ba","complete":true,"records":232865,"lastAttemptAt":"2026-11-23T07:25:43.5022634+00:00","lastSuccessAt":"2026-11-23T06:27:28.4748081+00:00","error":null,"lastVerifiedAt":"2026-11-23T06:27:29.5502189+00:00","snapshotPublishedAt":"2026-11-23T05:48:29+00:00","importing":true,"stagedRecords":73500,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}