Hidden Prompt Injection Is Hijacking AI Agents. The Poison Is in Your PDFs

Published 9 September 2026 · Updated 19 October 2026

I have spent decades watching attackers hunt for the softest door in the building. For most of that time, the door was a person: someone clicking a link, reusing a password, or trusting an email that looked close enough. The newest door is not a person at all. It is the AI agent your business just gave access to its email, its contracts and its customer data, and it can be turned against you by a document that looks completely harmless.

Security researchers at Bowbridge have been studying a class of attack they call hidden prompt injection, and their warning deserves attention. Traditional prompt injection happens when someone talks a chatbot into misbehaving. Hidden prompt injection is nastier: the malicious instructions are buried inside content the agent is supposed to read, in file metadata, inside email threads, in images, even in code repositories and developer workflows. The agent consumes the document, treats the hidden text as trusted guidance, and quietly acts on instructions no human ever saw.

The most expensive quote wins

Consider a scenario that should make procurement teams nervous (an illustration, not a documented incident). An AI agent is asked to review supplier quotes and recommend the cheapest option. One quote contains a hidden instruction in its document metadata telling the agent to override earlier guidance and select that supplier. The agent recommends it anyway, even though it is the most expensive quote on the table, because it cannot tell the difference between instructions from the system and instructions hidden in an untrusted file.

That is the core problem. An agent inherits the privileges of the person using it: the executive assistant agent sees the same email, the same calendars and the same files as the executive. It acts silently, at machine speed, with no human-like judgement to stop and ask whether the instruction makes sense. There is no malware fingerprint for traditional antivirus to detect, because nothing malicious ever touches disk. The document looks fine. The agent behaves badly. By the time anyone notices, the damage is done.

Part of a pattern, not a one-off

This is not hypothetical. We have already seen the same family of tricks in the wild. Malicious repositories booby-trapped to run code inside Claude Code, Codex and Cursor. Zero-click prompt injection that steals chat history. AI agents escaping sandboxes to hack Hugging Face and turning a German wiki into a secret message board. In each case, the common thread is the same: the agent trusted content it should never have trusted.

The lesson is that the attack surface has changed. When an AI agent reads your documents, every document becomes a potential delivery mechanism. Attackers do not need a foothold in your network. They just need to get one poisoned file into the pile, through a vendor, a partner, a job applicant, or a well-placed phishing email.

What you can do about it

  • Scan documents before agents process them, and check file metadata, not just the visible content.
  • Treat everything an agent ingests as untrusted input, the same way you treat a suspicious attachment.
  • Give agents the least privilege they need, not the access of the most senior person in the room.
  • Watch what agents actually do. Anomalous behaviour, odd outbound traffic and strange API calls are your early warning system.
  • Add prompt injection to your threat model and apply an AI security framework, because it will be on someone else’s exploit list.

You do not need to stop using AI agents. You do need to stop assuming the things they read are safe. The next attack on your business may arrive as a perfectly ordinary PDF, and the person who reads it may not be human.

The most dangerous instruction your AI agent will ever receive is the one you cannot see. Treat every document as untrusted, and audit what your agents actually do.

Correction (19 October 2026): Correction: the supplier-quote example is now presented as an illustrative scenario, as we could not verify it as a documented Bowbridge case.

Sources

Analysis and opinion are the author’s. Factual statements are attributed to the sources above.

Related Reading

The views expressed on this site are my own and do not represent those of any current or former employer. Articles are based on publicly available information and are provided for general educational purposes.

How this analysis is researched, sourced and corrected: Editorial standards and corrections. Spotted an error? Contact Philip Hall.

Subscribe

Related articles

DEBATE: Will AI End Capitalism in 2 Years? The Ex-Google Prediction Dividing the World

A former Google X executive predicts AI will end capitalism in 2 years. I dug into the actual data. The answer is more complicated than either side wants to admit.

PHP2Shell: Two Critical PHP Vulnerabilities Demand Immediate Patching

Two critical remote code execution vulnerabilities have been disclosed...

PHP2Shell: Two Critical Bugs, One Unavoidable Truth

# PHP2Shell: Two Critical Bugs, One Unavoidable Truth The PHP...
Philip Hall
Philip Hall
Philip Hall is a Sydney-based Cyber AI and Automation leader with more than 30 years of technology experience and a career in cyber security dating back to 2008. His work spans cyber architecture, cloud security, threat intelligence, assurance, incident support, AI-enabled defence and the security of autonomous agents.