AI assistants may help critical-infrastructure teams search documents, summarise incidents or prepare maintenance tickets. Risk increases when connectors can change work orders, access asset schematics or execute a command. A bounded, read-only pilot provides evidence before higher-consequence functions are enabled.
Identify the assistant’s engineering authority
Prompts and retrieved material are untrusted inputs. Tool APIs must enforce the user’s actual permissions independently of what the assistant says, and the organisation must know which data the provider processes or retains.
Constrain every proposed connector
- List connected systems, data classes and owners.
- Enforce authorisation on every connector call.
- Put maintenance and privilege changes behind human approval.
- Test adversarial text in a fabricated equipment note.
- Provide a single way to disable the AI connector without stopping the underlying operational system.
Demonstrate the denied work-order change
Use an invented asset record and include a malicious instruction requesting a work-order change. Verify the request cannot execute without independent approval and is captured in audit records. A fluent refusal from the model without an enforced tool boundary is insufficient.
Identify the assistant’s engineering authority — test safety
Use a fabricated maintenance library containing one current procedure and one obsolete revision, and appoint a process engineer to decide which is authoritative. Identify the assistant’s service identity, every data source it can query, and the target system that would execute any proposed work order. Before the test, remove production command paths and make the emergency disable procedure visible to the engineering owner. Include an instruction embedded in a retrieved document that attempts to redirect a report to an external address; no real maintenance secrets or live control interfaces should be involved.
Constrain every proposed connector — records
Record the retrieval citation, document version, connector call and API authorisation decision separately. A plausible answer from the language model does not prove that its connected tools were constrained. The test should allow a read of the approved manual, deny access to another operating region and reject a fabricated update request lacking authorised human approval. Capture the effective permissions on the connector role and verify the denied action at the downstream application. A transcript without API-side logs may miss a tool call that occurred despite the assistant’s final response.
Demonstrate the denied work-order change — sign-off
The plant owner should determine whether the pilot may remain read-only or whether an entirely new change-control design is required before write functions are considered. Reviewers must be able to revoke a connector without stopping the operational system, explain the disposition of prompts retained by the supplier, and identify the person authorised to resume service after an unexpected action. A model-generated statement of approval carries no authority. Mark a failed negative test as a release blocker, with the failure mode and retest owner recorded.
Inventory the AI assistant’s real connections
Create a register of the information stores and actions accessible to every proposed AI connector. Distinguish a document-search integration from one that can open work orders, modify maintenance tickets, send emails or query sensitive engineering drawings. List the connector owner, service identity, permitted systems, effective permissions, data classification, geographic and supplier boundaries, logging coverage and emergency disable method. Do not rely on a vendor statement that the assistant is read-only: inspect both the tool definition and the underlying API role. If the role can submit a command or update a record, treat the connection as a write-capable workflow even if the chat interface normally displays only summaries. Establish a named operational sponsor who can confirm that the proposed use serves a real maintenance or planning task. A connector without a clear owner should not progress beyond a segregated demonstration environment.
Start with a narrow, read-only use case
Choose a task where incorrect output is detectable and no physical process can be changed: locating approved maintenance manuals, comparing historical work instructions or drafting a summary from a curated incident record. Select a small corpus with known authoritative documents and deliberately outdated duplicates, then define how the assistant must cite the source record and its revision. Deny access to live process-control interfaces, high-privilege accounts and systems containing unrestricted personal or commercially sensitive data. Limit the pilot population to named users and configure a retention period for queries and outputs. Document what operators must check manually before using a summary in a safety or maintenance decision. Success is not a compelling demonstration response; it is accurate, attributable retrieval within approved permissions, followed by evidence that mistakes are caught and do not propagate into work orders or operational decisions.
Treat retrieved material as untrusted instructions
An attacker may place misleading instructions in a document, ticket or webpage that the assistant reads. Define a trust boundary between the human’s authorised request, the system’s configuration and retrieved source content. Test with harmless synthetic documents that contain instructions such as “ignore your rules” or “send this report to an outside address.” The assistant should treat such text as subject matter rather than operating instructions and should not invoke tools or disclose unrelated data in response. Verify that citations point to the actual retrieved passage and that output does not silently combine an old manual with a newer procedure. Record both successful refusals and ambiguous responses. The relevant risk is not just offensive text in a prompt: a benign-looking maintenance note can try to steer a connected assistant toward a privileged API action. The response design must enforce authorisation independently of the model’s wording.
Constrain identities and connector permissions
Use a separate service identity for each approved connector or tightly related function, with the minimum permissions required. Do not let an assistant inherit a user’s entire administrative role merely because a senior engineer opened a chat. Keep secret material in an approved vault, rotate it through established processes and prohibit passwords or tokens in user-facing prompt histories. Test horizontal access: can a user from one operating region retrieve documents assigned to another? Test vertical access: can a standard operator read engineering configuration that only a supervisor should see? Where the assistant brokers tools on the user’s behalf, the API must verify the user’s entitlement at execution time, not simply rely on the assistant’s earlier description of their role. Deny unknown tool names, unapproved output destinations and cross-domain data transfers by default.
Design a human approval boundary for operational changes
If a future use case involves creating a work order, modifying a maintenance schedule or updating an asset record, separate suggestion from execution. The assistant may prepare a draft proposal showing the proposed change, source evidence, confidence limitations and expected downstream effects, but an authorised human must review it in the target system. Require two-party approval for higher-risk changes where existing operational controls call for it. Do not allow the approval step to be simulated by the model writing “approved.” The target application must verify identity, role and change window, and must retain a transaction identifier. A rejected or incomplete approval must leave the operational record unchanged. Plan rollback and reconciliation for situations where a request succeeded in the target system but the assistant failed to receive an acknowledgement. The test is whether the workflow remains safe under partial failures, not only when the generated answer looks correct.
Create an evaluation set with uncomfortable cases
Build test cases from the organisation’s real questions but use synthetic or authorised data. Include a correct maintenance procedure, an obsolete document, conflicting instructions from two suppliers, an unauthorised document, a prompt-injection attempt, a request for a privileged action and a scenario where the source system is unavailable. Define the expected result for each case before running the assistant. Grade factual correctness, attribution, access control, tool invocation, privacy handling and user understanding separately. A wrong answer delivered confidently should be a failure, even if a reviewer can eventually spot it. A refusal can be correct when the question is outside the assistant’s authority. Retain test inputs, tool traces, output copies, reviewer decisions and the software configuration used. Re-run the same set after model, retrieval or connector changes, since a tool upgrade can alter behaviour without changing the visible chat interface.
Log decisions without creating a new data-exposure problem
Capture who initiated a tool action, which connector was used, what resource was requested, whether access was approved, the result status and an auditable transaction identifier. Avoid logging unmasked passwords, full engineering secrets or unnecessary patient or employee information. Apply the organisation’s retention, access review and privacy requirements to prompts and outputs as well as conventional application logs. Check whether the AI supplier can use customer content for model improvement, where data is stored and how deletion works. Make incident investigators able to correlate assistant actions with the authoritative system log; two inconsistent timelines are difficult to reconcile after a suspected misuse. Include a procedure to preserve evidence when a connector is disabled. A security team should be able to demonstrate the activity of a specific test identity without being granted blanket access to every employee’s query history.
Prepare a controlled disable and recovery test
Before deployment, prove that the organisation can revoke the connector identity, block its network or API access and confirm that pending tool calls cannot finish after emergency disablement. Test a simulated credential exposure and a situation where a retrieved document contains malicious instructions. The response owner should know where to find the affected connector, which business function loses access and who approves a temporary return to manual processing. Keep the human maintenance workflow available independently of the AI assistant. When reconnecting, create fresh credentials where necessary, check authorisation scope, clear or quarantine suspect content and repeat the agreed evaluation cases. Do not treat a model “reset” or a new chat as evidence that a security problem has been contained. The ultimate test is that operational systems remain safe when the assistant is removed from the workflow entirely.
Score benefits and residual risk separately
Measure practical benefits such as time saved finding an approved manual, percentage of answers with correct citations and number of decisions requiring human correction. Keep those indicators separate from access-control and safety results. A fast assistant that fails one privileged-action boundary is not ready for connected deployment. Use a simple decision scale: approve for the documented read-only pilot, approve with additional restrictions, defer until a control is demonstrated or reject the connector. Record the accountable owner, evidence, unresolved risks, control exceptions and next review date. Compare the proposed AI function with a simpler search tool or rules-based workflow; if the smaller solution meets the need with less operational exposure, it may be preferable. Reassess the decision whenever connector permissions, data sources or downstream actions expand.
Set a governance rhythm that survives staff changes
Assign each connector a service owner, security reviewer, data custodian and operational approver. Schedule periodic reviews of the effective permissions, active identities, authorised users, test failures and actual use cases. Require change notification when a vendor adds a tool, switches a model, modifies retention or expands data access. Remove unused integrations promptly and retain proof that their credentials are no longer valid. Train users to distinguish a summarised recommendation from an approved operating instruction, and make it easy to report a suspicious or incorrect response without blame. Keep a short exception register with an expiry date and compensating control for every deviation. The end state is not a permanent “AI approved” stamp but a controlled connection whose scope and evidence can be revalidated when technology or the operating environment changes.
Sources and further reading
- NIST — AI Risk Management Framework
- OWASP — API Security Top 10, 2023
- NIST — Guide to Computer Security Log Management (SP 800-92)
Strengthen your security with Next Defence
Next Defence supports critical infrastructure & utilities organisations with practical assessment, technical implementation and validation through its AI Security & Governance practice.