{"id":"MAL-2026-13562","summary":"Malicious code in dolyame-ui-contextmenusearchable (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (391ae77ec9b34917f01d44186bbafde2f290fc34d102a16a6106ef2a484314a0)\nOn require(), _shim.js reconstructs hostnames via string concatenation to hide destinations (oob-worker.cf*.workers.dev, with a DNS TXT-record base64 fallback under *.dl.wel1.ru), downloads a platform-specific binary, writes it to /var/tmp/.cache_XXXX on Unix or %TEMP%\\dotnet_diag_XXXX.exe on Windows (masquerading as a.NET diagnostic file), chmods it 755, and spawns it detached with stdio ignored via cp.spawn(\"/bin/sh\", [\"-c\", fp+\" &\"]) or the cmd equivalent. A TTL flag file suppresses re-execution. index.js re-exports lib/telemetry.js, which duplicates the same fetch/base64-decode/chmod/spawn dropper chain, providing a second import-time execution path. Dangerous API names (\"child_process\", \"chmodSync\") are reassembled at runtime via string concatenation to defeat static analysis. The package advertises itself as a data-transformation/analytics utility; the fetched binary is opaque and the delivery hosts are anonymous mutable Cloudflare Workers unrelated to any documented publisher.\n","modified":"2026-08-07T13:20:34.397319340Z","published":"2026-08-07T12:33:41Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-07T12:51:22.899221838Z","modified_time":"2026-08-07T12:33:41Z","sha256":"391ae77ec9b34917f01d44186bbafde2f290fc34d102a16a6106ef2a484314a0","source":"amazon-inspector","versions":["35.8.1"],"id":"IN-MAL-2026-017030"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/dolyame-ui-contextmenusearchable/v/35.8.1"}],"affected":[{"package":{"name":"dolyame-ui-contextmenusearchable","ecosystem":"npm","purl":"pkg:npm/dolyame-ui-contextmenusearchable"},"versions":["35.8.1"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"f2a1b65916fa70180b93f1d4c41f4816716afa833685e5c8fb4c66948fd723983b3aec","path":"_shim.js","sha256":"11e650eaacccbeec20298672d12f9d48d80348026b5f3420af52cc28ccbe4cd2"},{"path":"lib/telemetry.js","sha256":"9bc664d7d1cf514a9d0243f071042c16e3877117037e2fa5bc78c848f4fb31e2","tlsh":"40733f4966fb10214263b0685ebb40437635c4072a4eed5dba9c43ec9f8db3896f1fb9"}],"package_integrity":[{"hashes":{"sha1":"4c411b739f59b45e641233058ee1d4f2908e56ad","sha512_sri":"sha512-ezYA4XVORSh5oMizgU3IBU6B/lUnp8PVbNoXDS/Q+yAM6GkAtOYmGOYOBnJs0njNxe6FxWa68HFbDhOFxbXMpw=="},"filename":"dolyame-ui-contextmenusearchable-35.8.1.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dolyame-ui-contextmenusearchable/MAL-2026-13562.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}