An AI agent connected to the IT system is limited by refusing to write critical data without a human confirmation, and by treating every customer document as data, never as an order. Indirect prompt injection is an instruction slipped into a PDF or an email the agent reads. Prompt logs are a processing of customer data: bound them, do not leave them in clear text for thirty days on a shared tool.
What happens when the agent reads a supplier document?
A desktop agent that sorts files on a laptop does not have the same rights as one tied to the ERP, the mailbox and the supplier master. The second one sees documents. An invoice or a contract can contain, in hidden or tiny text, a line telling it to ignore the rules, replace the bank account and send a confirmation. An agent that does not separate the document from the system instruction executes: it chains the read and the action.
We do not describe how to build that document. The control is simple to write: no connected tool updates a bank account or sends an email unless a person approves the action on screen, with the old value and the new value visible. Read-only is the first connection. Writing comes after, on a short list of actions.
Which customer data leaves the IT system at that moment?
As soon as a document’s content goes into a prompt, it leaves the ERP. It is processed by the model provider, under the contract: place, duration, whether it is used for training. A “no training” clause does not anonymise the data. A name, a contract number, an amount are still personal-data processing, with a processor. Name it in the register, with a retention. Do not send the whole customer file to answer a question about one invoice line.
- Cut the document: the agent receives the fields it needs, not the full PDF “just in case”.
- Block documents marked sensitive (health, identity papers, full bank details) until the model contract covers that level.
- Pasting the same text into a consumer chatbot is the same document leaving, with no log and no contract.
What must the log contain, and who can read it?
Without a log, you cannot say which action was proposed or who approved it. With a full prompt log, you have rebuilt the customer file in another tool, often readable by the whole technical team. The useful log is short: agent id, document id, action proposed, action executed, person who approved, timestamp, result. Not the full text of the document. Retention follows the dispute need — often 90 days — then you delete. Access to the log matches access to the documents, not “every admin on the cluster”.
Which connection do you refuse in the pilot?
In the pilot, three actions stay disconnected: paying or changing a bank account, messaging a customer without approval, and gluing the company instruction to the document text. If those two are one block, the document wins. Measure one flow: documents classified correctly, actions the human refused, discrepancies found. Zero discrepancies after a month means nobody is rereading.
What should you keep, in short?
Definition. An AI agent connected to the IT system is a program that reads company data and can trigger actions in the tools. Indirect prompt injection is a hostile instruction carried by that data.
Figure. The log is limited to the action, the document id and the person who approves, with a retention of about 90 days. The full text of the document does not go in.
Decision. Connect read-only first. Any write to a bank account, a payment or a customer email waits for a human approval, or it is not connected.
Where does this pilot sit?
- Connect a measured use to the tools you already have: the Optimise and automate offer.
- The limits of a desktop agent, with no IT system behind it, are in the article on Claude Cowork. Here the subject is the connection and the trace.
Frequently asked questions
Yes. Reading a document and sending it to the model is already a departure. Read-only stops the dangerous action in the ERP; it does not stop processing at the model provider. The contract and the field cut still matter.
Not in production. A sample on fictitious documents is enough for tuning. In production, the action log is enough to explain what was done.
The person who would be allowed to do it without an agent: an accountant for a bank account, not the administrator of the AI tool. Otherwise approval is a technical formality.
An agent is already connected to your mail or your ERP?
We list with you the actions it can trigger and what the logs keep. Book a conversation.
Discuss your projectSolutions by industry
