Prompt injection is an attack where crafted input causes a large language model (LLM) or AI agent to ignore its intended instructions and follow the attacker’s goals — for example leaking data, producing harmful content, or misusing connected tools.

It is a core AI security concern for chatbots, RAG systems, and copilots. See the full HKISG guide: Prompt Injection (wiki).