Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support & Infrastructure Let’s talk

AI Security / 2026 Essentials

Prompt Injection: Treat Retrieved Text as Untrusted Input

Documents and web pages can contain instructions that try to redirect an AI system.

Compiled for Sorlavit Kim · Published · 1 min read

Prompt injection happens when attacker-controlled input changes an AI application’s behaviour. The input may arrive through a direct message or indirectly through retrieved documents and tool results. OWASP notes that RAG and fine-tuning do not eliminate the problem, so application controls must limit the consequences.

What matters

  • Separate trusted instructions from external content, while recognising that separation alone is not a complete defence.
  • Keep tool permissions narrow and validate consequential actions outside the model.
  • Test adversarial documents as well as ordinary user questions.

Practical example: A document-reading assistant encounters text telling it to email confidential files. The application must not grant that instruction authority.

One action today: Review what your assistant could access or change after reading a malicious document.

Source & further reading

OWASP — LLM01:2025 Prompt Injection

Independently written summary reviewed on 31 October 2026. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles