# GHSA-GPFW-FCHG-RWJM: Malicious code in css-gap-decorations-polyfill (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-05
- Modified: 2026-10-05

## Affected versions

- css-gap-decorations-polyfill (npm): 1.0.0

## Description

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/7a1f1382a84618fabc1c45e8b61e9c9cea6ea33f/osv/malicious/npm/css-gap-decorations-polyfill/MAL-2026-17479.json))

## References

- https://github.com/ossf/malicious-packages/blob/7a1f1382a84618fabc1c45e8b61e9c9cea6ea33f/osv/malicious/npm/css-gap-decorations-polyfill/MAL-2026-17479.json
- https://www.npmjs.com/package/css-gap-decorations-polyfill/v/1.0.0
- https://github.com/advisories/GHSA-gpfw-fchg-rwjm

Page: https://cve.now/GHSA-GPFW-FCHG-RWJM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
