← Back to Daily Briefing

Attackers are leveraging Indirect Prompt Injection (IPI) to hijack AI agents from OpenAI, Anthropic, and Google by weaponizing the Retrieval-Augmented Generation (RAG) process. Through SEO poisoning, malicious sites are prioritized in agent grounding searches, delivering hidden payloads via CSS (display:none, opacity:0) and zero-width characters. These invisible instructions override system prompts to execute unauthorized tool-use functions, enabling cryptojacking via WebAssembly and the exfiltration of sensitive session data to attacker-controlled endpoints. This vulnerability shifts the primary attack vector from direct user input to external, untrusted data sources utilized for agentic autonomy.

  • Threat Model & Attack Vector

    • Transition from Direct Prompt Injection (user-to-model) to Indirect Prompt Injection (data-to-model) using untrusted web sources.
    • Use of SEO poisoning to manipulate search rankings, ensuring AI agents prioritize malicious pages during the "grounding" phase.
    • Exploitation of the semantic discrepancy between human visual perception and LLM tokenization of HTML/CSS.
  • Technical Execution & Stealth

    • Deployment of stealth payloads using display:none, white-on-white text, and zero-font sizes to hide instructions from human users.
    • Utilization of natural language "Instructional Overrides" (e.g., "Ignore previous instructions") to hijack the LLM's operational logic.
    • Injection of malicious context directly into the LLM's active window during the retrieval phase of the RAG workflow.
  • Operational Impact & Payload Delivery

    • Execution of unauthorized tool-use capabilities to deploy cryptojacking scripts, specifically utilizing WebAssembly-based miners.
    • Silent exfiltration of sensitive user session data and PII via API calls triggered by the compromised agent.
    • Bypass of safety guardrails to redirect users to malicious domains or perform unauthorized system actions.
  • Defensive Strategies & Mitigation

    • Implementation of aggressive input sanitization to strip hidden HTML elements and invisible CSS before data reaches the LLM context.
    • Adoption of a Dual-LLM architecture, utilizing a restricted "inspector" model to screen retrieved content for prompt injections.
    • Enforcement of strict contextual segregation to maintain clear boundaries between system prompts, user inputs, and external data.
  • Ecosystem Risk Assessment

    • Demonstrated vulnerability across the three leading AI ecosystems (OpenAI, Anthropic, Google) supporting web-browsing.
    • Increased risk profile for "agentic" AI systems possessing autonomous write, execute, or API-calling permissions.
    • Systemic erosion of trust in enterprise RAG deployments due to the inherent unreliability of untrusted web-grounding.

Related posts

  1. gbhackers.com — Hackers Use Fake API Documentation to Trick AI Agents Into Sending Crypto Payments
  2. Cybersecurity News — Hackers Abuse SEO Poisoning and Hidden HTML to Trick AI Agents Into Following Malicious Instructions
  3. vibegraveyard.ai — Prompt injection stopped being theoretical - Unit 42 found AI agents obeying poisoned web pages
  4. vibegraveyard.ai — GeminiJack turned a poisoned document into silent corporate data theft
  5. Medium LLM Security Tag — Your AI Agent Will Email an Attacker the Customer’s SSN.
  6. SC Media — Malicious websites trick AI agents into crypto payments, context poisoning
  7. itpro.com — The agents you use to beef up cybersecurity could be turned against you – ‘Friendly Fire’ attacks can manipulate OpenAI and Anthropic models into running malicious code
  8. thehackernews.com — New MemGhost Attack Plants Persistent False Memories in AI Agents Through One Email
  9. SecurityWeek — Prompt Injection Attacks Trick AI Agents Into Making Crypto Payments
  10. TechNadu — Model Context Protocol (MCP) Tool Poisoning Hijacks AI Agents to Steal Data
  11. Forcepoint
  12. Unit42
  13. Crowdstrike
  14. Securityboulevard
  15. Digitaljournal
  16. Scworld
  17. Hackread
  18. Cybernews
  19. Blog
  20. Artificialintelligence-news
  21. Arxiv
  22. Cyberdefensemagazine
  23. Infosecurity-magazine
  24. Bragg
  25. Zscaler
  26. gbhackers.com — Malicious Agent Skills Can Steal Credentials, Exfiltrate Source Code, and Install Backdoors
  27. Security Affairs — Hidden Web Prompts Trick AI Agents Into Sending Money
  28. Infosecurity-magazine
  29. Risingwave
  30. Arxiv
  31. Oecd
  32. Youtube
  33. Cequence
  34. Crypto
  35. Rescana
  36. Cisoseries
  37. Microsoft
  38. Unit42
  39. Labs
  40. Cycognito
  41. Auth0
  42. Youtube
  43. Helpnetsecurity

LINK COPIED TO CLIPBOARD