When AI Hallucinations Turn Into Phishing Infrastructure
Phishing has always depended on a convincing story: a trusted brand, an urgent request, and a destination that appears safe. Generative artificial intelligence changes the economics of that deception, but its most consequential effect may be less obvious than polished grammar or personalized emails. Large language models can invent plausible facts, URLs, and explanations while presenting them with confidence. Attackers can exploit that weakness directly, or they can place malicious instructions inside web content so an AI assistant repeats the deception in its own interface. The danger is not limited to a model producing a wrong sentence; it lies in a wrong sentence becoming a trusted route to a sensitive action.
Ā
This creates a new trust problem. A user who would question an unfamiliar email may accept a link recommended by a chatbot, browser assistant, search summary, or workplace copilot. The fraud is no longer confined to a suspicious message; it can be hidden inside the systems people use to interpret the web and decide what deserves attention.
Ā
Core idea: AI does not need to be fully compromised for phishing to succeed. An inaccurate answer, an untrusted page treated as instructions, or a browser-rendered warning can be enough to transfer credibility from the assistant to the attacker.
Ā
From better lures to machine-mediated deception
Traditional phishing relies on imitation: counterfeit login pages, spoofed senders, look-alike domains, and cloned social-media accounts. Generative AI makes these materials faster to produce and easier to adapt across languages, industries, and audiences. Cloudflare describes modern phishing as a cross-channel practice involving fake websites, manipulated URLs, QR codes, social media, and AI-generated messages.[1]
Ā
The more disruptive change occurs when the AI interface becomes part of the delivery chain. Netcraft tested simple questions asking where users could log in to 50 well-known brands. Across 131 hostnames associated with 97 domains, 66% belonged to the correct brand, while 29% were unregistered, parked, or inactive and 5% belonged to unrelated legitimate businesses. In total, 34% were not controlled by the named brand.[2]
Ā
That result does not mean every incorrect answer is malicious. It does show why hallucinated URLs are a security issue: a domain that does not exist today can be registered tomorrow, and a confident recommendation can suppress the skepticism that normally surrounds an unfamiliar address. Netcraft also documented a real case in which Perplexity surfaced a fake Wells Fargo login page hosted on Google Sites instead of the official domain.[2]
Ā

How hallucinated links become useful to attackers
A language model predicts likely text; it does not inherently verify ownership, authorization, or current domain control. When asked for an official login page, it may combine a brand name with a familiar web pattern and produce a plausible but incorrect address. The answer can look authoritative because the model is fluent, not because it has performed a reliable security check.
Ā
Attackers can take advantage of this in several ways. They can register domains that resemble likely model outputs, publish pages designed to be easy for AI systems to retrieve, or create a network of seemingly independent tutorials, repositories, support posts, and social profiles. Netcraft describes this practice as AI-oriented content poisoning: material is written not only to rank in conventional search but also to be selected or summarized by machine-generated answers.[2]
Ā
Social networks add a powerful distribution layer. A fraudulent account can imitate a support team, advertise a āverificationā process, and direct users to a page whose wording is optimized for both human trust and automated summarization. The attacker can also use AI to maintain a consistent persona across posts, direct messages, comments, and fake customer-service conversations. The deception is therefore multi-channel, but the underlying goal remains familiar: move the victim from attention to action before independent verification occurs.[1]
Ā
Indirect prompt injection: when a page talks to the assistant
Indirect prompt injection is different from asking a model to produce a phishing email. The attacker hides instructions in content that an AI system is expected to read, summarize, classify, or act upon. The content may be a webpage, email, document, social-media post, advertisement, or URL fragment. If the assistant fails to separate data from instructions, malicious text can influence the response.
Ā
The Cloud Security Allianceās 2026 note on ChatGPhish describes a particularly important pattern: a public page is summarized by an AI assistant, and attacker-controlled Markdown can cause phishing links, fake security alerts, QR codes, or tracking images to appear in the trusted assistant interface.[4] The page does not need to compromise the AI providerās infrastructure. It only needs to exploit the gap between what the user sees as information and what the model processes as instructions.
Ā
This is a trust-transfer attack. The user may distrust a page opened from an unknown domain, yet trust a concise message rendered inside a familiar assistant. A warning such as āYour session has expiredāverify your accountā becomes more persuasive when it appears to be an assistant-generated recommendation rather than a banner controlled by a stranger.
Ā
The same principle applies to workplace copilots and AI-enabled collaboration tools. A poisoned message can be retrieved by a summarization system; a hidden instruction can influence a generated answer; and the answer can contain a link that appears to come from the assistant. In agentic systems, the risk is higher because the assistant may have access to browsers, documents, communication platforms, or transaction tools.[4]
Ā
Browser attacks that hide inside normal interaction
Browser-based phishing is effective because the browser is where identity, payment, work, and communication converge. A browser-in-the-browser attack creates a fake login window inside a legitimate page, imitating a single-sign-on popup. The visual frame may appear familiar, while the address bar belongs to the outer page rather than the supposed identity provider.
Ā

