They should do both, because the risk runs in two directions. AI systems introduce new attack surface through models, agents, and connectors, while AI can also improve triage, remediation, and runtime defence. The practical test is whether controls cover both the AI stack and the delivery pipeline without creating unmanaged autonomy.
How security teams split AI protection between the system and the toolchain
Organisations usually avoid an either-or decision because the two use cases expose different failure modes. Protecting AI systems means reducing model, agent, prompt, connector, and data risks inside the AI environment. Using AI to secure software means improving detection, prioritisation, and response in the wider delivery pipeline. The right split is based on where the material exposure sits, where the control owner is, and whether automation can act safely without creating new trust dependencies.
The distinction matters because teams often assume AI security is one programme when it is really two related but separate control problems. One side is defensive governance over AI itself, including access to models, tool permissions, training data, and output handling. The other side is operational augmentation, where AI helps analysts and engineers work faster across code review, alert triage, fraud detection, or remediation. The more the organisation relies on autonomous action, the more it must define guardrails, human review points, and rollback paths. For broader coordination across security functions, the NIST Cybersecurity Framework 2.0 is useful because it frames governance, protection, detection, response, and recovery as connected outcomes rather than isolated technologies. In practice, many security teams discover the gap only after AI has already been wired into both the environment and the workflow, instead of through a deliberate design decision.
Where the question becomes real is in deciding what must be defended first. If the AI system can reach production data, external tools, or privileged actions, protecting the AI stack is a primary obligation. If the organisation is using AI mainly to assist analysts, then the bigger issue is whether AI output can be trusted enough to shape human decisions without masking errors, bias, or missed alerts.
What changes when AI is the target versus the defender
Protecting AI systems and using AI to secure software solve different problems, even though they often share data, telemetry, and operators. AI-system protection is about controlling the attack surface created by models, prompts, agents, APIs, connectors, and the data they can see or change. AI-as-defender is about improving the speed and quality of security work without letting automation outrun verification. When an organisation decides where to focus, it should ask which failure would be more damaging: compromise of the AI environment, or overconfident reliance on AI output in the security operation.
In practice, the best answer is usually to map each use case to a different control objective. For the AI stack, that means inventorying where the model runs, what it can call, what it can exfiltrate, and which human approvals still matter. For AI used in security operations, that means defining what the system may recommend versus what it may execute, and measuring whether its suggestions improve outcomes rather than simply increasing alert volume.
- If AI can trigger actions, treat those actions as privileged and reviewable.
- If AI reads sensitive telemetry or code, treat the data path as a protection boundary.
- If AI changes analyst workflow, validate whether it reduces time-to-decision or just adds noise.
- If the same platform does both, separate the controls for model access and operational use.
This is where governance and engineering meet. A strong programme does not ask whether AI belongs in security, but where AI introduces new authority, new dependency, or new failure modes that existing controls were never designed to cover. For AI-specific control design and threat framing, the CSA MAESTRO agentic AI threat modeling framework is more directly useful than a generic secure-development checklist because it focuses on agent behaviour, tool use, and trust boundaries. The guidance breaks down when organisations assume an AI assistant is only advisory while its outputs are already influencing production decisions or automated remediation.
Where the boundary gets messy in hybrid security programmes
Tighter AI control often increases operational overhead, requiring organisations to balance faster automation against stronger review and segregation of duties. That tradeoff becomes visible in hybrid programmes, where the same AI capability is used both to protect systems and to help secure them.
The most common edge case is an AI platform that is both a protected asset and an operational assistant. In that situation, the organisation is not choosing one side of the question so much as separating two control planes. One plane governs model integrity, connector scope, prompt injection exposure, and data access. The other plane governs how AI assists analysts, developers, or responders, including whether it can summarise incidents, propose fixes, or execute low-risk tasks. A second edge case is where teams use AI to compensate for gaps elsewhere, such as weak alert correlation or understaffed triage. That can be useful, but it should be treated as a capacity extender, not as a substitute for missing logging, ownership, or containment. Industry consensus is still forming on how much autonomy is acceptable for AI in security operations, so organisations should be explicit about what the tool may recommend, what it may do, and what still requires human sign-off.
Another practical complication is shared data. A defensive AI system may consume the same logs, tickets, and code artefacts that a security-assist AI uses. That creates a governance question about data minimisation, retention, and whether one use case contaminates the other. Teams that separate these early tend to have clearer audit trails and fewer surprises when a model or agent behaves outside its intended role.
Risk and Threat Considerations
The material risk is not choosing the wrong side once, but creating an unmanaged bridge between them. If AI systems are allowed to handle privileged data or actions, they become a direct exposure point. If AI is trusted too much as a security aid, errors can be amplified into operational mistakes, missed detections, or unsafe remediation.
Failure mechanism: Attackers and failure conditions both exploit weak separation of duties. Prompt injection, connector abuse, overbroad tool permissions, and model output overreliance can turn an assistant into an execution path. On the defensive side, poor validation of AI-generated triage or remediation advice can let incorrect prioritisation propagate into incident handling or code changes.
Impact: The result can be data exposure, privilege misuse, disrupted response, or false confidence in security decisions. In hybrid environments, the same weakness can affect both the AI platform and the software delivery process, which makes containment harder once trust boundaries blur.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
CSA MAESTRO and MITRE ATLAS address the attack and risk surface, while NIST CSF 2.0, NIST AI RMF and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | GV — Govern | The question is about deciding AI security scope and ownership. |
| Recommendation — Define governance for both AI protection and AI-assisted security use cases. | ||
| NIST AI RMF | GOVERN — Governing AI Risk | AI systems create model, agent, and connector risk that needs AI-specific governance. |
| Recommendation — Establish AI risk governance before expanding model access or autonomy. | ||
| CSA MAESTRO | AAT-01 — Agentic Access and Tooling | Agentic AI can act through tools, connectors, and delegated actions. |
| Recommendation — Constrain agent tool use and review any action that crosses a trust boundary. | ||
| MITRE ATLAS | ATLAS-IC-0001 — AI System Abuse | The subject includes threats to AI systems themselves, including misuse and manipulation. |
| Recommendation — Map AI abuse paths and test controls against manipulation and prompt injection. | ||
| CIS Controls v8 | 6 — Access Control Management | Both AI systems and AI-assisted security depend on limiting privileged access. |
| Recommendation — Restrict AI-related access paths to the minimum necessary privilege. | ||
Practitioner Guidance
What to prioritise: Decide first whether the AI capability has authority or only advisory value. If it can access sensitive data, call tools, or influence production actions, protect it like a high-trust system before expanding its operational role.
Decision rule: If the AI use case changes security decisions, require evidence that the outputs are traceable, bounded, and reviewable. If the use case only accelerates analysis, measure whether it improves accuracy and cycle time without increasing blind reliance.
What practitioners underestimate: The hard part is usually not the model itself but the handoff between model output and human or automated action. That handoff is where accountability, rollback, and exception handling must be designed explicitly.
Practitioner takeaway: The most robust approach is to treat AI as both a protected asset and a security instrument, then apply different controls to each role so automation helps without silently inheriting authority.
Related resources from NHI Mgmt Group
- How should organisations decide whether to buy AI security tools through procurement channels?
- How can organisations decide whether their AI security workflow is mature enough?
- How do organisations decide whether to standardise on one agentic AI security control model?
- How should security teams decide whether a cheaper AI model is worth using for cyber work?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 7, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org