{"id":"MAL-2026-12604","revision":"dcbc3f7073b84772a89c7c3d4cc7ede0","records":[{"revision":"dcbc3f7073b84772a89c7c3d4cc7ede0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12604","aliases":[],"title":"Malicious code in claims-accounts-lib (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (05a3c4efb40a47a58bad33fece7aad0799560c3af1722173078224d0f1c3ec7f)\nindex.js unconditionally require()s./setup.js when the package is loaded. setup.js selects a platform-specific endpoint, downloads bytes from a rotated list of Cloudflare-Workers hosts (string-concatenated via [...].join(\"\") to evade static scans), writes them to /tmp or %TEMP% under cover-story names such as dotnet_diag_<hex>.exe on Windows and.cache_<hex> on Unix, chmods 0755, and detached-spawns them via cmd.exe or /bin/sh. No hash or signature verification is performed. When the HTTPS mirrors fail, setup.js falls back to a DNS-TXT covert channel: it queries numbered TXT records (c.<domain>, 0.<domain>, 1.<domain>,...) under *.dl.wel1.ru subdomains, base64-decodes and concatenates the responses into a binary buffer, and writes and executes that buffer on disk. A sibling module lib/telemetry.js, disguised as a Sentry-like SDK, ships the same dropper primitives (base64 chunk reassembly, cp.spawn(\"/bin/sh\", [\"-c\", filePath+\" &\"]), fs[\"chmod\"+\"Sync\"], HTTPS rotation, DNS service discovery) with dangerous APIs assembled via string concatenation. Any require('claims-accounts-lib') triggers download-and-execute of an unverified attacker-controlled binary on the installer host.\n","state":0,"publishedAt":"2026-08-05T14:06:08+00:00","modifiedAt":"2026-08-05T14:35:45.3755986+00:00","affected":[{"ecosystem":"npm","name":"claims-accounts-lib","ranges":[],"versions":["35.6.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-accounts-lib/v/35.6.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12604","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12604","identifiers":["MAL-2026-12604"]},"retained":false,"historicalAffected":[]}],"coverage":[]}