Model confidentiality controls protect the container, such as data, weights, and infrastructure access. Behaviour controls protect what the model says and does under manipulation. A system can be fully locked down and still generate harmful outputs if prompt injection, roleplay, or indirect instructions alter behavior. Effective AI security needs both layers working together.
How model secrecy and model behaviour diverge in AI security
These two control families address different failure surfaces. Confidentiality controls are about preventing unauthorised access to the model artefact, the training data, the prompts, the retrieval sources, and the surrounding infrastructure. Behaviour controls are about constraining how the model responds when an authorised or untrusted actor tries to manipulate its output, tool use, or task execution. The distinction matters because a system can be technically well protected and still be operationally unsafe if it follows hostile instructions.
Security teams often blur the two because both sit inside an AI governance programme, but they answer different questions: who can reach the system, and what can the system be induced to do once reached. That split is especially important in AI applications with retrieval, tools, or delegated actions, where the attack surface extends beyond stolen data into manipulated output. CSA MAESTRO agentic AI threat modeling framework is useful here because it frames AI risk around both access and adversarial behaviour rather than treating them as the same control problem. In practice, many security teams discover the difference only after a prompt injection or unsafe tool action has already bypassed otherwise strong platform protections.
How both control layers work together in practice
Confidentiality controls reduce the chances that an attacker, insider, or exposed integration can obtain the model itself or the assets surrounding it. In practical terms, that means controlling repository access, storage permissions, secret handling, environment hardening, and the boundaries around training, fine-tuning, and deployment. These controls are about limiting exposure and preventing unauthorised disclosure, theft, or tampering with the underlying model stack.
Behaviour controls operate at runtime. They try to make the model resilient to prompt injection, malicious roleplay, indirect instruction, jailbreak patterns, and unsafe tool invocation. They also govern whether the model can be persuaded to ignore policy, reveal restricted information, or take actions outside its intended scope. This is where prompt filtering, instruction hierarchy, output restrictions, policy enforcement, sandboxing, and human approval steps become relevant.
In practice, the controls need to be layered because they fail differently. Confidentiality controls may stop extraction of a model or dataset, but they do not stop a model from being manipulated into producing unsafe advice or disclosing sensitive context during a live conversation. Behaviour controls may prevent harmful responses, but they do not stop theft of weights, leakage of secrets, or unauthorised model reuse. The design question is therefore not which layer is stronger, but which failure would create the more material harm for the use case. For systems that touch personal data, regulated decisions, or downstream actions, a behaviour failure can be just as serious as a confidentiality failure. Anthropic Project Glasswing is relevant because it explores safety-oriented model evaluation and control thinking that helps separate harmful behaviour from mere access control.
- Confidentiality controls answer: can the model, weights, prompts, or connected assets be reached or copied?
- Behaviour controls answer: can the model be manipulated into unsafe disclosure, instruction following, or action?
- Both are needed when the model can retrieve data, call tools, or trigger workflows.
Where teams go wrong is assuming that access control alone makes the system safe. That breaks down as soon as the model is exposed to adversarial input, delegated actions, or a context source that can be polluted upstream.
Where the boundary becomes messy in real deployments
Tighter model containment often increases friction for developers and operators, so organisations have to balance secrecy against usability and iteration speed. The boundary also gets less obvious when the same system both stores sensitive assets and generates decisions, because a single control failure can become either an exposure issue or a behaviour issue depending on the path taken.
One common edge case is retrieval-augmented generation. If the retrieval corpus contains sensitive material, confidentiality controls govern who can populate, query, and export that corpus. Behaviour controls govern whether the model is tricked into surfacing restricted content or treating malicious retrieved text as instruction. Another edge case is tool use: the model may never leak its weights, yet still cause harm by sending a bad request, approving a risky action, or summarising data in a way that violates policy. Another is open-ended chat support, where the main hazard is not theft of the model but persuasive manipulation of the response surface.
Guidance is not fully settled on exactly where to draw the line between prompt-layer security and model behaviour governance, especially in agentic systems. The practical rule is to treat anything that changes the model’s instruction hierarchy, output boundaries, or action scope as behaviour control, even if it is implemented through infrastructure. For identity-heavy AI workflows, that distinction also intersects with who is allowed to invoke the model and with what authority. When the system can neither be isolated from hostile input nor constrained at output, the control model has already been oversimplified.
Risk and Threat Considerations
The material risk is twofold: unauthorised access to model assets and adversarial manipulation of model outputs or actions. Those are distinct failure classes, and confusing them leaves blind spots in both governance and detection. A secure deployment can still be operationally unsafe if an attacker can shape the model’s decisions through prompt injection, indirect instructions, or malicious context.
Failure mechanism: confidentiality failures usually arise from weak access boundaries, exposed secrets, overbroad permissions, or leakage through connected systems; behaviour failures arise when hostile input exploits the model’s instruction-following tendencies, bypasses policy hierarchy, or triggers unsafe tool use.
Impact: the organisation may lose proprietary model assets, expose sensitive training or retrieval data, or generate harmful, deceptive, or unauthorised outputs that create downstream security, compliance, or trust failure.
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 and MITRE ATLAS address the attack surface, NIST AI RMF and NIST AI 600-1 set the technical controls, and ISO/IEC 42001:2023 define the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | GOVERN — Govern the AI system lifecycle | Separates AI asset protection from runtime behaviour governance. |
| Recommendation — Govern both model asset protection and runtime behaviour as separate AI risk domains. | ||
| NIST AI 600-1 | AI.3 — Model Security and Access Control | Applies to protecting model artefacts, weights, prompts, and supporting infrastructure. |
| Recommendation — Restrict access to model artefacts, prompts, and surrounding infrastructure. | ||
| ISO/IEC 42001:2023 | A.5 — AI system policy and accountability | Supports organisational AI governance over distinct confidentiality and behaviour controls. |
| Recommendation — Assign accountable ownership for separate AI confidentiality and behaviour controls. | ||
| OWASP Agentic AI Top 10 | A2 — Prompt Injection | Behaviour controls must resist adversarial instruction manipulation at runtime. |
| Recommendation — Detect and contain prompt injection before it changes model behaviour. | ||
| MITRE ATLAS | AML.TA0002 — Prompt Injection | Covers adversarial manipulation techniques against AI systems and model behaviour. |
| Recommendation — Map injection and manipulation patterns to ATLAS techniques during testing. | ||
Practitioner Guidance
What to prioritise: separate the control objectives before you design safeguards. If the main concern is theft, leakage, or unauthorised access, start with confidentiality boundaries. If the main concern is hostile manipulation of outputs or actions, start with behaviour constraints and runtime guardrails.
What to verify: check whether the model can be reached through indirect channels such as retrieval, plugins, tools, or shared context. Many teams assume the model is safe because the front door is locked, but the real exposure is often the instruction path.
Practitioner takeaway: treat confidentiality as protection of the model estate and behaviour control as protection of the model’s decision surface; one without the other leaves a different class of failure untouched.
Related resources from NHI Mgmt Group
- What is the difference between model guardrails and runtime AI security controls?
- What is the difference between model security and agent identity controls?
- What is the difference between AI framework guidance and runtime security controls?
- What is the difference between AI model security and AI governance?