---
language: en
title: "Prompt injection"
description: "Prompt injection attempts to change a model’s behavior through inputs treated as instructions. Access limits and output checks reduce the impact."
canonical: "https://tropk.ai/en/resources/glossary/prompt-injection"
last_modified: "2026-10-12T16:09:37.134Z"
---

# Prompt injection

Reviewed on 2026-10-07.

## What it means

[Prompt](/en/resources/glossary/prompt) injection is the unwanted alteration of a model’s behavior by inputs that interfere with the instructions or limits set by the application. It can arrive directly through user input or indirectly through external material. The attempt does not need to be hidden or contain text: the risk depends on what the system processes and what it is able to do.

## Why it matters for marketing

In marketing, the issue arises when an assistant reads content, documents, or messages and is allowed to produce responses or perform tasks. Promotional material should not gain authority to change the application’s purpose. An instruction embedded in content may try to distort comparisons or actions; evaluating sources and permissions is part of the operation, without assuming every error is an attack.

## Example in practice

Imagine a team using an assistant to summarize event proposals. One document contains directions to change the evaluation and treat its vendor as approved, even though the task is only to compare terms. The team identifies the external instruction and stops the automated decision. It checks the proposal details and leaves approval to the responsible person, without following the document’s directions.

## How to apply or verify

Separate external content from application instructions and limit access to what the task requires. Validate formats and actions in code, checking relevant data before operations with impact. Test limits in an authorized environment and record attempts and observed results. OWASP recommends layers of mitigation; a sentence in the prompt or the use of [RAG](/en/resources/glossary/rag) does not guarantee complete protection.

## Important distinctions

Prompt injection is distinct from a simple factual error or an authorized, legitimate request. Direct or indirect origin describes the input path, not the size of the impact. Retrieving a document does not imply trusting its instructions. The effect depends on interpretation, permissions, and controls: finding an attempt does not show that it was carried out or that any data was changed.

## Sources and references

- [LLM01:2025 Prompt Injection](<https://genai.owasp.org/llmrisk/llm01-prompt-injection/>) — OWASP GenAI Security Project

## Continue a leitura

- [AI agent](</en/resources/glossary/ai-agent>)
- [Retrieval poisoning](</en/resources/glossary/retrieval-poisoning>)
- [Indirect prompt injection](</en/resources/glossary/indirect-prompt-injection>)

## About the author

[Vinicius Pacheco](</en/team/vinicius-pacheco>)

Responsible for Tropk’s technical content, focusing on crawling, indexing, structured data, and agent access to content.

---

[All pages in Markdown](<https://tropk.ai/sitemap.md>)
