Adapte Dijital
Kurumsal
Müşteri Girişi
Dijital Yönetim
AI SEO
Marka Yönetimi
Danışmanlıklar
Web & App & AI
Ads & Reklam
Kitle Yönetimi
Veri Yönetimi
Amaç & Hedef
Videolar Referanslar Dijitale Yatırım Yap
Blog
AI Security

What Is Prompt Injection? The Message That Steers Your Bot for You

AuthorTeknoloji Masası Published30 November 2026 Reading Time7–11 dk
What Is Prompt Injection? The Message That Steers Your Bot for You
💡 Kısaca: Prompt injection is what happens when text reaching an AI bot changes its behaviour in a way its owner did not intend.

Prompt injection is what happens when text reaching an AI bot changes its behaviour in a way its owner did not intend. The bot reads its rules and the message in the same language. The weakness starts there. 🤖

This article explains the concept, its two types, why it cannot be fully prevented and the defences that narrow the harm. This article covers the defender’s side only; it does not describe how to carry out an attack.

In short: Making a bot impossible to trick may not be achievable. What is achievable is narrowing what it can do when tricked. The whole file is in the guide to protecting an AI endpoint.
WHAT

What exactly is prompt injection?

In classic software, commands and data live in separate places. In a language model both are text, and both go into the same box.

The two types of prompt injection
More sources, a wider door.

OWASP’s definition

OWASP defines the risk in the first item of its 2025 list for large language model applications: a prompt injection vulnerability occurs when user prompts alter the model’s behaviour or output in unintended ways. The input may be deliberate or accidental. The list puts this risk first. It is the field’s central problem, not an edge case. 📋

In classic software, commands and data live in separate places.

How it differs from jailbreaking

Two terms are often mixed. According to OWASP, jailbreaking is a form of prompt injection in which the input causes the model to disregard its safety protocols entirely. Prompt injection is wider: it covers changing what the bot does and says within its job. For a business the second is the real risk: the bot making a wrong promise in your name or showing information it should not show. 🎯

WHICH

Which types are there?

OWASP distinguishes two. Their defences differ.

Direct injection

In the direct type, the person typing into the box tries to steer the bot. In OWASP’s example scenario, text is written to a customer support chatbot instructing it to ignore its previous guidelines. This is the best-known type and can be tested before launch. The aim is usually a promise, a discount or the bot’s hidden instructions. 💬

Indirect injection

In the indirect type the steering text does not come from the user; it comes from a source the bot reads: a web page, a document, an email. According to OWASP, this occurs when the model accepts input from external sources. The user is innocent and may not even be aware. The more sources a bot reads, the wider this door becomes. It is the type that grows as bots are connected to more systems.

WHY

Why can it not be fully prevented?

BU BÖLÜMÜN ÖZETİ

  • OWASP’s plain note
  • An instruction is not enough
  • The right question

There is no definitive patch for this problem. Knowing that lets you put the defence in the right place.

The right question about prompt injection
A missing permission cannot be abused.

OWASP’s plain note

OWASP writes that, given the stochastic nature of how models work, it is unclear whether fool-proof methods of prevention for prompt injection exist. The measures it suggests reduce the impact; they do not remove the risk. The field’s own reference says this. A vendor who claims a bot cannot be tricked deserves caution. ⚠️

An instruction is not enough

The first defence that comes to mind is writing never break these rules into the bot’s instructions. It helps, and it is not enough, because that sentence is also a text and competes with other text. OWASP adds that techniques such as retrieval-augmented generation and fine-tuning do not fully mitigate the vulnerability either. A defence cannot be built from words alone.

The right question

So the question is not whether your bot can be tricked; assume it can. The right question is what it can do if it is. A bot that can only talk says something wrong. A bot that can cancel orders, send emails or write to a database does real harm. The risk is as large as the bot’s permissions. 🔐

WHICH

Which defences narrow the harm?

BU BÖLÜMÜN ÖZETİ

  • Least privilege
  • Human approval
  • Separating external content and checking output

OWASP’s suggested measures fall under four headings. None is enough alone; they work together.

Least privilege

Give the bot only the access its job needs. A bot that reports order status should have no permission to change an order. Let it read what it must read and touch nothing else. OWASP recommends this as the principle of least privilege. A permission that does not exist cannot be abused. This single measure sets the damage of the worst day. ✂️

OWASP’s suggested measures fall under four headings.

Human approval

Ask for a person’s approval before high-impact actions: a refund, deleting a record, a bulk message to customers. The bot proposes; a person approves. OWASP also lists human approval for high-risk actions. Approval catches the bot’s own mistake and its being tricked at the same point. The wider treatment is in the AI audit guide.

Separating external content and checking output

External content the bot reads should be clearly separated from instructions and marked as untrusted data. The bot’s output is checked too: is it in the expected form, does it contain something not allowed? Even simple checks help. A filter at the entrance and one at the exit beat a single filter. OWASP also recommends regular penetration testing, treating the model as an untrusted user; a practical version is in how to test a chatbot before launch. 🧪

