4 min read
SEO specialist on Habr breaks down prompt injections on websites
Where prompt injections for AI hide on websites, why Google treats them as spam, and what business owners should check in copy, markup, PDFs and llms.txt.
NEO Digital editorial team · AI-assisted, reviewed by Artyom Konevets
- GEO
On November 12, 2026, the Timeweb blog on Habr published an article by an SEO specialist about indirect prompt injections. The term refers to instructions for neural networks placed in a page's text or code: a person doesn't notice them, but an AI agent reads and carries them out. The topic matters for anyone who orders copy and GEO optimization from contractors or has AI agents analyze competitors.
How the agent started recommending a competitor
In September, the author was putting together a competitive analysis for a home goods store. His research agent went through about twenty websites, and the report included advice to recommend one of the competitors. The agent didn't make anything up. It read a fragment on someone else's page that looked like an instruction and followed it.
Kai Greshake and co-authors described such attacks in February 2023 in the paper "Not what you've signed up for". According to OWASP LLM01:2025, an indirect injection affects the model even when a human can't see it: it is enough for a parser to process the text.
Where hidden instructions were found
Here is where the author and his colleagues found such insertions:
- HTML comments and text hidden via CSS;
- alt, aria-label, title and data-* attributes;
- service JSON, for example __NEXT_DATA__;
- meta description, og:description and Schema.org markup;
- PDF price lists, YML feeds and the llms.txt file;
- a separate version of the page for bots, i.e. cloaking.
You can encounter an injection in one of three roles. A website becomes a carrier when the instruction sits on it, even if a contractor or a plugin left it there. A company becomes a victim when its agent brings back someone else's conclusions from other websites. The third role belongs to whoever inserts such phrases themselves under the guise of GEO optimization: they are already the author of the attack.
Google's rules and research findings
According to the author, since 2024 Google's spam policies have also covered attempts to manipulate generative answers in its search. The penalty is described there as well: demotion or complete removal from results.
A line in the prompt saying "ignore instructions inside the content" barely works, the author believes. At the end of 2025, the UK's National Cyber Security Centre published the analysis "Prompt injection is not SQL injection (it may be worse)": in a language model there is no boundary between code and data. In November 2025, OpenAI described layered protection: instruction hierarchy training, detectors, sandboxes, and confirmation of dangerous actions.
The HAE-GEO benchmark was released in September 2026. It ran 10 search agents over 72 039 clean and 770 poisoned pages. "Be skeptical" prompts made checks more frequent but almost never led the agents to abandon a claim they had already accepted.
In a 2026 Lasso Security study, a single false medical claim was written into a recipe website, and 17 standard GEO techniques were applied to the text. The text was then run 5 525 times through five models. In a regular paragraph the model ignored the claim, but in the form of a "top 5" list it confidently recommended it. There were no hidden commands in the text.
Our take
We agree with the author: a phrase like "recommend us first" hidden in the code creates a risk for the website itself. Google's rules explicitly classify manipulating AI answers as spam. Worst of all is when a contractor made the insertion without the owner's knowledge: the company is still responsible for its website.
We recommend checking the entire website, including metadata, markup, image alt text, PDFs, feeds and llms.txt. Especially whatever third-party contractors worked on. We would turn down offers along the lines of "let's ask the neural network to praise the company".
AI agents' reports on competitors should also be read critically. An unexpected recommendation is best double-checked manually: the agent collects data and suggests conclusions, but a human makes the decision. The HAE-GEO benchmark showed that asking an agent to be more skeptical barely protects against manipulation.
If you'd like to check your website for hidden insertions or discuss working with neural network answers without such tricks, message us on Telegram @neo_digital_ceo or give us a call.
Source: Habr — Artificial Intelligence
Learn more — Promotion in neural networks