MAL-2026-12300Malicious code in twork-data-services-role-app (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | twork-data-services-role-app | 20.9.6 |
{"schema_version":"1.7.4","id":"MAL-2026-12300","published":"2026-08-05T09:14:09Z","modified":"2026-08-25T17:27:31.921177587Z","aliases":["GHSA-3qwr-p55r-5cjh"],"summary":"Malicious code in twork-data-services-role-app (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fc0980e765a4c7250c1ac7ca327daefbe85544498883193c5f5019b08c06b8ec)\nOn require(), index.js loads _init.js which downloads a platform-specific executable from hardcoded Cloudflare Workers hosts assembled via split-string obfuscation (oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev). The binary is written to /var/tmp or %TEMP% under disguised names (.cache_<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), chmod 0755, and spawned detached via spawn(\"/bin/sh\", [\"-c\", path + \" &\"], {detached:true}) or spawn(\"cmd\",...). When HTTPS retrieval fails, the loader falls back to a DNS-TXT covert channel at c.<domain> / N.<domain> under *.dl.well1.site (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site), concatenates base64-encoded TXT chunks, and executes the reconstructed bytes with no verification. Host strings and the child_process module name are reconstructed from split fragments (e.g. [\"oob-work\",\"er.cf102-baf.\",\"workers.de\",\"v\"].join(\"\"); require(\"child_\" + \"process\")) to evade static analysis. Installing or requiring this package auto-executes attacker-controlled code on the installer's machine.\n\n## Source: ghsa-malware (890e25fd11b26b545b81e7feb1edf7e5577abc67429c29dd4ef85805e729a76e)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"twork-data-services-role-app","ecosystem":"npm"},"versions":["20.9.6"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_init.js","sha256":"3145b4c59ad875dd8dcfdc13f87eb841abd85428d0043934723c689e1dce1f86","tlsh":"e1a1a79b23aa31184bb097e4c717441af65af6633781c695fb9ca4941f72124c2b2ffc"}],"package_integrity":[{"filename":"twork-data-services-role-app-20.9.6.tgz","hashes":{"sha1":"16da0e3091659b38bd6d69bc0009019ed9c02568","sha512_sri":"sha512-dkrUlyM6ZdyNSlrVtNjRFpFXMhd/0AZ0qSahwgYDFNrqxe5FnzMpojQZYlu8Jcx+RRFFzPX9K/RGYs2Ym0/dYw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/twork-data-services-role-app/v/20.9.6"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3qwr-p55r-5cjh"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014601","import_time":"2026-08-05T09:28:29.337359634Z","modified_time":"2026-08-05T09:14:09Z","sha256":"fc0980e765a4c7250c1ac7ca327daefbe85544498883193c5f5019b08c06b8ec","source":"amazon-inspector","versions":["20.9.6"]},{"id":"GHSA-3qwr-p55r-5cjh","import_time":"2026-08-25T17:25:28.062491902Z","modified_time":"2026-08-25T16:31:27Z","sha256":"890e25fd11b26b545b81e7feb1edf7e5577abc67429c29dd4ef85805e729a76e","source":"ghsa-malware","versions":["20.9.6"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0