WHAT

What does it mean for the business?

BU BÖLÜMÜN ÖZETİ

  • The bot’s word may bind you
  • Hidden instructions do not stay hidden
  • Lock list: prompt injection

The topic looks technical, but the decisions belong to the owner: what will the bot be allowed to do, and who approves what?

Defences against prompt injection
None is enough alone.

The bot’s word may bind you

What the bot tells a customer may be seen as what the business said. Wrong information or a promise given by a tricked bot can become a reputation problem and a dispute. That is why the topics a bot may speak on are kept narrow and it is prevented from making firm statements on price, refunds or law. This article is not legal advice. ⚖️

The topic looks technical, but the decisions belong to the owner: what will the bot be allowed to do, and who approves what?

Hidden instructions do not stay hidden

The rules you wrote for your bot may one day get out. OWASP’s 2025 list added system prompt leakage as an item of its own. The consequence is simple: do not put a password, a key or a sentence you would be embarrassed by into the instructions. Write the instruction as if it will be published one day.

Lock list: prompt injection

This article’s lock list has four lines, in order. One: list everything the bot can read and do, and remove what is unnecessary. Two: put human approval on actions involving money, deletion and bulk messages. Three: take passwords and keys out of the system instruction. Four: test the bot with provoking questions before launch and at regular intervals. Where the key itself should live is explained in how to store an AI API key. Forecast: providers will make structures that separate external content from instructions the default; the risk will fall and will not reach zero. Update log. 30 November 2026: first publication. Forecasts on this page are re-read when they fall due; one that proves wrong is corrected here, not deleted.

HOW

How does Adapte Digital review a bot’s permissions?

BU BÖLÜMÜN ÖZETİ

  • A single delivery package
  • What is reviewed
  • Where to start

In the Attack File, two lists are drawn up for each bot: what it can read and what it can do.

A single delivery package

Adapte Digital does not charge a monthly management fee. Work starts with a single delivery package whose scope is written down in advance: 36,000 TRY + VAT. If the work grows, the new need is defined as a separate add-on package, priced by what will be delivered rather than by the hours spent. 📦

In the Attack File, two lists are drawn up for each bot: what it can read and what it can do.

What is reviewed

The data sources the bot reaches, the tools it can call and the approval points are written down one by one; every permission wider than needed is marked.

Where to start

Our current packages and capacity are listed on our campaign pages; scope and price are written there before any work starts. 🧭

QUICK

Quick Summary

  • Prompt injection is text that changes a bot’s behaviour in ways its owner did not intend.
  • OWASP puts the risk first on its 2025 list.
  • It has two types: direct and indirect.
  • It is unclear whether a fool-proof prevention exists; the impact is narrowed.
  • Least privilege and human approval set the damage of the worst day.
SHORT

Short Glossary

Prompt injection
Prompt injection is input that alters a language model’s behaviour in a way its owner did not intend.
System instruction
A system instruction is the text an owner writes to define how a bot behaves, which the user does not see.
Least privilege
Least privilege is the security principle of giving a system only the access it needs to do its job.
FREQUENTLY

Frequently Asked Questions

NEXT

Next Step

Write down everything your bot can do: the sources it reads and the actions it can take. Every line where you think this is not needed is a door to close.

Sources: OWASP Gen AI Security Project — LLM01:2025 Prompt Injection · OWASP Gen AI Security Project — LLM06:2025 Excessive Agency · OWASP — Updated 2025 Top 10 Risks for LLMs

Updated: November 2026

Adapte Digital · AINEO-assisted desk · Reviewing editor: Mehmet Şenol

Write down everything your bot can do: the sources it reads and the actions it can take.

Sık Sorulan Sorular

Why does it happen?

The bot’s rules are a text: speak only about our products, do not give discounts. The customer’s message is also a text. The model reads both together and cannot always tell which is instruction and which is data. If a sentence presents itself as an instruction, the model may follow it. The problem is how the technology works, not a bug waiting for a patch.

Which one concerns you?

A simple support bot that answers only from information you wrote is mainly exposed to the direct type. A bot that searches the web, reads email or processes a document uploaded by a customer is exposed to the indirect type as well. Every external source a bot reads is untrusted input. Listing which sources it reads is the first step, and the question behind how agent permissions change the attack surface. 🗂️

Is it enough to write do not break the rules to my bot?

No. That sentence is also text and competes with other text. Narrow the permissions and add approval.

Is there a risk for a simple support bot too?

Yes, a limited one. For a bot that can only talk, the risk is a wrong sentence; it grows with permissions.

Will this problem be solved completely one day?

Unclear. OWASP writes that it is not known whether a fool-proof method exists. What can be done today is to narrow the impact.

Bu Konuyla İlgili Diğer İçerikler

Share this article
WhatsAppXLinkedInFacebook

Comments

TREN