{"id":"MAL-2026-14445","summary":"Malicious code in digitalexp-style-module-l9 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4c1b3e9059995d4d535c65fafd0105eea420510acb17ad9befbc99c18aa25df9)\npackage.json declares both preinstall and postinstall as `node beacon.js`, so beacon.js runs automatically on every `npm install`. beacon.js reads os.hostname(), os.userInfo().username, process.cwd(), and the package name, hex-encodes the collected string, splits it into \u003c=60-char DNS labels, and issues a DNS lookup against those labels under the author-controlled domain b0.rs. It additionally issues an HTTPS GET to https://b0.rs/?poc=...&host=...&cwd=... carrying the same fields in the query string. A source comment identifies the DNS-tunnel channel as chosen for its 'best chance of escaping egress-filtered CI', confirming the dual-channel design is intentional evasion. The version number 99.0.0 is consistent with a dependency-confusion payload targeting internal-scope name resolution.\n","modified":"2026-08-25T23:50:11.767234205Z","published":"2026-08-25T04:57:22Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-25T04:57:22Z","sha256":"4c1b3e9059995d4d535c65fafd0105eea420510acb17ad9befbc99c18aa25df9","source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-018684","import_time":"2026-08-25T05:15:48.075413805Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/digitalexp-style-module-l9/v/99.0.0"}],"affected":[{"package":{"name":"digitalexp-style-module-l9","ecosystem":"npm","purl":"pkg:npm/digitalexp-style-module-l9"},"versions":["99.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/digitalexp-style-module-l9/MAL-2026-14445.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"beacon.js","sha256":"69412e378fb5b03c9001efd7a489e362ae5525aa3b2bee1f22ab96fa2d9434a9","tlsh":"a93153beedd170642d2230a8931f104e99ebe37706c5cdd0b89da3509f2293007b69f8"}],"package_integrity":[{"filename":"digitalexp-style-module-l9-99.0.0.tgz","hashes":{"sha512_sri":"sha512-NDJYOSszGVM8ERbL73aQkusxqhz4s2wSeZjMYXkI6HyKlWJYDBc3sJZAyJwzwqi3lC7BQkGFLF+Gxg0/PpWVpA==","sha1":"3dfcf8eb599b38e62137dc3360742eed239853ca"}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}