{"id":"MAL-2026-13193","summary":"Malicious code in dolyame-ui-text (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (006f52fd18bda361d6e21e6a31e7cb0b7f07680374ffc81bd38f3abe0b3951c2)\nThe package is published under a name suggesting a React UI text component, but its main entry (index.js) require()s./_init on module load, which acts as a binary dropper. _init.js reconstructs C2 hostnames at runtime from string-split arrays (resolving to oob-worker.cf*.workers.dev and *.dl.wel1.ru), downloads a platform-specific payload over HTTPS with a DNS-TXT base64 fallback channel (chunk-count read from c.\u003cdomain\u003e, chunks reassembled from N.\u003cdomain\u003e), writes the payload to /tmp (Unix) or %TEMP% (Windows) under decoy names such as.cache_\u003chex\u003e and dotnet_diag_\u003chex\u003e.exe, chmods it to 0755, and spawns it detached via /bin/sh -c or cmd. A second dropper implementation in lib/telemetry.js, cover-labeled as an 'Analytics SDK', base64-decodes an embedded payload buffer, uses bracket-property obfuscation to hide chmodSync, and spawns the dropped file via /bin/sh -c. No published functionality relates to a UI text component; the delivered code, its obfuscation, and its execution path have no benign explanation.\n","modified":"2026-08-05T15:53:06.805426667Z","published":"2026-08-05T15:08:41Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T15:08:41Z","sha256":"006f52fd18bda361d6e21e6a31e7cb0b7f07680374ffc81bd38f3abe0b3951c2","source":"amazon-inspector","versions":["35.7.4"],"id":"IN-MAL-2026-015583","import_time":"2026-08-05T15:19:59.141986801Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/dolyame-ui-text/v/35.7.4"}],"affected":[{"package":{"name":"dolyame-ui-text","ecosystem":"npm","purl":"pkg:npm/dolyame-ui-text"},"versions":["35.7.4"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"fb31c9e00e0c70d72947d52e5d6f4e4528e5f9a1945a7b7be993eb8a55c53ede","tlsh":"37a1b7aa056670188bb0dbe5c7175415f65bf6637380c6d8f79c69980ff222482b2efc","path":"_init.js"},{"path":"lib/telemetry.js","sha256":"487ab7cba88c407c0141b20d8d616313218d1e17012cfd310eff43de77d1dfaf","tlsh":"fb835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"dolyame-ui-text-35.7.4.tgz","hashes":{"sha1":"d74bd6296d4ed7e89dea44a031839ab397e523a7","sha512_sri":"sha512-9/BHiML1o0pm30sfAz9qMKhyKrPGZ6Q+WrVKlkuxCU1GGehmYTcn14XPIEbQm4id13zRDV4/vdiMo28FbcmIkw=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dolyame-ui-text/MAL-2026-13193.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}