AI Assurance ยท 3 min read
Prompt injection: why businesses cannot trust every instruction an AI system receives
AI applications may encounter instructions from documents, websites and external systems. Businesses need safeguards that distinguish useful information from untrusted content.
An assistant summarizes documents and can access internal applications. A document contains instructions intended to redirect the assistant rather than information relevant to the summary. The consequences depend on what the application can access and do, not just on the model's response.
What is prompt injection?
Prompt injection attempts to influence an AI application's behaviour through inputs that conflict with its intended instructions. A direct attempt appears in a user's input. An indirect attempt appears in material the application encounters, such as a webpage, document, email or retrieved record. The person using the assistant may not control that material.
OWASP LLM01:2025 describes this risk and distinguishes direct and indirect forms. NIST's 2025 adversarial machine learning taxonomy offers broader terminology. Neither provides a guaranteed universal defence.
Why capability changes the risk
An assistant summarizing public text has a different exposure from an agent that can retrieve customer information, send messages or change records. A manipulated output might mislead a reader; a manipulated action could disclose information or change a system. Start with an inventory of tools, permissions, data and possible consequences. The AI agent governance guide discusses authority and action boundaries.
Six layers of control
- Treat external content as untrusted. Identify content sources and separate retrieved material from authorized instructions in application design. Labelling helps but does not guarantee the model will interpret every boundary correctly.
- Limit permissions. Grant only the data access and actions necessary for the approved task. Restrict service accounts, external destinations and the scope of connected tools.
- Enforce authorization outside the model. Application and infrastructure controls should decide whether a user or process may access a record or perform an action. Natural-language instructions alone are not an access-control mechanism.
- Require appropriate approval. Sensitive or irreversible actions may need a person with context and authority to reject them. Test the workflow under realistic conditions; see human oversight.
- Evaluate realistic scenarios. Authorized teams can test whether boundaries hold when the system encounters unexpected or manipulated content. Use controlled environments and avoid unnecessary customer data.
- Prepare response procedures. Establish who reviews unexpected actions, preserves evidence, restricts access and coordinates recovery. Link the process to AI incident management.
Review the whole application
A retrieval assistant may be permitted to read a knowledge base but should still respect the requesting user's access. A model's instruction to avoid disclosure cannot replace permission-aware retrieval. The RAG privacy guide covers indexing, retrieval and retention boundaries.
Before deployment, document sources of external content, connected tools, approval points, independently enforced permissions and the person able to suspend access. Ask vendors how they handle these issues, while recognizing that provider assurances alone do not establish the security of your configuration. The vendor due diligence checklist supports that discussion.
Policy, architecture and evaluation need to work together. Even layered controls reduce risk rather than prove that every manipulation will be detected. Reassess when access, model providers or autonomous capabilities change, and use authorized red teaming as one input to a broader evaluation.
Develop accountable AI application and agent practices with Regnitive AI Governance.
This article is provided for general informational purposes and does not constitute legal advice.