GHSA-ww37-mhpw-cm3q: Malicious code in css-grid-snap-util (npm)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (62b283b75dfc6a5bc055d778b3c5855b75f1f80e95639420cabeb24f8440ec42) css-grid-snap-util@1.0.1 ships a stub index.js that returns a static object and declares no install lifecycle hooks. The tarball additionally includes a JSON manifest containing a baseURL field pointing at a webhook.site unique collector endpoint (https://webhook.site/633e0d27-3407-4b73-a242-1ecd1f6edcb8/bundles/). No code in the package reads this file, transmits data, or fetches remote content, so installing or requiring the package does not currently execute any outbound behavior. The combination of a thin stub module, an unused manifest referencing a known beacon host, and a generic name reminiscent of internal utility packages fits the shape of a dependency-confusion placeholder or proof-of-concept rather than a functional library.
Source: ghsa-malware (57386477a0e68347ddb17000b25af0a3ac77250d09dd32e453323a8d22ced32f) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
npm/css-grid-snap-utilfrom your environment.Remove the css-grid-snap-util package; removing it may not remove all malicious software resulting from its installation.
- Operational
Rotate all secrets and keys stored on the affected computer immediately, using a different computer.