Decide what a machine-produced alert is allowed to do
An AI-assisted detection system can rank unusual cloud sign-ins, identity changes or endpoint events, but its output should be treated as an assessment rather than an authoritative security decision. Choose one controlled scenario involving a synthetic account that legitimately changes work locations and another involving an attempted token misuse. Show the raw events, the model’s classification and the specific evidence an analyst must review before acting. If the system recommends disabling a service identity used by a live customer workflow, the reviewer needs an operational owner and an approved alternative, not only a confidence score. Distinguish a tool that summarises investigation notes from one that can execute containment through an orchestration platform. The latter requires narrowly scoped credentials, independently logged actions and a reliable emergency stop.
A detection agent needs an independent action gate
An organisation piloting AI-assisted threat detection should start with an alert triage task that has no write permission to its identity or endpoint systems. Use a test case with a confirmed suspicious session and another with a legitimate administrator travelling for on-call support. Ask the assistant to identify its evidence, uncertainty and suggested next action. Then give it a retrieved knowledge article containing an instruction to ignore approvals and revoke a privileged role. The underlying identity platform must deny any such call unless the authorised human decision and target scope are verified independently. Record the model response and the actual tool attempt separately. When the agent is disabled, analysts must still be able to reconstruct cases and perform approved manual containment. Expansion should depend on tested accuracy, accountable changes and a safe stop mechanism, not on the assistant producing confident prose.
Automation should not be promoted from triage to containment without proof
A security operations team considers allowing an AI system to summarise alerts, correlate logs and suspend accounts. Those are three materially different privileges. Summarising a fictional suspicious sign-in can be read-only; correlating a case across platforms requires access to multiple data sources; disabling an identity can interrupt legitimate work and leave other sessions active. Define each capability as a separate tool permission, with its own logging and approval boundary. The system should be evaluated against a curated set containing a true suspicious session, an approved on-call login and a missing evidence source. Test whether the model distinguishes those cases or simply produces confident labels from incomplete telemetry. Evaluate the review effort it saves or adds to the analyst’s work.
Before enabling any autonomous restriction, ask the receiving identity platform to enforce a human-approved, narrowly scoped action. The AI’s natural-language instruction should not be sufficient to revoke a whole administrator group or disable a critical service account. In a controlled exercise, place an instruction inside retrieved incident notes telling the agent to export another case or change a suppression rule. The requested tool action must be denied independently, and the attempted call must remain attributable in audit records. Switch off the agent and verify that analysts can still investigate through standard tools. A useful go/no-go decision should cite alert accuracy, safe refusal of unauthorised tool calls, handling of uncertain evidence and the effect on business continuity—not model fluency or the number of alerts it processed.
Evidence an analyst needs before accepting an automated action
A security analyst reviewing an AI recommendation should be able to open the underlying identity event, affected account, actual resource request and relevant work order. Present the assistant with a synthetic sign-in from an unfamiliar network, then reveal that the user is the scheduled emergency administrator for that shift. Ask whether the tool updates its conclusion and whether its explanation accurately reflects the evidence. In a second inject, supply a confirmed prohibited application request and confirm that an approved human decision can restrict the specific session without disabling the entire administrator group. Keep these results distinct from model language quality: the useful outcome is a correct, attributable security action that a human can challenge and reverse if necessary.
The off switch belongs in the operating plan
An agentic integration needs a documented method to revoke its credential, cancel queued actions and return work to the non-AI process. For ai for cyber defenders, rehearse an unavailable model service and an attempted unauthorised tool call. Test that ordinary records remain accessible to approved staff and that an action already performed can be reconstructed and reconciled. The business sponsor should expand the pilot only after observed benefit and safe enforcement, not because the model demonstration looked fluent.
Retrieved content cannot grant an agent extra authority
An AI assistant may encounter an external document or message that tells it to ignore its instructions or invoke an unrelated tool. For ai for cyber defenders, test whether the assistant treats this passage as data to evaluate or as permission to export a record. The connected application’s identity and authorisation rules must constrain actual operations even if the model produces persuasive output. Use fabricated documents and records and retain the attempted tool call, target object and API decision. A model refusing in text is not the same as a downstream enforcement result.
Separate recommendation, draft and execution
A model can usefully summarise evidence or propose a maintenance, customer support or compliance action without acquiring permission to perform it. For ai for cyber defenders, document which steps are read-only, which produce a draft and which would change an authoritative system. Require independently enforced approval for high-consequence writes or exports. When a model or connector is updated, review effective tool scope again; the visual chat interface can remain identical even while the underlying permissions become broader.
Measure false positives in the work they disrupt
Benchmark the detection process on representative benign and suspicious cases with known outcomes. Record precision, missed events, time to analyst decision and the operational consequences of an incorrect block; a single headline accuracy number does not show these differences. Include a deployment or shift change that generates unusual legitimate activity and test whether the model consistently supplies the events behind its recommendation. Analysts should be able to reject an unsupported conclusion and retain the rationale in the case record. If training or retrieval material contains attacker-controlled text, use a controlled example to verify the system does not treat that text as an instruction to modify security tooling. This test does not require giving a model the authority to run commands. The organisation should also document which incident classes remain human-only and how an operator can reverse an automated response.
Use a release gate for the decision system
Before promotion to production, replay a fixed set of representative alerts against the proposed model, rules and escalation workflow. Changes to prompts, model versions, event schemas and retrieval sources should trigger regression testing when they could change an action recommendation. Store the evidence identifiers and decision result rather than large unnecessary copies of personal data. For an automated containment feature, require a staged mode where it recommends actions without executing them; compare that result with experienced analyst decisions over an agreed period. A security manager should sign off which actions can become automated and which remain approval gated. After rollout, examine rejected recommendations and near misses, not only successful detections. Repeated disagreement between the model and analysts is a reason to revisit scope and evidence quality, rather than conceal the cases inside an average performance score.
A model may explain a detection incorrectly
Give analysts a synthetic event with a correct technical alert but a misleading machine-generated explanation. They should inspect the source records and identify whether the recommendation still follows from the evidence. The case is useful because model fluency can conceal missing context even when the alert itself is valid. Record how an analyst overrides an unsupported inference and whether the correction changes future training or prompt evaluation. The service owner should know who accepts the operational risk of an automatic action and how to restore the affected workflow if the model’s conclusion was wrong.
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 helps software providers, cloud platforms and digital businesses examine the real access and operational risks behind ai for cyber defenders. Our specialists can test the approved workflow in which an analyst uses AI to summarise verified events and recommends a restricted identity change and assess controls against the unwanted condition in which a model incorrectly treats untrusted log text as a command and disables a business-critical account. Explore our services to agree proportionate improvements, attributable evidence and safe operating decisions with soc engineering owner and ai risk lead.