An assistant reading email, documents or search results encounters content the application does not control. Some material may attempt to redirect model behaviour. OWASP describes prompt injection as input-induced behavioural change. The architectural question is what can happen when a model treats inappropriate content as an instruction.
Start the trust map with sources
Separate an authorised user's request, application policy, source documents and tool results. A customer email does not acquire system permissions by entering a conversation. A document inside a company repository may also contain externally supplied material or an unapproved instruction.
We recommend mapping where uncontrolled content meets decisions about tools, recipients and data scope. Include OCR, attachments and API responses. Source labels and separators help organise context, but should not be the sole authorisation boundary.
Enforce policy outside the model
A model can propose an action while the execution layer checks identity, resource, allowed fields and process state. Operation parameters must not grant authority by themselves. A service account with access across customers should not execute every assistant suggestion using that full scope.
In an illustrative scenario, a supplier attachment suggests changing settlement details. The assistant can flag the request, but the document does not establish permission to amend master data. That needs an independent procedure, appropriate authority and source verification. Protection comes from the process contract rather than the model reliably identifying manipulation.
Limit the consequences of misinterpretation
Separate read, prepare and execute tools. Limit data to task needs. State changes should pass checks outside generation, while consequential commitments may need additional approval. Do not place credentials or unnecessary sensitive information in context where they could enter an answer.
Human approval should cover the actual operation and arguments. A screen displaying only a summary produced by the same model may hide a changed recipient or wider scope. Show consequential fields from controlled application structures rather than trusting generated prose to describe them accurately.
Controls at process boundaries
| Boundary | Proposed mechanism |
|---|---|
| Source into context | Explicit provenance and limited data scope |
| Model into tool | Strict schema and server-side authorisation |
| Retrieval into response | Recipient and disclosure checks |
| Proposal into write | Version validation and effect approval |
| Failure into retry | Attempt budgets without permission expansion |
Test paths, not only text examples
Include controlled materials attempting to change the objective, data scope or approval sequence. Use synthetic data and an environment without real consequences. Test direct instructions and content that resembles ordinary procedural material. The target is resilience of a specific business path, not only an input classifier score.
For each attempt, record whether the model changed its proposal, requested an unauthorised tool and whether execution controls prevented the consequence. A correctly blocked tool call should not disappear inside an overall correct-answer score. It demonstrates an operating control while signalling risk if permissions expand later.
Test information disclosure independently of write access. An assistant unable to change records can still produce an inappropriate answer if too much data reaches context. Narrow tools and retrieval permissions therefore remain important even in a nominally read-only deployment.
Accept risk for a specific use
Not every capability needs the same autonomy. Searching a restricted knowledge collection and executing external actions have different consequence profiles. The process owner should understand remaining limitations and the ability to disable a tool without shutting down the entire service.
Repeat relevant tests when adding a source or tool. Integration changes can create new consequence paths without changing the model or prompt. Protection is an ongoing contract between sources, decisions and execution, not a one-time filter configuration.
Telemetry should not create another disclosure path
Investigating manipulation attempts can lead teams to record complete documents and every tool argument. Instead, define the minimum evidence needed to establish source, decision and prevented consequence. Limit access to diagnostic material and agree its retention period. Calling a log technical does not make its contents less sensitive.
Also inspect responses returned after a block. They should not reveal additional resources or credential details. Operators may need more context than an ordinary user. Separate those channels so investigation does not expand the information exposed through the conversation.
Implement controlled AI with Geekforce
We can assess data and action boundaries, design narrow tools and test manipulation scenarios. Together, we can improve your business with AI while limiting the consequences of mistaken interpretation.


