Safety controls reduce harmful or unintended model behaviour, but they do not stop attackers from abusing credentials, manipulating prompts, or exploiting connected tools. Security controls are needed to protect the model, its data, and its execution path from hostile interference. Enterprises need both because a safe model can still be compromised and a secure model can still behave badly.
Why This Matters for Security Teams
AI safety controls and AI security controls solve different problems, and that distinction matters once a model is connected to data, tools, or business workflows. Safety controls are designed to reduce harmful outputs, policy violations, and misuse in normal operation. Security controls are designed to resist hostile action, including prompt injection, credential theft, model tampering, data poisoning, and abuse of connected APIs. For teams deploying LLMs and agents, the relevant question is not whether the model sounds aligned, but whether the system can be trusted under attack. NIST’s NIST SP 800-53 Rev 5 Security and Privacy Controls remains useful here because it frames the underlying control discipline: access control, auditability, integrity, and protection of system components.
Practitioners often assume a strong safety layer can absorb security risk, but that only holds when the model is isolated and its outputs are not operationally privileged. Once an agent can call tools, retrieve sensitive context, or trigger workflows, the attack surface shifts from content moderation to identity, authorization, and execution integrity. That is why security teams must assess model behaviour, model access, and tool access as separate control planes. In practice, many security teams encounter the gap only after an agent has already exposed data or executed an unsafe action, rather than through intentional pre-deployment testing.
How It Works in Practice
Safety controls and security controls should be layered, not treated as substitutes. Safety features usually focus on output filtering, refusal behaviour, policy tuning, and human review for risky content. Security controls focus on how the model is accessed, what context it can see, which tools it can invoke, and how actions are logged and constrained. That means a secure AI system typically needs identity controls, secrets protection, network restrictions, data-loss prevention, and runtime monitoring alongside safety guardrails.
In agentic environments, the risk expands because the model is no longer only generating text. It may be deciding which retrieval source to query, which ticket to open, or which command to run. Current guidance suggests treating the agent as an execution-capable workload with explicit boundaries, not as a chatbot with extra permissions. Frameworks such as the CSA MAESTRO agentic AI threat modeling framework and research such as Anthropic Project Glasswing reflect the growing emphasis on tool-use abuse, prompt injection, and agent containment.
- Use safety controls to reduce harmful language and policy breaches.
- Use security controls to prevent unauthorised prompt, data, and tool manipulation.
- Separate model permissions from human user permissions.
- Restrict secrets exposure, retrieval scope, and outbound actions.
- Log prompts, tool calls, and policy decisions for investigation and audit.
The practical test is whether the system still behaves safely when an attacker controls part of the input or environment. These controls tend to break down when an agent has broad tool access, weak identity binding, and direct exposure to high-value internal data because the model’s output path becomes an attack path.
Common Variations and Edge Cases
Tighter AI security often increases integration overhead, requiring organisations to balance development speed against containment and assurance. That tradeoff becomes visible in production systems where product teams want autonomy, but risk teams need boundaries.
There is no universal standard for this yet, especially for autonomous agents and multi-step workflows. Best practice is evolving toward a split model: safety governance for acceptable behaviour, and security governance for trust boundaries, secrets, and execution rights. Some use cases, such as internal drafting tools with no external connectivity, may rely more heavily on safety controls because the consequence of failure is lower. Others, such as agents with procurement, code deployment, or customer-data access, need full security treatment even if the model is highly safe by design.
The key edge case is that a model can be safe and still be compromised, or secure and still produce unsafe content. That is why organisations should not treat red-teaming for harmful outputs as a substitute for adversarial testing of prompts, tools, retrieval, and identity controls. Security validation should include prompt injection resistance, least privilege for tool use, and compromise scenarios involving data and credentials. For deeper threat modelling of emerging agent behaviour, practitioners can also review the control logic in CSA MAESTRO alongside model governance work under AI risk management.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, MITRE ATLAS and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | AI RMF distinguishes trustworthy AI governance from technical safety alone. | |
| NIST CSF 2.0 | PR.AC-4 | Least privilege is central when models can access tools, data, or workflows. |
| OWASP Agentic AI Top 10 | Agentic AI risks include prompt injection, tool abuse, and unsafe action execution. | |
| MITRE ATLAS | AML.TA0001 | ATLAS covers adversarial ML tactics relevant to model compromise and manipulation. |
| CSA MAESTRO | MAESTRO focuses on agentic AI threat modelling and control boundaries. |
Use AI RMF to define AI risk ownership, assess harms, and track mitigations across the system lifecycle.