{"id":"MAL-2026-13570","summary":"Malicious code in dolyame-ui-focusstatehoc (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (98b117a5b8b618c0597bcc422e68216cd3626389417aec2940febf447c033a88)\nOn require of the package's main entry (index.js), _compat.js and lib/telemetry.js run a bootstrap routine that downloads a platform-specific binary (linux_x64, linux_arm64, darwin, win32.exe) from a shuffled list of obfuscated Cloudflare Workers subdomains (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev), with a DNS-TXT fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The binary is written to /tmp or %TEMP% under a disguised name (.cache_\u003chex\u003e on unix, dotnet_diag_\u003chex\u003e.exe on Windows), chmod 755, and spawned detached via cp.spawn(\"/bin/sh\", [\"-c\", filePath + \" &\"], {detached:true, stdio:\"ignore\"}).unref(). No version pinning, no hash or signature verification. Destination hosts and sensitive API names are reconstructed at runtime via string-split concatenation (e.g. [\"oob-worker.cf100-416.w\",\"orkers.dev\"].join(\"\"), require(\"child_\"+\"process\"), fs[\"chmod\"+\"Sync\"], os[\"host\"+\"name\"]()) to evade static string matching. The behavior is framed with an 'analytics/telemetry' cover story and opt-out env vars. lib/telemetry.js additionally assembles a base64-encoded payload (Buffer.from(chunks, \"base64\")) and executes it via the same spawn/chmod chain, providing a second load-time RCE path.\n","modified":"2026-08-07T13:20:37.728413766Z","published":"2026-08-07T12:30:35Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["35.8.1"],"id":"IN-MAL-2026-017009","import_time":"2026-08-07T12:51:22.043229333Z","modified_time":"2026-08-07T12:30:35Z","sha256":"98b117a5b8b618c0597bcc422e68216cd3626389417aec2940febf447c033a88"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/dolyame-ui-focusstatehoc/v/35.8.1"}],"affected":[{"package":{"name":"dolyame-ui-focusstatehoc","ecosystem":"npm","purl":"pkg:npm/dolyame-ui-focusstatehoc"},"versions":["35.8.1"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"1aa1976916fa30180792e5d4841f9816719af65333c4e998fb8c6a984fda134c3f39ec","path":"_compat.js","sha256":"a6eec2dba5b1a19c34a46f1cc627f866f127411d2d7a3f2b57fa062217ed5515"},{"sha256":"bf2e1a131d5d809bceccbab3025a6236104d460c54279f51ced09407cd3b1ba6","tlsh":"85733f4966fb10214263b0685fbb40437635c4072a4aed5dba9c43ec9f8db3896f1fb9","path":"lib/telemetry.js"}],"package_integrity":[{"filename":"dolyame-ui-focusstatehoc-35.8.1.tgz","hashes":{"sha512_sri":"sha512-kSwEu9C6Ow/FGg3aODxquCy4qgfUBUFXVYVoQNDO6VJejogOAHtR3mDQIr/qC0AVmnJXdU/DoRcTJtWx7z2meQ==","sha1":"33c0423ac8867680a6976795fe4b16e1a0f7503f"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dolyame-ui-focusstatehoc/MAL-2026-13570.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}