{"id":"MAL-2026-14231","summary":"Malicious code in chromecast-webdriver-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0c858cd5357d77c39366f7bd1cc1985a5d7012d33da45d6dc9667544b54198d6)\nchromecast-webdriver-cli@1.0.0 runs a postinstall lifecycle script that collects host metadata (os.hostname(), platform, arch, node version, package name, npm lifecycle event) and POSTs it as JSON to the hardcoded host h77svwt7.instances.poc.jchunt.top at /chromecast-webdriver-cli on every `npm install`. The destination is an anonymous subdomain unrelated to the upstream project the package name references (shaka-project/generic-webdriver-server). No opt-in, no first-party publisher relationship, and no functional package code — the beacon fires automatically and transmits installer-identifying data to a third-party endpoint. The package name reproduces a legitimate-sounding upstream tool, which is the fingerprint of a dependency-confusion / typosquat beacon.\n","modified":"2026-08-19T04:00:18.359114449Z","published":"2026-08-19T03:41:37Z","database_specific":{"malicious-packages-origins":[{"sha256":"0c858cd5357d77c39366f7bd1cc1985a5d7012d33da45d6dc9667544b54198d6","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-018331","import_time":"2026-08-19T03:49:30.688279317Z","modified_time":"2026-08-19T03:41:37Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/chromecast-webdriver-cli/v/1.0.0"}],"affected":[{"package":{"name":"chromecast-webdriver-cli","ecosystem":"npm","purl":"pkg:npm/chromecast-webdriver-cli"},"versions":["1.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"sha256":"6380c19f709d00b6ef193fae41b082dedc633c7213428f2f4b694547c621c177","tlsh":"1501f4d1d1b55a3567b8a28064f15e0653baf123370610b679d405a92f8d1f9003119c","path":"postinstall.js"}],"package_integrity":[{"filename":"chromecast-webdriver-cli-1.0.0.tgz","hashes":{"sha1":"816201bbfe714969a77095a0e17e1386e23a6fd5","sha512_sri":"sha512-WyPA/WI5ZTZxKeD6Ve8SkVh51C+L1Fm0suOousyBIKvMSjvqo2tBpMlZniBXeFZnO0gTpTFyg2vA1NOd4KChpQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chromecast-webdriver-cli/MAL-2026-14231.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}