Start by defining what an AI assistant is never allowed to do
A utility might introduce an AI assistant to help operators search maintenance procedures, summarise inspection notes or prepare incident briefings. Those are plausible uses if the system is constrained to information retrieval. The risk changes dramatically if the assistant can invoke tools that modify a controller, change a work order, disable an alarm or issue a command to an operational-technology network. An instruction embedded in a retrieved document could then be mistaken for an authorised operational request. The safe starting point is to separate reading and recommending from making changes to the physical system.
An engineering and safety authority should establish that boundary before a proof of concept. List each information source, what the assistant may retrieve, which users can query it and how the data is classified. For every available tool, identify whether it reads information, stores a draft or changes an operational state. A function called ‘getStatus’ may still perform a write if its implementation creates a ticket or toggles an acknowledgement; names are not evidence of permission. Review actual API methods, backing credentials, network routes and downstream effects rather than trusting a tool description supplied to the model.
A maintenance document can become an instruction channel
Prompt injection is relevant when an AI application processes content that a user or attacker can influence. A service bulletin, vendor webpage, PDF attachment or issue-tracker comment may contain text that tells the assistant to ignore its normal instructions and take an unauthorised action. The dangerous step is not simply that the model reads the words. It is that the application then treats those lower-trust words as authority to call a privileged tool or disclose information outside the user’s approved task.
Build a representative scenario around a pump-station maintenance note. The legitimate operator asks the assistant to summarise the last inspection and identify outstanding actions. The note contains an artificial line instructing the assistant to ‘confirm maintenance’ by executing a configuration change. The acceptable result is a summary that treats this line as untrusted document content, or flags it for review; there must be no actuator command or privileged tool request. This can be tested using a synthetic note in a sandbox, without connecting the assistant to live control equipment.
Put authorisation outside the model’s generated text
Prompts and safety policies can help the assistant recognise suspicious instructions, but they are not the enforcement point for operational permissions. A separate service should restrict each available tool according to the requesting user, the approved task and the specific resource. If the deployment is read-only, its identity should not possess write privileges in the historian, alarm platform, asset register or work-order system. Where a write operation is genuinely necessary for another workflow, that capability should belong to a separate approved pathway with explicit human authority.
Technical administrators should test the tool boundary at the receiving API. A model may propose a configuration update and return an apparently convincing justification; the API still must reject it when invoked through the reader role. Remove generic administrative credentials from the agent runtime and avoid storing shared OT secrets in prompt context or retrieval content. Distinct identities for the agent and its supporting components make the action trail clearer and reduce the chance that one compromised integration inherits every system privilege.
Control retrieval from historians, diagrams and service tickets
The assistant’s usefulness depends on accurate access to technical information, yet utility records may include detailed plant diagrams, sensitive service locations, authentication instructions and information restricted to specialist teams. Apply the normal data access rules at retrieval time. A staff member who can search ordinary maintenance notes should not gain access to a restricted network diagram merely because the AI interface presents one search box. A document marked confidential should not be treated as safe for external retrieval or logging simply because it contains natural-language text.
For testing, divide a synthetic knowledge base into ordinary operator instructions, engineering-only records and deliberately misleading supplier text. Give a reader-role account access to the first class, deny the second, and include the third only as untrusted input. Ask questions whose answers would require the restricted diagram and record whether the retrieval layer denies it. If a summarisation result quotes sensitive content, inspect the source object identifiers and permissions rather than assuming the model somehow knew the information independently. The test should include cached search results and previously generated summaries where the product retains them.
Choose tools that cannot cross into the control network
A read-only assistant may still become dangerous if its integration gateway can reach controller management addresses or arbitrary internet destinations. Map the hosting environment, identity provider, retrieval index, tool service, operational historian and any external model endpoint. Limit network access to the minimum approved data interfaces. Where operational data must leave a protected network for analysis, consider a mediated export that exposes approved readings without enabling return commands. The exact design must be reviewed against site architecture and engineering constraints; a diagram with a single ‘AI gateway’ box is not enough.
Inspect third-party connectors before installation. An agent framework may load an attractive plugin that supports browsing, code execution, device commands or email. Even if an operator never intends to use those features, they expand the scope of a possible failure. Maintain an approved tool registry with specific versions, credential owners and permitted actions. Treat dynamic tool discovery and new delegation chains as configuration changes needing assessment. An assistant should not grant itself a new connector because a document claims one is required to complete a summary.
Design a safe test series for indirect instructions
Testing should cover more than one obviously malicious phrase. Prepare several synthetic documents with different packaging: a maintenance note containing a hidden footer, an exported spreadsheet cell with procedural language, a vendor portal response with a false urgency claim, and a ticket attachment that imitates the tone of an internal supervisor. In each case the legitimate task remains simple—retrieve information or draft a summary—while the untrusted material requests a privileged step. Record whether the assistant notices the conflict, whether any tool call is attempted and what the downstream service would permit.
Run a positive case as well. A valid operator asking for the most recent approved pump-inspection date should receive a useful answer with source attribution. Blocking every external document may avoid one class of attack but make the system useless to the staff it is meant to assist. A defensible acceptance result therefore shows that relevant authorised data can still be retrieved, suspicious embedded commands do not change the task, and the tools reject any prohibited action even when the model proposes it. Repeat the tests after changing the model, retrieval component or connector configuration.
Human approval must be attached to the real action
Some utilities may later want an assistant to prepare work orders or recommend maintenance scheduling. A human approval checkpoint can support those use cases, but it must be meaningful. The reviewer should see the exact affected asset, requested operation, reason, source evidence and expected operational consequence. Approving a broad statement such as ‘perform safe maintenance’ is not enough if the system then chooses its own device or command. The final execution service should re-check the scope against the approved action and the current operating state.
The model should not decide which of its own actions require approval. Establish impact categories in application design: reading a synthetic procedure may be low consequence; opening a draft ticket has different effects; disabling telemetry, changing an interlock or operating equipment is high consequence. For high-risk actions, keep an engineering-controlled workflow outside the AI application unless a separate safety case and technical assurance justify change. Human review is a control only when the reviewer has enough context, authority and time to make a decision.
Investigate unusual tool use without interrupting operations
Monitoring should make an attempted boundary crossing visible. Capture the user request identifier, retrieved document references, tool name, tool parameters where safe, permission decision, model or application version and final outcome. Logs must be protected because prompts and retrieved content can contain sensitive plant or personnel information. An alarm should distinguish the model proposing an unsafe action from an API actually accepting one; the response priority and operational consequence are different.
If the assistant starts requesting unauthorised tools, the initial containment step may be to disable its connectors or isolate its service identity while leaving the historian and plant controls available. The incident lead should coordinate with operational supervisors before disconnecting shared gateways or data pipelines. Preserve evidence of the attempt, revoke exposed credentials if necessary and verify that the plant continues to operate through its ordinary control interfaces. Do not allow an AI incident-response playbook to make high-impact physical changes automatically as a side effect of detecting a suspicious prompt.
Treat version changes as permission changes
The permission review should be repeated when the assistant’s model, retrieval strategy or tool package changes, even if the user interface looks identical. A revised connector may add a write method, or a new orchestration component may delegate a task to another agent with a broader service identity. Store the tested configuration, approved tool versions and expected API outcomes as part of the deployment record. If the deployed configuration differs from the tested one, require a focused re-evaluation before extending the assistant to another site or critical function.
A readiness decision for the utility’s engineering board
An approval pack should state which sites and information classes are in scope, which exact read functions are exposed, who maintains the tool registry and what the negative tests established. Include unresolved issues: a connector whose service credential is too broad, a document store with weak classification, a model upgrade awaiting retest or a monitoring dependency that is not yet available. Assign each gap an accountable person and a date for closure or new decision. A feature list from a vendor is not evidence that an integration is unable to write into operational systems.
ASD’s May 2026 guidance on careful adoption of agentic AI services recommends a security-first approach, oversight and limited initial tasks in critical environments. The practical interpretation for a utility is to earn additional capability through testing rather than grant it by default. A useful read-only assistant can save operators time without becoming another path into the control network, provided the read-only claim is enforced by identities, APIs, architecture and independent evidence rather than by wording in a prompt.
Sources and further reading
- ASD and partners, Careful adoption of agentic AI services
- NIST, AI Risk Management Framework 1.0
- NIST, Cybersecurity Framework 2.0
Strengthen your security with Next Defence
Next Defence can assess a utility AI assistant’s retrieval permissions, external connectors and tool execution boundaries through controlled prompt-injection tests. The work should establish whether prohibited actions are denied by the receiving systems, and involve engineering owners before any extension toward operational functions.