Threat reportPhishingTL-2026-3218
Attackers Hide AI Prompt Injections Inside Phishing Emails to Manipulate AI Email Assistants
Barracuda research (reported 2026-10-07) describes phishing emails that carry hidden prompt-injection instructions aimed at AI tools that read or summarize email, alongside conventional lures such as password-protected attachments. A single message therefore targets both the human recipient and the AI system that processes their inbox.
Key facts
| Identifiers | TL-2026-3218 |
|---|---|
| Severity | MEDIUM |
| Affected products | Various AI email assistants, summarizers, resume screeners, support bots and coding assistants that ingest email or web content |
| Weaknesses (CWE) | CWE-1427 |
| Tools | Barracuda |
| MITRE ATT&CK / ATLAS techniques | AML.T0051 LLM Prompt Injection, AML.T0051.001 LLM Prompt Injection: Indirect, T1027 Obfuscated Files or Information, T1027.009 Embedded Payloads, T1036 Masquerading, T1140 Deobfuscate/Decode Files or Information, T1204 User Execution, T1204.002 Malicious File, T1564 Hide Artifacts, T1566 Phishing, T1566.001 Spearphishing Attachment, T1598 Phishing for Information and 1 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | enterprise, finance, human resources, customer support, software development, health |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-10-10, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3218 across Splunk SPL, Microsoft KQL and Sigma, covering 3 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Zero-Width Unicode Smuggling and Non-Image Base64 Data URIs in Email Body — Exploitation
Detects the other two hiding methods Barracuda documents: zero-width Unicode characters (U+200B, U+200C, U+200D, U+2060, U+FEFF) interleaved with visible words, and Base64 'image' data URIs whose payload is not a real PNG/JPEG/GIF/WebP but decodes to text. Both hide instructions from the reader while remaining parseable by an AI assistant.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1027, T1027.009, T1140, T0051.001
- Data sources: splunk_stream_smtp, sentinel_EmailContentInspection_CL, email_gateway_content_inspection
- Severity: medium
- Confidence: medium
Splunk SPL
```Zero-width characters inside words, or data:image URIs whose Base64 does not start with a real image magic number```
index=email sourcetype="stream:smtp" earliest=-24h
| eval body=coalesce(content, "")
| rex field=body max_match=0 "(?<zw_char>[\x{200B}\x{200C}\x{200D}\x{2060}\x{FEFF}])"
| rex field=body max_match=10 "data:image/(?:png|jpe?g|gif|webp);base64,(?<b64_blob>[A-Za-z0-9+/=]{40,})"
| eval zw_count=coalesce(mvcount(zw_char), 0)
| eval midword_zw=if(match(body, "([A-Za-z][\x{200B}\x{200C}\x{200D}\x{2060}\x{FEFF}]+){3,}[A-Za-z]"), 1, 0)
| eval bad_blobs=mvfilter(NOT match(b64_blob, "^(iVBORw0KGgo|/9j/|R0lGOD|UklGR)"))
| eval bad_blob_count=coalesce(mvcount(bad_blobs), 0)
| where midword_zw=1 OR zw_count>=10 OR bad_blob_count>=1
| eval indicator=case(bad_blob_count>=1 AND (midword_zw=1 OR zw_count>=10), "zero_width+b64_non_image", bad_blob_count>=1, "b64_non_image", true(), "zero_width")
| stats count max(zw_count) as max_zw_chars max(bad_blob_count) as max_bad_blobs values(subject) as subjects values(receiver) as recipients by sender, indicatorMicrosoft KQL
// Zero-width Unicode smuggling and Base64 text hidden in image data URIs
let Base = EmailContentInspection_CL
| where TimeGenerated > ago(24h)
| extend NetworkMessageId = tostring(NetworkMessageId_g);
let ZeroWidth = Base
| extend ZeroWidthCount = coalesce(array_length(extract_all(@'([\x{200B}\x{200C}\x{200D}\x{2060}\x{FEFF}])', BodyHtml_s)), 0)
| extend MidWord = BodyHtml_s matches regex @'([A-Za-z][\x{200B}\x{200C}\x{200D}\x{2060}\x{FEFF}]+){3,}[A-Za-z]'
| where MidWord or ZeroWidthCount >= 10
| extend Indicator = 'zero_width_unicode', Evidence = strcat('zero-width chars: ', ZeroWidthCount);
let Base64Blob = Base
| extend Blobs = extract_all(@'data:image/(?:png|jpe?g|gif|webp);base64,([A-Za-z0-9+/=]{40,})', BodyHtml_s)
| mv-expand Blob = Blobs to typeof(string)
| where Blob !startswith_cs 'iVBORw0KGgo' and Blob !startswith_cs '/9j/' and Blob !startswith_cs 'R0lGOD' and Blob !startswith_cs 'UklGR'
| extend Decoded = base64_decode_tostring(Blob)
| where Decoded matches regex @'^[\x20-\x7E\r\n\t]{20,}'
| extend Indicator = 'base64_text_in_image_uri', Evidence = substring(Decoded, 0, 200);
union ZeroWidth, Base64Blob
| project TimeGenerated, Indicator, Evidence, SenderFromAddress_s, RecipientEmailAddress_s, Subject_s, NetworkMessageIdSigma
title: Zero-Width Unicode Smuggling or Non-Image Base64 Data URI in Email HTML
id: c81e4d07-5a92-4f3b-b0d6-19a7e3c2f852
status: experimental
description: Detects email HTML where zero-width Unicode characters are interleaved inside words or where a data image URI carries Base64 that does not begin with a PNG, JPEG, GIF or WebP signature. Both are hiding methods documented by Barracuda on 2026-10-07 for smuggling instructions to AI email assistants. The lookahead needs a PCRE-capable backend such as Splunk, use the KQL variant for RE2 backends.
references:
- https://blog.barracuda.com/2026/10/07/email-attacks-target-both-humans-ai-assistants
- https://www.infosecurity-magazine.com/news/attackers-hide-ai-prompt/
author: Threadlinqs Team
date: 2026-10-10
tags:
- attack.defense-evasion
- attack.t1027
- attack.t1027.009
- attack.t1140
logsource:
category: email
product: email_gateway
service: content_inspection
detection:
selection_midword_zw:
BodyHtml|re: '(?:[A-Za-z][\x{200B}\x{200C}\x{200D}\x{2060}\x{FEFF}]+){3,}[A-Za-z]'
selection_nonimage_b64:
BodyHtml|re: 'data:image/(?:png|jpe?g|gif|webp);base64,(?!iVBORw0KGgo|/9j/|R0lGOD|UklGR)[A-Za-z0-9+/=]{40,}'
condition: 1 of selection_*
falsepositives:
- Bulk marketing email that pads preheaders with zero-width non-joiners
- Malformed or truncated inline images produced by some mailers
level: mediumKnown false positives:
- Bulk marketing email that pads preheaders with zero-width non-joiners
- Malformed or truncated inline images produced by some mailers
Tuning notes: The SPL and Sigma forms flag Base64 blobs by signature mismatch because Splunk has no native Base64 decode; the KQL form decodes the blob and requires printable text. Zero-width padding in newsletters usually sits after text blocks, not between letters, so the mid-word test is the high-signal branch; raise or drop the zw_count>=10 branch if noisy. Allow-list bulk senders by domain. The code points are the analyst-supplied examples from research.json, extend if new ones are seen.
- Spoofed Internal Email — Sender Equals Recipient From External Source · unlock with TL Creds
- Archive Attachment With Password in Message Body — Delivery Lure · unlock with TL Creds
- Archive Tool Extracting Outlook-Cached Attachment With Password Argument — Post-Delivery Execution · unlock with TL Creds
- AI-Directed Fake Priority Action Plus Vendor Payment Change in Email — Financial Fraud Injection · unlock with TL Creds
- Assistant-Specific Injection Payloads — Resume Screener, Support Bot and Coding Assistant Targeting · unlock with TL Creds
- Script or Executable Launched From Archive-Extraction or Outlook Cache Path — User Execution · unlock with TL Creds
- Hidden Prompt-Injection Text in Email HTML (HTML Comment / CSS-Hidden) — Exploitation · unlock with TL Creds
- Instruction-Override and Prompt-Template Language in Inbound Email Body — Exploitation · unlock with TL Creds
Indicators of compromise
As of 2026-10-10, Threadlinqs Intelligence tracks 3 indicators of compromise for TL-2026-3218.
Technical analysis
Barracuda analysts identified phishing messages that combine traditional social engineering with hidden instructions intended for AI assistants that summarize, triage or act on email. One analyzed campaign used spoofed internal-style correspondence (matching From and To addresses), originated from a public-sector domain to help bypass reputation filtering, carried a password-protected attachment with the password supplied in the message body, and also embedded hidden prompt-injection text. The stated aim is to influence or override user behavior through the AI layer, for example by making a malicious message look legitimate or urgent in an inbox summary.
Barracuda documents four methods for hiding the injected instructions: (1) HTML comments that never render in a mail client but remain in raw source; (2) CSS-hidden text using zero-pixel font size, white-on-white color or hidden display; (3) Base64-encoded blocks, such as an image data string, that decode to instruction text; and (4) zero-width Unicode characters layered with normal text to smuggle or obfuscate content.
In-the-wild examples cited include: an invoice email whose hidden prompt tells the AI to add a fake priority action changing vendor payment details; a resume email instructing a screening tool to rate the candidate 10 out of 10 and recommend an immediate interview; a request framed as an authorized maintenance or admin mode to make a support bot disclose its configuration; and poisoned web documentation that instructs a coding assistant to insert a credential-exfiltration line into code. Related reporting (Paubox, 2026-05-21) describes a distinct but similar technique where benign filler text at zero font size or background-matching color is used to bias AI-based filters, observed in an Adidas-impersonation cloud-storage scam and a fake health-insurance email, and notes it was under one percent of observed phishing traffic.
No CVE, CVSS score, malware family, network IOC or named threat actor is stated in the sources; severity is analyst-assigned. Recommended defenses from Barracuda include stripping hidden elements and invisible characters before AI processing, detecting instruction-override language, sandboxing AI tools, validating AI outputs, requiring human approval for payments and vendor changes, monitoring repeated injection attempts, and treating external content as data separate from instructions.
MITRE ATT&CK / ATLAS techniques by tactic:
Execution
AML.T0051 LLM Prompt Injection; AML.T0051.001 LLM Prompt Injection: Indirect; T1204 User Execution; T1204.002 Malicious File
Defense Evasion
T1027 Obfuscated Files or Information; T1027.009 Embedded Payloads; T1036 Masquerading; T1140 Deobfuscate/Decode Files or Information; T1564 Hide Artifacts
Initial Access
T1566 Phishing; T1566.001 Spearphishing Attachment
reconnaissance
T1598 Phishing for Information
Impact
Remediation
Immediate actions
- Strip HTML comments, CSS-hidden elements, Base64 data blocks and zero-width/invisible Unicode characters from email content before it reaches AI assistants
- Require human approval for payment, vendor-change and other financial actions suggested by AI email tools
- Quarantine inbound email with password-protected attachments where the password is in the message body
Workarounds
- Disable automatic AI summarization or auto-actions on external email until sanitization is in place
- Validate AI outputs before they trigger downstream actions
Longer-term hardening
- Treat all external email and web content as untrusted data, separate from system instructions, in AI assistant design
- Deploy prompt-injection detection for instruction-override language
- Monitor and log repeated injection attempts against AI email tools
- Sandbox AI assistants and limit their tool and data access
Affected and fixed versions
- Various — AI email assistants, summarizers, resume screeners, support bots and coding assistants that ingest email or web content
Vulnerable versions: Products that process untrusted email/web content without input sanitization
Timeline
- Per Paubox reporting, a similar zero-font-size hidden-text technique was disclosed in a Google Gemini email-summary vulnerability (July 2025).
- Paubox publishes research on invisible-text phishing aimed at AI filters, citing Adidas-impersonation and health-insurance lures and under 1% of observed phishing traffic.
- Barracuda describes a campaign using spoofed internal-style email from a public-sector domain, password-protected attachments with passwords in the body, and hidden prompt injection.
- Infosecurity Magazine reports Barracuda findings: four hiding methods and in-the-wild examples (invoice fraud, resume screening, support bot, coding assistant).
- Barracuda publishes Threat Spotlight on email attacks that target both humans and AI assistants in the same message.
- Threat catalogued as TL-2026-3218 on the Threadlinqs platform; single primary source (Barracuda), no CVE, IOCs or actor attribution published.
Sources cited
- Threat Spotlight: Email attacks target both humans and AI in the same message (Barracuda) blog.barracuda.com · Research · 2026-10-07
- Threat Spotlight: How attackers poison AI tools and defences (ITWire) itwire.com · Blog · 2026-10-07
- Attackers hide invisible text in phishing emails to trick AI filters (Paubox) paubox.com · Blog · 2026-05-21
- Attackers Hide AI Prompt Injections Inside Phishing Emails (Infosecurity Magazine) infosecurity-magazine.com · News · 2026-10-07
- Barracuda Identifies Prompt Injections in Phishing Emails (Let's Data Science) letsdatascience.com · News · 2026-10-07
- AI-targeting prompts surface inside phishing emails (The Arabian Post) thearabianpost.com · News · 2026-10-07
- New email attacks target both humans and AI in the same message (CXO Digital Pulse) cxodigitalpulse.com · News · 2026-10-07
Previous and next in phishing
Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.