{"id":"MAL-2026-13149","summary":"Malicious code in dolyame-ui-constants (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (55e6fcb5f8524548ac64acbf658f83a4b610700e0201d3ffe225fcd9d34f7ae2)\nOn require of the package, index.js loads _support.js which assembles Cloudflare Workers hostnames via split-string concatenation (`[\"oob-work\",\"er.cf101-adf.workers.d\",\"ev\"].join(\"\")`, plus cf102-baf and cf103-070 variants) with a DNS fallback to *.dl.wel1.ru. It downloads a platform-specific binary, writes it to /tmp or %TEMP% under deceptive names (`.cache_\u003chex\u003e` on Linux/macOS, `dotnet_diag_\u003chex\u003e.exe` on Windows to mimic a Microsoft diagnostic tool), chmods it 0755, and spawns it detached via `cp.spawn(\"/bin/sh\",[\"-c\",fp+\" &\"],{detached:true})` (and `spawn(\"cmd\",...)` on Windows). The payload is unsigned, unpinned, and unverified. Environment variables named `DISABLE_TELEMETRY`, `ANALYTICS_OPT_OUT`, and `DO_NOT_TRACK` frame the behavior as telemetry, but the destinations, filename disguises, and execution pattern are dropper mechanics rather than telemetry. A second, larger parallel dropper implementation lives in lib/telemetry.js (base64-decoded buffers, `fs[\"chmod\"+\"Sync\"]`, split-string `require(\"child_\"+\"process\")`, `cp.spawn('/bin/sh',['-c',filePath+' &'])`), staged for activation. Installing or requiring this package causes attacker-controlled code to execute on the installer's host.\n","modified":"2026-08-05T15:52:46.287932244Z","published":"2026-08-05T15:15:56Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:20:00.95694537Z","modified_time":"2026-08-05T15:15:56Z","sha256":"55e6fcb5f8524548ac64acbf658f83a4b610700e0201d3ffe225fcd9d34f7ae2","source":"amazon-inspector","versions":["35.5.9"],"id":"IN-MAL-2026-015630"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/dolyame-ui-constants/v/35.5.9"}],"affected":[{"package":{"name":"dolyame-ui-constants","ecosystem":"npm","purl":"pkg:npm/dolyame-ui-constants"},"versions":["35.5.9"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dolyame-ui-constants/MAL-2026-13149.json","indicators":{"evidence_files":[{"path":"_support.js","sha256":"7d96819162605fa3e6e4bee5e49501bf866327b61454b7155ad65be2e073e768","tlsh":"d9b1b69606a670198bb0dbe48717541af65ff5733780c194fb9ca5881f7612483b2efc"},{"tlsh":"76835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc","path":"lib/telemetry.js","sha256":"058c1ac12346951faac5420bf3a22e5488826fc97ccca32515ca8f7d32786d38"}],"package_integrity":[{"hashes":{"sha1":"67bc21a58ce72a9fd524c1f20141e94157ffde26","sha512_sri":"sha512-lzpGhI09sHSusYSK0qZfqenem6NHjJBUEH2hsTPUwSKQMbWhnD6IwAGfAotAc+ReqPN23ReG8k1xcGVhNLZbZw=="},"filename":"dolyame-ui-constants-35.5.9.tgz"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}