Malicious code in pf25262 (npm)
Description
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (95274790fd43042ecd1fc97b2c01dc194e863809626cdaee5c7e6b0a411f8aeb)
index.js contains a browser exfiltration snippet that issues a credentialed fetch to /profile, extracts a DGA{...} token or falls back to capturing document.cookie plus the response length, and redirects the browser to a hardcoded collector URL at webhook.site/
Source: ghsa-malware (2d0fa8aa4e68b7cf8f23463767c5d8edfb2fbe37f0b6926d38cebbc95454fcb6)
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.