When AI Assistants Miss the Phishing Attack Your Users See

June 30, 2026
Shannon Lewis

Your AI Said Safe. Your Browser Said Otherwise.

An employee pastes a suspicious link into ChatGPT. The AI scans the page and responds: "This appears to be a harmless fanfiction site." The employee clicks. The browser renders instructions to install a reverse shell in large green text.

This divergence occurs because AI assistants analyze the HTML DOM while users see the rendering layer. Custom fonts and CSS create a disconnect that attackers exploit to hide malicious commands from AI tools while displaying them prominently to humans.

LayerX researchers demonstrated this with a proof of concept that fooled ChatGPT, Claude, Copilot, Gemini, Leo, Grok, Perplexity, and four other major AI assistants. Every tool confidently approved the page. Every user saw the attack.

Why This Matters Now

Employees increasingly rely on AI assistants to verify links, assess webpage legitimacy, and guide security decisions. This reliance creates an exploitable trust layer.

Attackers use glyph substitution to embed malicious instructions in custom fonts that render visually but remain invisible to AI analysis. The HTML contains benign text. The browser displays malware commands. AI tools read only the former.

Organizations building workflows around AI-assisted verification face a structural problem: the tools cannot detect attacks engineered at the rendering layer. This gap widens as employees treat AI recommendations as authoritative without understanding the limitations.

The attack leverages social engineering by exploiting trust in AI accuracy. Users assume comprehensive analysis occurred. Attackers know better.

Three Strategic Gaps Exposed

AI Tools Analyze Code, Not Visual Output

AI assistants process the DOM, the structured data representation of a webpage. Custom fonts manipulate how browsers interpret and display that data without altering the underlying code AI tools read.

  • Glyph substitution maps harmless characters in the HTML to malicious characters in the font file
  • CSS styling controls which version displays to users
  • AI reads the safe HTML; users see the dangerous rendering
  • No amount of AI training closes this architectural gap

Users Trust AI Verification Without Understanding Its Scope

Employees treat AI assistants as comprehensive security validators. They paste links, receive approval, and proceed without secondary verification.

  • AI responses appear confident and authoritative
  • Users lack visibility into what AI actually analyzed
  • Phishing campaigns exploit this trust by embedding attacks in layers AI cannot inspect
  • The verification gap becomes an entry vector

Phishing Pages Pass AI Checks While Displaying Malware Instructions

The LayerX proof of concept contained HTML describing a fanfiction story. The custom font rendered instructions to execute a malicious command. AI assistants saw only the story. Users saw only the command.

  • Attackers control both what AI reads and what users see
  • The attack requires no sophisticated code obfuscation
  • Standard phishing delivery methods apply
  • Detection depends entirely on human recognition of the visual disconnect

The Strategic Shift Required

Organizations cannot patch AI assistants to detect rendering layer attacks. The limitation is architectural. Security controls must adapt to this reality.

Employees need training that teaches when AI verification introduces risk rather than reducing it. This requires reframing AI assistants as partial tools, not comprehensive validators.

Security teams must implement verification protocols that account for the gap between code analysis and visual rendering. This includes teaching users to recognize when a page's appearance contradicts its expected content, even after AI approval.

  • Educate users on AI verification limitations
  • Establish protocols for secondary verification of AI-approved links
  • Train teams to recognize visual rendering anomalies
  • Build awareness that AI confidence does not equal comprehensive analysis

How Security Awareness Training Addresses This

KnowBe4 Security Awareness Training equips teams to recognize when AI verification creates exposure rather than protection.

  • Gap 1: Training teaches users that AI assistants analyze only the DOM and cannot detect custom font attacks, reducing blind reliance on AI approval.
  • Gap 2: Awareness programs establish verification protocols that go beyond AI recommendations, teaching users to escalate anomalies even after receiving AI approval.
  • Gap 3: Programs demonstrate how phishing pages can pass AI safety checks while displaying malicious content, building recognition of visual rendering attacks.

Who This Is For

  • CISOs managing human risk in AI-integrated workflows
  • Security Awareness Managers addressing AI verification gaps
  • IT Security Leads implementing phishing defenses for teams using AI assistants
  • Compliance Managers ensuring workforce readiness for rendering layer social engineering

Call to Action

Build awareness of AI verification gaps before attackers exploit them.

Visit https://content.optrics.com/knowbe4-security-awareness-training

FAQ

Can AI assistants be trained to detect custom font attacks?
No. AI tools analyze the HTML DOM, not the rendered visual output. Custom fonts manipulate the rendering layer, which exists outside the scope of what AI assistants inspect. This is an architectural limitation, not a training gap.

How common are font rendering attacks in phishing campaigns?
LayerX demonstrated the technique as a proof of concept. While not yet widespread, the method requires minimal technical sophistication and exploits growing reliance on AI verification, making it attractive for targeted campaigns.

Should organizations restrict employee use of AI assistants for security verification?
Restriction alone does not address the underlying risk. Employees will use available tools. Organizations should instead train users to understand AI limitations and establish protocols for secondary verification when AI approves suspicious content.

What should users do if AI approves a page that looks suspicious?
Escalate to the security team before interacting with the page. AI approval does not guarantee comprehensive analysis. Visual anomalies, unexpected content, or requests that contradict business context require human verification regardless of AI confidence.


Optrics Logo white shadow
Optrics is an engineering firm with certified IT staff specializing in network-specific software and hardware solutions.

Contact Information

6810 - 104 Street NW
Edmonton, AB, T6H 2L6
Canada
Google Plus Code GG32+VP
Direct Dial: 780.430.6240
Toll Free: 877.430.6240
Fax: 780.432.5630
Copyright 2025 © Optrics Inc. all rights reserved. 
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram