<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo" -->

---
title: Hackers abuse npm mirrors to host phishing redirect pages
description: Threat actors are abusing npm and its mirrors like UNPKG and npmmirror to host malicious HTML pages that impersonate Cloudflare Turnstile CAPTCHA verification...
canonical: https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Hackers abuse npm mirrors to host phishing redirect pages | daily.dev
og:description: Threat actors are abusing npm and its mirrors like UNPKG and npmmirror to host malicious HTML pages that impersonate Cloudflare Turnstile CAPTCHA verification...
og:url: https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo
og:image: https://api.daily.dev/og/posts/QH9bQPbJo.png
og:image:alt: Hackers abuse npm mirrors to host phishing redirect pages
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Hackers abuse npm mirrors to host phishing redirect pages

**[BleepingComputer](https://daily.dev/sources/bleepingcomputer)** · 4 min read · 2 upvotes · 0 comments

## Summary

Threat actors are abusing npm and its mirrors like UNPKG and npmmirror to host malicious HTML pages that impersonate Cloudflare Turnstile CAPTCHA verification screens. OX Security identified 24 npm packages containing the same malicious HTML, which redirects visitors to attacker-controlled domains rather than infecting developers who install the packages. Because mirrors let individual package files be opened directly in a browser, npm effectively becomes free hosting for phishing redirect pages served from a trusted domain, helping bypass security software. Some packages use api.keyval.org to remotely change the redirect destination without republishing the package, and OX warns removed packages can persist on mirrors after being pulled from the official registry.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.bleepingcomputer.com/news/security/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages>

## Questions this post answers

### How are attackers using npm packages to host phishing pages without infecting developers who install them?

Attackers upload npm packages containing only a malicious HTML file and a package.json declaring it as the main file, then rely on mirrors like UNPKG and npmmirror to serve that file directly from a trusted domain such as unpkg.com. OX Security identified 24 such packages; installing them does no harm since the payload is just a static HTML redirector, not executable malware.

_Teams securing their npm dependency chain can follow supply chain phishing techniques like this via daily.dev._

### What does the fake Cloudflare CAPTCHA phishing page hosted on npm mirrors actually do?

It embeds Cloudflare's legitimate Turnstile CAPTCHA to appear authentic, then runs obfuscated JavaScript that redirects visitors regardless of verification outcome. Earlier versions redirected to microcloud.homes and login.microsofte.live; newer variants fetch an encrypted destination URL from api.keyval.org so attackers can change the target remotely without republishing the package.

_daily.dev helps developers stay ahead of phishing redirect tactics abusing trusted package registries._

### Why might npm packages still pose a phishing risk even after being removed from the npm registry?

Mirroring platforms like UNPKG and npmmirror can retain and continue serving copies of npm packages even after the originals are deleted from the official npm registry, since mirrors cache package contents independently. OX Security recommends treating direct HTML requests to npm mirror domains as potentially suspicious for this reason.

_daily.dev keeps developers informed on registry mirror risks when auditing dependency security practices._

## Similar posts on daily.dev

- [Spearphishing Campaign Abuses npm Registry to Target U.S. an...](https://daily.dev/posts/spearphishing-campaign-abuses-npm-registry-to-target-u-s-an--vvy6yzajf) · Socket · 1 upvotes · 0 comments
- [Seven npm Packages Use Adspect Cloaking to Trick Victims Into Crypto Scam Pages](https://daily.dev/posts/seven-npm-packages-use-adspect-cloaking-to-trick-victims-into-crypto-scam-pages-uhsdnpw2b) · The Hacker News · 0 upvotes · 0 comments
- [North Korea-linked npm packages impersonate Rollup polyfill tools to steal developer secrets](https://daily.dev/posts/north-korea-linked-npm-packages-impersonate-rollup-polyfill-tools-to-steal-developer-secrets-mvjcouuhx) · The Next Web · 2 upvotes · 1 comments
- [Leaked Shai-Hulud malware fuels new npm infostealer campaign](https://daily.dev/posts/leaked-shai-hulud-malware-fuels-new-npm-infostealer-campaign-p5hgfgg74) · BleepingComputer · 0 upvotes · 0 comments

---

Tags: [#cyber](https://daily.dev/tags/cyber), [#malware](https://daily.dev/tags/malware), [#phishing](https://daily.dev/tags/phishing), [#cloudflare](https://daily.dev/tags/cloudflare), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Hackers abuse npm mirrors to host phishing redirect pages","url":"https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo"},"datePublished":"2026-08-25T21:40:49.052Z","dateModified":"2026-09-14T06:44:55.673Z","description":"Threat actors are abusing npm and its mirrors like UNPKG and npmmirror to host malicious HTML pages that impersonate Cloudflare Turnstile CAPTCHA verification...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/68fa8da1d70bc2c6f18ddf70faf5c239?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/68fa8da1d70bc2c6f18ddf70faf5c239?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"BleepingComputer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"BleepingComputer","logo":"https://media.daily.dev/image/upload/s--as8nJ3qy--/f_auto,q_auto/v1774959951/logos/bleepingcomputer?_a=BAMAMiWQ0","url":"https://daily.dev/sources/bleepingcomputer"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cyber,malware,phishing,cloudflare,npm","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"BleepingComputer","item":"https://daily.dev/sources/bleepingcomputer"},{"@type":"ListItem","position":3,"name":"Hackers abuse npm mirrors to host phishing redirect pages"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/hackers-abuse-npm-mirrors-to-host-phishing-redirect-pages-qh9bqpbjo#faq","mainEntity":[{"@type":"Question","name":"How are attackers using npm packages to host phishing pages without infecting developers who install them?","acceptedAnswer":{"@type":"Answer","text":"Attackers upload npm packages containing only a malicious HTML file and a package.json declaring it as the main file, then rely on mirrors like UNPKG and npmmirror to serve that file directly from a trusted domain such as unpkg.com. OX Security identified 24 such packages; installing them does no harm since the payload is just a static HTML redirector, not executable malware. Teams securing their npm dependency chain can follow supply chain phishing techniques like this via daily.dev."}},{"@type":"Question","name":"What does the fake Cloudflare CAPTCHA phishing page hosted on npm mirrors actually do?","acceptedAnswer":{"@type":"Answer","text":"It embeds Cloudflare's legitimate Turnstile CAPTCHA to appear authentic, then runs obfuscated JavaScript that redirects visitors regardless of verification outcome. Earlier versions redirected to microcloud.homes and login.microsofte.live; newer variants fetch an encrypted destination URL from api.keyval.org so attackers can change the target remotely without republishing the package. daily.dev helps developers stay ahead of phishing redirect tactics abusing trusted package registries."}},{"@type":"Question","name":"Why might npm packages still pose a phishing risk even after being removed from the npm registry?","acceptedAnswer":{"@type":"Answer","text":"Mirroring platforms like UNPKG and npmmirror can retain and continue serving copies of npm packages even after the originals are deleted from the official npm registry, since mirrors cache package contents independently. OX Security recommends treating direct HTML requests to npm mirror domains as potentially suspicious for this reason. daily.dev keeps developers informed on registry mirror risks when auditing dependency security practices."}}]}
```

