{"id":"MAL-2026-17479","summary":"Malicious code in css-gap-decorations-polyfill (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8126656cc344a4f632b8ddf5a23683fc92ac22798bb67e1aed6bca73ac82d7b6)\nThe package is published as a CSS polyfill but ships no polyfill functionality. On require(), thunderboltRegistry.js uses child_process.execSync to run whoami, uname -a, ifconfig/ip addr, and read /etc/hosts, then sends each result along with a beacon (node version, platform, pid) as query parameters to the hardcoded attacker-controlled endpoint http://dxpoc.gt.tc/callback.php/ef9ea0e191006f3cc6670720c99c26f3. The package exposes stub factories under internal-sounding names (thunderboltRegistry, siteAssetsRegistry, documentManagementRegistry, editorRegistry, corvidRegistry, and others) and bundles a registry-manifest.min.json mapping them all to a single parastorage.com asset, consistent with a dependency-confusion attack targeting a private Wix/Thunderbolt package namespace. Installer harm: host identity, kernel version, network configuration, and /etc/hosts contents are exfiltrated to an attacker-controlled host simply by resolving and loading the package.\n","modified":"2026-10-04T23:30:05.646700178Z","published":"2026-10-04T23:13:45Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-020883","import_time":"2026-10-04T23:16:30.249880321Z","modified_time":"2026-10-04T23:13:45Z","sha256":"8126656cc344a4f632b8ddf5a23683fc92ac22798bb67e1aed6bca73ac82d7b6"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/css-gap-decorations-polyfill/v/1.0.0"}],"affected":[{"package":{"name":"css-gap-decorations-polyfill","ecosystem":"npm","purl":"pkg:npm/css-gap-decorations-polyfill"},"versions":["1.0.0"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"376134a5b99df02166c33438cfbf404aa4bb85632d6caed0b44899f02f7985c01ba5f5","path":"thunderboltRegistry.js","sha256":"72cefe23c4ceb63af7f6e0031306415507928009c3859e3b5d7e6ce178987b02"}],"package_integrity":[{"filename":"css-gap-decorations-polyfill-1.0.0.tgz","hashes":{"sha1":"81174410ccd2113df991af35355768d7c3d5c579","sha512_sri":"sha512-xyqDWEoLBggdkDhgdeZVsxMfHFSY0lAEZ26h9mFJgirrCZ8bpBOFNMUbZNHd6diIucW8tEBC+qkomK7ABTj/9A=="}}]},"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/css-gap-decorations-polyfill/MAL-2026-17479.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}