npm · Malicious package advisory
Malwarecss-gap-decorations-polyfill
MAL-2026-17479
Malicious code in css-gap-decorations-polyfill (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8126656cc344a4f632b8ddf5a23683fc92ac22798bb67e1aed6bca73ac82d7b6) The 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.
Compromised versions (1)
- 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.