{"id":"MAL-2026-17484","summary":"Malicious code in css-relative-color-util (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ee0efef48c7d56201a037b237f11ec712853f86e74f6a00ef8011732b31363f1)\nThe package name advertises a CSS utility, but thunderboltRegistry.js runs an IIFE on module load that uses child_process.execSync to execute whoami, uname -a, cat /etc/hosts, and ifconfig/ip addr, then exfiltrates the output together with os.hostname and the Node version to a hardcoded webhook at https://dxpoc.gt.tc/callback.php/ via fetch and to an *.oast.live DNS collector via dns.resolve. The loader deletes any require.cache entry containing 'thunderboltRegistry' so the IIFE re-fires on subsequent requires, and falls back to node:child_process and new module.constructor().require('child_process') to obtain the exec primitive. The package also exports stubs named thunderboltRegistry, siteAssetsRegistry, documentManagementRegistry, editorRegistry, corvidRegistry and similar, matching internal Wix thunderbolt module names, with a registry-manifest.min.json pointing at static.parastorage.com unpkg paths — a dependency-confusion shape targeting an internal namespace. The declared CSS-utility purpose is unrelated to any of this behavior.\n","modified":"2026-10-04T23:30:04.667719235Z","published":"2026-10-04T23:14:22Z","database_specific":{"malicious-packages-origins":[{"sha256":"ee0efef48c7d56201a037b237f11ec712853f86e74f6a00ef8011732b31363f1","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-020887","import_time":"2026-10-04T23:16:30.482026901Z","modified_time":"2026-10-04T23:14:22Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/css-relative-color-util/v/1.0.0"}],"affected":[{"package":{"name":"css-relative-color-util","ecosystem":"npm","purl":"pkg:npm/css-relative-color-util"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/css-relative-color-util/MAL-2026-17484.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":"thunderboltRegistry.js","sha256":"e54f3934d81e0b633fb5aefdf27b2c6baf589f2474a63c5e10ab7d0b1060eb95","tlsh":"088150aa769db01596837438cdff0049a0b7d9632c186fd0a448a5f12f7493c16bb8f4"}],"package_integrity":[{"filename":"css-relative-color-util-1.0.0.tgz","hashes":{"sha512_sri":"sha512-M//0qu+XXzFxh820EeAF3dr43PkYMdL1DeyDEfWtZCY1U6HryMZYhb711Mda/lpntbBG78ZVjwwSiyrcdVLW+g==","sha1":"0829176fc39beb8c4deda365309b287af7dfff60"}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}