Briefing 02 · AI agents · Prompt injection · MCP · AI security

6 Ways Hackers Hijack Your AI Agent

Six real cases where an error log, a contact form, a PDF, a GitHub issue, an email and a browser extension hijacked AI agents, and the five fixes that stop all of them.

An AI agent can’t reliably tell data from instructions. To the model, it’s all just text. So anything the agent reads can carry a hidden command, and the agent runs it with your access. This is called indirect prompt injection.

The six hijacks

  1. The error log. A fake error report tells a coding agent to run a command on the developer’s machine (“agentjacking”, June 2026).
  2. The contact form. Hidden text in a web form makes a CRM agent leak customer accounts (SalesBleed, September 2026, patched).
  3. Invisible text in a PDF. Text a person can’t see, but the AI reads, sends work data to an outside address (Atlassian Rovo, August 2026).
  4. A GitHub issue. An agent reading a public issue uses your token to publish private code (GitHub MCP, May 2025).
  5. The email you never opened. Zero clicks: an assistant leaks data through an image link (EchoLeak, June 2025, fixed).
  6. A browser extension. A malicious extension takes over the AI assistant in your browser (BragJack, September 2026).

The five fixes

  1. Treat everything a tool returns as untrusted.
  2. Require human approval before an agent runs commands, sends data or changes anything.
  3. Give agents short-lived tokens with the least access possible.
  4. Block the way out: no automatic images or links, and an allow-list of where agents can connect.
  5. Audit every MCP server and browser extension you plug in.

AI Security Engineer

Move into AI security from the role you have

280+ videos, 33 modules, labs on AWS, Azure and Google Cloud, a graded capstone and a certificate.

$199regular price $299 launch price, one payment. Final price: nothing is added at checkout.

Enroll today See the full curriculum

AI Security Engineer

Enroll in the full course

A practical, applied AI security course. Every module, lab, quiz, handbook and the graded capstone open the day you join.

  • 280+videos
  • 33modules
  • 3clouds included
  • 280+ videos, plus every reading page and lab across all 6 parts
  • Local and cloud lab solutions for AWS, Azure and Google Cloud
  • Downloadable slide deck (PDF) for every module
  • Graded capstone and certificate
  • Every future update, including the quarterly future-watch

$199regular price $299

Launch price until Nov 30, 2026One-time payment. No subscription. Final price: nothing is added at checkout.

You pay $199 USDUS dollars, paid by card. Final price: nothing is added at checkout.

You pay on Razorpay's secure payment page. We never see your card or bank details. One-time payment, no subscription.

  • Paid on Razorpay's secure page: Card, in US dollars
  • Refund policy