Knowledge Impact LabFrom knowledge to impact

Knowledge Security, Governance and Ethics

Prompt Injection

حقن الأوامر في النماذج اللغوية

Translation under review This English text was translated from the Arabic original and is awaiting editorial review.

Definition

An attack in which instructions are planted in the input of a system built on a language model, either directly in the prompt or indirectly inside content the system reads, such as a web page, document or message, to make it bypass its safeguards, reveal information or take actions the user did not intend. The NIST generative AI profile lists it among the information security risks of such systems.

Written by the Lab team from the foundational references listed below; it is not a verbatim quotation.

Practical example

A document uploaded to an assistant contains a hidden line asking it to send the conversation to an outside address.

Related terms

Where it appears in the Lab

Foundational references

  1. National Institute of Standards and Technology. (2024). Artificial intelligence risk management framework: Generative artificial intelligence profile (NIST AI 600-1). doi:10.6028/NIST.AI.600-1 Verified via Crossref, 2026-11-25

Full glossary

Your knowledge makes an impact

Share your suggestions and feedback.

For an academic correction, please name the source that supports it if you have one.

Your message goes straight to the Lab team. It is not stored on the site or published.