AI can make this technique harder to recognize in two complementary ways. First, an assistant may recommend or summarize the page, giving it borrowed credibility. Second, an AI-enabled browser may interpret hidden page content as an instruction and present the attackerās message as part of its own workflow. Cato Networksā HashJack research, summarized by the Cloud Security Alliance, illustrates how URL fragments can carry text that servers ignore but AI assistants may process.[4]
Ā
Palo Alto Networks Unit 42 has also described a proof of concept in which a benign-looking page calls trusted large language model services from the client side, receives generated JavaScript, assembles it in the browser, and renders a phishing page at runtime.[6] The important defensive observation is that the final malicious page may not exist as a fixed file. Its code can vary from visit to visit, arrive through infrastructure that looks reputable, and become visible only after execution.
Ā
Why old warning signs are losing value
Many awareness programs teach people to look for spelling mistakes, awkward phrasing, generic greetings, and low-quality branding. Those signals remain useful, but AI-generated content can remove them at negligible cost. A grammatically perfect message is not proof of legitimacy, and a professional-looking page can still be a credential trap.
Ā
URL inspection also becomes harder when users arrive through assistants, QR codes, shortened links, or embedded popups. A person may see the destination only briefly, or may assume that the assistant already checked it. In a browser with AI features, the user can also mistake a model-generated explanation for a security decision made by the browser itself.
Ā
The practical lesson is to treat fluency as presentation, not verification. A safe workflow separates discovery from authentication: use the assistant to find general information, but open sensitive services through a bookmark created independently, a manually typed official domain, or an organization-managed portal. Never enter credentials into a page merely because an AI system recommended it.
Ā
A defensive model for organizations and platforms
No single control addresses hallucinated links, poisoned content, social impersonation, and runtime browser assembly. Protection should be layered across identity, content handling, browser behavior, and external threat intelligence.
Ā
Risk | What the attacker exploits | Stronger control |
Hallucinated or poisoned login URL | User assumes the assistant verified ownership | Official-domain allowlists, retrieval grounding, domain-age and ownership checks, and direct navigation for authentication |
Indirect prompt injection | Web content is treated as trusted instructions | Strict separation of data and commands, content sandboxing, output filtering, and confirmation before consequential actions |
Fake assistant warning or QR code | User trusts the assistantās visual interface | Provenance labels, safe link rendering, disabled active content from untrusted sources, and visible origin indicators |
Browser-in-the-browser popup | User mistakes page content for a real browser or identity window | Hardware-backed passkeys, origin-bound authentication, browser UI indicators, and resistance to embedded credential forms |
Runtime-generated JavaScript | Static scanners cannot see the final payload | Runtime behavior monitoring, restrictive content security policies, API egress controls, and isolation of untrusted pages |
Social-media impersonation | Familiar names and urgent support narratives | Verified support channels, takedown monitoring, strong account recovery, and out-of-band confirmation |
For users, phishing-resistant authentication is the most important safeguard. FIDO2 and WebAuthn passkeys bind authentication to the legitimate origin, making a counterfeit domain less useful even when the page looks convincing. Organizations should also ensure that an AI assistant cannot send messages, retrieve sensitive files, approve payments, or submit forms without explicit authorization and clear provenance.
Ā
AI vendors and browser makers have a separate responsibility. They should treat retrieved webpages, emails, and documents as untrusted data; render links with their true destination and origin; prevent third-party content from creating system-like alerts; and log when a modelās answer relies on uncertain or unverifiable information. Security testing should include realistic combinations of hidden text, CSS concealment, URL fragments, Markdown images, QR codes, and social-engineering language rather than testing only obvious prompt attacks.[4][6]
Ā
Brands need an external view of their identity. Monitoring should cover newly registered domains, fake social accounts, AI-search recommendations, hosted pages, code repositories, and support content. The objective is not to register every possible typo. It is to detect when an attacker has constructed an ecosystem that repeatedly presents the brand through untrusted channels, then remove or block the infrastructure quickly.[2]
AI-assisted phishing is no longer only a writing problem. It is a problem of misplaced authority. A model can invent a URL, a webpage can inject instructions into a summary, a browser can render a convincing fake prompt, and a social profile can complete the story. Each component may look ordinary in isolation; together they create a fraud path that borrows trust from the machines users rely on to interpret the internet.
Ā
The safest response is not to reject AI outright, but to constrain what it may treat as instructions and what it may do on a userās behalf. Authentication should depend on cryptographic origin rather than visual similarity. Sensitive actions should require confirmation and independent navigation. AI answers should expose uncertainty and provenance. Browsers should analyze behavior at runtime, not only static files. When those principles are combined, hallucinations remain an accuracy defect instead of becoming an attacker-controlled doorway.
Ā
References





Comments