What happened
It was reported by Zscaler’s ThreatLabz research team on 2 July 2026 that attackers had placed hidden instructions for AI agents on two websites. The technique, known as indirect prompt injection, involves putting instructions into material an AI system reads while carrying out another task.
The first website pretended to provide documentation for a Python software package. It appeared in search results for people looking for installation help or ways to fix errors.
Hidden in the page’s structured data and text positioned outside the visible screen were instructions claiming that a developer licence key was needed. The page requested a 3 USD fee through a checkout link and a small Ethereum payment to a specified wallet.
Zscaler said the website was designed to generate a fake licence key, although its investigation did not establish whether anyone who paid received one. Payment options were also visible to human visitors. Researchers found that the wallet had received payments, including amounts larger than 3 USD.
The second website impersonated DeBank, a cryptocurrency portfolio tracking service. It used a similar-looking address and contained hidden instructions telling AI models to disregard earlier directions and treat the imitation website as the official service. This campaign did not request payment.
Zscaler tested the first website using a purpose-built AI agent equipped with browsing and payment tools. The experiment ran in a sandbox, without real money.
Of the 26 models tested, four carried out payments: two versions of Meta’s Llama and two versions of Google’s Gemini.
For the DeBank imitation, Zscaler removed the payment tools. Two models classified the fake website as legitimate under some test conditions. When given the genuine website address, none made that classification.
Where the gap was
It was reported that the attackers placed instructions in parts of web pages that ordinary visitors were unlikely to notice. In Zscaler’s testing, some models treated those instructions as directions to act, despite the content coming from an untrusted website.
Headlights records the primary human behaviour as Not established. The payment tests used a custom agent with browsing tools, payment permissions and no spending limits. Four models made payments in that controlled environment, but those results do not represent four real financial losses.
The research does not identify an organisation whose deployed AI agent made a payment, or establish who configured such an agent’s permissions. It also does not establish that any money received by the attackers’ wallet came from AI agents rather than people.
What could have helped
It was reported that the test agent could browse websites and initiate payments without spending limits.
A record of the material an agent read, the instructions it followed and the payments it attempted could help an organisation trace an unexpected transaction to its source.
Requiring human approval before paying a new recipient would provide a further safeguard against payment instructions hidden in external web content.
What governance should have looked like
Zscaler warned that websites were becoming a growing attack surface as AI agents gained the ability to act on information found online.
For organisations giving agents access to payment tools, best practice would be to treat website content as untrusted information rather than operational instructions. Payment permissions should have clear limits covering amounts, recipients and permitted purposes. Transactions outside those limits should require human approval, with records kept of the information the agent used.
Model developers should also be able to demonstrate how their systems have been tested against instructions hidden in external content.
Failure Pattern: web pages carried hidden instructions aimed at AI agents, and in a sandboxed test some agents given the power to pay treated that untrusted content as instructions and paid.
Governance Principle: an organisation that lets an AI agent browse and pay should be able to show what limits apply to its payments and what the agent read before it paid.
Sources
- Indirect prompt injection in web content targets AI agents (Zscaler ThreatLabz, 2 July 2026)
- Hidden web prompts trick AI agents into sending money (Security Affairs, 6 July 2026)
- Indirect prompt injection in web content targets AI agents (Infosecurity Magazine, July 2026)
- AI agents manipulated by hidden web prompts to make fraudulent payments (OECD AI Incidents Monitor)
