npm · Malicious package advisory
Malwarepflag14570
MAL-2026-16341
Malicious code in pflag14570 (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (2b7164c1405ab2587c562b3b9eb8cdad8258aab8f25b829da64c83d7185eab6c) index.js is an IIFE that executes at module load, reads document.cookie, fetches a list of authenticated application paths (/profile, /admin, /api/me, /settings, and similar), extracts a flag-shaped substring from the responses, and POSTs the aggregated JSON to the hardcoded collector https://webhook.site/42c6d937-77c7-42a5-8678-ef06b4501e38. The package metadata is a stub with no legitimate documented function; the shipped body is a browser-context session-cookie stealer and endpoint scraper directed at a third-party attacker-controlled collector. ## Source: ghsa-malware (06175f7a39cb50eac8845d48ee3996962973a147480eeab9238f039a91d5da2f) 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.
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.