← Back to glossaryGlossary

Prompt Injection

Reviewed 19 July 2026Canonical definitionPart of: Agent Identity & Access Terms →

An attack where malicious instructions are embedded in data that an AI agent processes, causing it to deviate from its intended behavior. This can lead to unauthorized data access, tool misuse, or policy bypasses.

§01 / QUESTIONSterm: Prompt Injection
Questions

Common questions.

What is Prompt Injection?

An attack where malicious instructions are embedded in data that an AI agent processes, causing it to deviate from its intended behavior.

How is Prompt Injection used in production?

This can lead to unauthorized data access, tool misuse, or policy bypasses.

Which terms are related to Prompt Injection?

Closely related concepts include Agent Hijacking, Trust Chain, Adversarial Attack, Agent Retirement. Each is defined in the Prefactor glossary.

§02 / RELATEDnext: where this fits

See how every agent performs, and make it better

Prefactor helps teams observe, evaluate, and improve their AI agents in production, across every framework and provider.