TAI BUI
← Glossary
Glossary

What is Prompt Injection?

An attack where malicious text in the input overrides the system prompt or instructions. Direct injection: user types "Ignore previous instructions." Indirect injection: a retrieved document contains hidden instructions. The LLM equivalent of SQL injection. No complete solution exists -- defense is layers of input validation, output filtering, and privilege separation.

What people say

Hacking the AI with words

Why it's called that