Attackers abuse npm and UNPKG to host phishing redirect pages
OX Security found 24 npm packages that contain only malicious HTML impersonating a Cloudflare Turnstile check. UNPKG copied the files, so opening the HTML from the trusted mirror can redirect a visitor.

On August 25, 2026 BleepingComputer reported that attackers are abusing npm mirrors to host phishing redirect pages.
What we know
- OX Security found 24 npm packages that contain only malicious HTML impersonating a Cloudflare Turnstile challenge.
- UNPKG copied the packages, so opening the HTML from the trusted CDN can send the visitor to a phishing redirect.
- Installing the packages does not infect the machine; npm is being used as free HTML hosting.
- Some of the pages fetch an encrypted redirect from api.keyval.org.
Takeaways
- The packages are phishing pages, not traditional install-time malware.
- A trusted mirror like UNPKG can still serve the malicious HTML.
- Some redirects are fetched encrypted from api.keyval.org.
Source: BleepingComputer


