What is prompt injection?
Prompt injection is an attack in which manipulated inputs lure an AI system into unwanted behaviour. Hidden instructions in text, documents or web pages override the assistant's actual task. The goal can be to bypass rules, expose data or trigger wrong actions. The term describes a security risk, not a technical detail of individual models.
Why does the term prompt injection matter?
In training, prompt injection sharpens the awareness that inputs are not automatically trustworthy. As soon as an assistant processes external texts, documents or web content, it can be deceived. Those who know the risk plan limits, checks and human control. For compliance and digitalisation leads it is a central topic before an assistant works with sensitive data or real actions.
When It Is Relevant
- An assistant processes texts, documents or web content from external sources.
- A system can trigger actions or access sensitive data.
- Users might try to bypass the assistant's rules.
- A use concerns confidential topics or real decisions.
When Not
In a closed test with only your own, checked inputs, the risk is low. For an assistant without access to sensitive data or actions, the damage stays limited. As soon as a system processes external content or acts, however, prompt injection belongs in the risk assessment.
Industries That Use It
- Banking: securing assistants that process external documents against hidden instructions.
- E-commerce: checking customer inputs and product data before a system acts on them.
- Public bodies: protecting information assistants from manipulation via injected instructions.
- Software firms: hardening assistants that evaluate web content against manipulated pages.
Typical Use Cases
- Recognising risks before an assistant processes external documents or web content.
- Building limits and checks so hidden instructions do not take hold.
- Binding sensitive actions to a human approval.
- Recreating and interpreting attacks on harmless examples in a course.
- Monitoring and reporting conspicuous behaviour after launch.
Decision Guide
| Signal | Prompt injection is a topic | Alternative |
|---|---|---|
| External content is processed | plan protection and checks | closed test with your own data |
| System acts or accesses data | approvals and limits | assistant without actions |
| Confidential topics affected | assess and limit the risk | purely internal prototype |
| Only checked inputs | low risk | simple control |
Example
A software firm builds an assistant that summarises web pages. In a workshop the team recreates, on harmless test pages, how hidden instructions steer the assistant off its task. It then sets limits and binds sensitive actions to a human approval. This describes the test method, not an asserted client metric.
Service Connection
An AI workshop works out risks and protection, and EU AI Act training deepens the legal and organisational requirements.
Sources
This framing describes common practice when building AI capability and using systems securely. Technical and legal details depend on the concrete case and the chosen systems and need current primary sources.