Tech News, Tech & Coding · Free Online Tools

IT Question Answer
Tools
Back to Cybersecurity
Researchers detail a prompt-injection flaw affecting a popular AI assistant

Researchers detail a prompt-injection flaw affecting a popular AI assistant

CybersecurityBy Muhammad FareedThe Hacker News; eWeek; Cloud Security Alliance research note; PromptArmor
cybersecurityaiphishingvulnerability

The disclosure

On May 29, 2026, security researcher Andi Ahmeti of Permiso disclosed an attack nicknamed ChatGPhish. It is a cross-site prompt injection technique that targets ChatGPT's feature for summarizing web pages. The summaries come from third-party content, so an attacker who controls a page can plant hidden instructions for the assistant to follow. The flaw is in how responses are rendered and not in ChatGPT's core model.

How it works

  1. A web page contains hidden text with instructions, invisible to a human reader.
  2. A user asks ChatGPT to summarize the page, and the model includes the attacker's content in its answer as Markdown links and images.
  3. The response renderer trusts those links and image addresses. It shows the links as clickable items and loads the images automatically.

What the researchers demonstrated

  • Spoofed alerts: fake OpenAI security warnings with phishing links.
  • QR codes: an image has no readable web address in its text, so desktop link filters can miss it, and scanning it moves the victim to a personal phone outside corporate controls.
  • Tracking pixels: tiny images that load silently and can reveal the user's IP address, browser details and referrer without a click.

The Cloud Security Alliance noted that any product that calls the ChatGPT API to summarize web content and shows the answer as Markdown may inherit the same weakness. Reports I found did not confirm OpenAI's current fix status, so check OpenAI's security notes.

A wider pattern

Similar Markdown-image leaks were reported in other AI tools in 2026. On May 21, PromptArmor disclosed that a hidden instruction in an email could make OpenAI's Codex output Markdown image syntax that pointed to a pre-filled form and leaked data when the image loaded. OpenAI fixed it. Other developer tools, including an AI chat in the Eclipse Theia editor, had comparable issues.

What users and builders should do

  • Users: be careful with links, QR codes and urgent warnings inside AI summaries, especially when the source page is untrusted.
  • Builders: sanitize model output, block or proxy remote images, allow only trusted domains, and monitor outbound requests from AI features.
  • Security teams: treat AI-generated content as untrusted input and add QR code inspection to phishing controls.

Why it is hard to fix

Prompt injection comes from how language models read instructions, so it cannot be removed with one patch. Layered safeguards matter. For defensive AI tooling, see our report on Microsoft's MDASH.

Advertisement