{"id":"MAL-2026-11509","summary":"Malicious code in beaver-ui-items-with-more (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6c1daccfac428195187be33025eb0f9094d2196ca643e3eb339e74a24c215ba1)\nThe package's declared postinstall (`node setup.js`) and its main entry `index.js` (which unconditionally calls `require('./setup')`) fetch a platform-specific executable from string-fragmented Cloudflare Workers hostnames (reassembled at runtime from arrays via `.join('')`, e.g. `oob-worker.cfNN-XXX.workers.dev`) with a DNS-TXT base64 covert-channel fallback under `*.dl.well1.site`. The downloaded bytes are written to `/var/tmp` or `%TEMP%` under a hidden randomized name (`.cache_\u003chex\u003e` / `dotnet_diag_\u003chex\u003e.exe`), chmod 0755 on Unix, and launched detached via `execFile` with `child.unref()`. No hash or signature verification, no pinning, and the destinations are obfuscated to evade static hostname scanning. setup.js also uses `child_process` including `execSync('powershell...')`. The behavior fires both on `npm install` (postinstall) and on `require()` of the package, giving the operator of the fetched binary full-host code execution on the installer.\n\n## Source: ghsa-malware (7bbe189f5c1de0f1dfa82a7b532b58ce8b91852acbba632a941a5f3281aafb4d)\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","aliases":["GHSA-qq8g-w3r7-rqp8"],"modified":"2026-08-04T22:04:57.712206595Z","published":"2026-08-03T15:46:52Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-03T15:46:52Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"7bbe189f5c1de0f1dfa82a7b532b58ce8b91852acbba632a941a5f3281aafb4d","source":"ghsa-malware","id":"GHSA-qq8g-w3r7-rqp8","import_time":"2026-08-04T00:15:24.369735899Z"},{"source":"amazon-inspector","versions":["12.2.6"],"id":"IN-MAL-2026-011032","import_time":"2026-08-04T21:33:14.491610877Z","modified_time":"2026-08-04T21:22:34Z","sha256":"6c1daccfac428195187be33025eb0f9094d2196ca643e3eb339e74a24c215ba1"},{"versions":["34.1.2"],"id":"IN-MAL-2026-011033","import_time":"2026-08-04T21:33:14.528482059Z","modified_time":"2026-08-04T21:22:45Z","sha256":"c8d4373a44723e70f9c331d4a0c277a0cbcfc0d2acc4f3af4fbd2449754eb4a8","source":"amazon-inspector"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qq8g-w3r7-rqp8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/beaver-ui-items-with-more/v/12.2.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/beaver-ui-items-with-more/v/34.1.2"}],"affected":[{"package":{"name":"beaver-ui-items-with-more","ecosystem":"npm","purl":"pkg:npm/beaver-ui-items-with-more"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["12.2.6","34.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-items-with-more/MAL-2026-11509.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"8f0408a8a36dac6c84b61ce497abe4e97fbec7aa75120b387894e005dff29ac7","tlsh":"17b1a4550afa71384392a1e8d92b5816b09fe5533284e990f34cb6985f97268c3b39fc","path":"setup.js"},{"path":"index.js","sha256":"e44aecb747d021090266aa71edebaa44473a2778e6af64e7d218f5ec6cfe78af","tlsh":"e6f0814525dfe53382b062e2dea21042f66189358f4b50547b8950ef2e74c1003a8eba"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}