{"id":"MAL-2026-13634","summary":"Malicious code in sme-rko-finance-front-operations-domain (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e254c7a7e7f82c38dddb46c9c694cef8f91ac1731565c61e7d17b30d291bd7ac)\nOn require of the package, index.js loads _shim.js which self-executes an async initializer that assembles platform-specific hostnames from split-string arrays (e.g. [\"oob-worker.cf102-b\",\"af.w\",\"or\",\"kers.\",\"de\",\"v\"].join(\"\") and [\"pkg.dl.wel1.r\",\"u\"].join(\"\")) targeting oob-worker.cf102-baf.workers.dev and sdk/ext/pkg/net.dl.wel1.ru, downloads a native binary over HTTPS, writes it to /tmp or %TEMP% under disguised names (.cache_\u003chex\u003e or dotnet_diag_\u003chex\u003e.exe), chmods it 0755, and spawns it detached via /bin/sh -c \"\u003cpath\u003e &\" or cmd.exe /c start /b. A DNS-TXT fallback channel (dns.resolveTxt on c.\u003cdomain\u003e, 0.\u003cdomain\u003e, 1.\u003cdomain\u003e,...) reassembles and base64-decodes a payload when HTTPS retrieval fails, bypassing HTTP egress controls. lib/telemetry.js, loaded from index.js and presented as an observability/Sentry-like SDK, contains the same base64-materialize + chmodSync + child_process.spawn(\"/bin/sh\",...) dropper primitives, providing a duplicate execution path. child_process, chmodSync, and endpoint hostnames are reconstructed at runtime from concatenated fragments to evade static scanners. No integrity check or pinned publisher-owned source; the fetched bytes are opaque and unverifiable.\n","modified":"2026-08-08T01:04:56.712760673Z","published":"2026-08-08T00:46:47Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-08T00:53:07.870125578Z","modified_time":"2026-08-08T00:46:47Z","sha256":"e254c7a7e7f82c38dddb46c9c694cef8f91ac1731565c61e7d17b30d291bd7ac","source":"amazon-inspector","versions":["35.8.1"],"id":"IN-MAL-2026-017162"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sme-rko-finance-front-operations-domain/v/35.8.1"}],"affected":[{"package":{"name":"sme-rko-finance-front-operations-domain","ecosystem":"npm","purl":"pkg:npm/sme-rko-finance-front-operations-domain"},"versions":["35.8.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sme-rko-finance-front-operations-domain/MAL-2026-13634.json","indicators":{"evidence_files":[{"path":"_shim.js","sha256":"7326c0db1331e43b3277222d0f099088f27413f1e045a5574dfde260e000dcc5","tlsh":"b3a1761926fb301806d3f1e4851b5816719af59333c4d994fb8c6aa48fd767483b3aec"},{"sha256":"f41f9929ee2adf1cb8abbe966a1ecb66716a31149f0f5b93cd8d72437573e868","tlsh":"35733f4966fb10214263b0685ebb40437635c4072a4aed5dba9c43ec9f8db3896f1fb9","path":"lib/telemetry.js"}],"package_integrity":[{"hashes":{"sha1":"24ebbce6dd2ad7fcec436cf8b5798037d1f109dc","sha512_sri":"sha512-hTTFe6BkAP0Rd1TfYbHhkv5lSzk2sXLUxni+iJMKoVzFPPlAj8ca2ezrY6cp/LTM6yk+hd6dyExUXW7KDCGzyg=="},"filename":"sme-rko-finance-front-operations-domain-35.8.1.tgz"}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}