Glossary

Prompt injection — Glossary

An attack where untrusted text manipulates an LLM into ignoring developer instructions or misusing tools.

Reviewed:

Full definition

Prompt injection exploits the fact that instructions and data share the same natural-language channel. Malicious content in a user message or a retrieved document can try to override system rules—“ignore previous instructions…”—or trigger privileged tools.

Defenses are architectural: least-privilege tools, server-side authorization, human approvals for side effects, and treating retrieved content as untrusted. A single system-prompt warning is not enough.

See the encyclopedia topic Prompt Injection.

Related encyclopedia topic

Prompt Injection — Prompt injection is an attack where untrusted content manipulates an AI system into ignoring developer instructions or misusing tools.

← Back to glossary · Learning hub