They protect access to systems and stored data, but not necessarily what a host or administrator can see once the model is loaded into memory. The critical risk emerges during inference, when the weights become usable by the runtime itself. That is why runtime attestation and isolation matter.
Why IAM and encryption stop short of protecting loaded model weights
Standard IAM answers who can reach the system and what stored objects are protected at rest. Encryption answers whether data is unreadable outside a trusted context. Neither one fully constrains what a privileged host, hypervisor, or administrator can inspect once the model is loaded and executing in memory. For proprietary weights, that runtime state is where exposure becomes practical.
That gap matters because model weights are not just stored files, they are an executable asset during inference. Once the runtime can read them, access control to the storage layer no longer equals protection of the asset itself. The security question shifts from “who can open the file?” to “who can observe, copy, or manipulate the loaded weights while the model is live?”
Runtime attestation and isolation address that second question. They help establish that the inference environment is the expected one, and that only the intended code path can access the weights while they are resident. For AI platforms, this is why AI Infrastructure Workload Identity Guide and Cloud Workload Identity Guide are both relevant: the protection problem is not just storage access, but the identity and trust of the runtime that handles the model.
Encryption can still be part of the design, but it mainly protects the data when it is not actively being used. If the operational goal is to keep proprietary weights confidential from the host layer itself, then ordinary disk or database encryption is insufficient on its own. The control boundary has to move closer to the execution environment, where the model is decoded, mapped, and consumed by the runtime.
Where the real exposure appears during inference
The inference phase is the critical window because the model must be available to compute outputs. That necessarily creates a point where the weights are accessible to software running with enough privilege to use them. If the environment is shared, overly privileged, or weakly isolated, the same access that enables serving can also enable extraction, inspection, or tampering.
That is why “encrypted at rest” and “restricted in storage” are not the same as “protected in use.” A host with sufficient administrative power can often observe memory, attach debuggers, snapshot processes, or otherwise reach the material that encryption was meant to shield before decryption. The practical control question is whether the environment prevents unauthorized observation of the runtime, not just unauthorized reading of files.
For teams already managing lifecycle and governance around non-human identities, the same conceptual issue shows up in NHI Lifecycle Management Guide and Lifecycle Processes for Managing NHIs: access controls must remain meaningful across provisioning, active use, and decommissioning. For model weights, the analogous problem is keeping confidentiality intact across the model's own lifecycle, including the moment it is actually serving requests.
In practice, the risk concentrates wherever runtime trust is assumed rather than verified. Shared GPU hosts, broad admin access, weak tenant separation, or debugging-enabled environments can all erode the value of encryption because the weights have to be present in usable form somewhere.
Controls that better fit proprietary model weight protection
Protecting proprietary weights usually requires a layered design. The storage layer still needs encryption, strong key custody, and tight access governance, but those controls should be paired with runtime measures that reduce what the host can see or do. Isolation, attestation, confidential computing, and tightly scoped operational access all serve that purpose in different ways.
For organisations building AI platforms, the most useful control lens is to treat the inference worker as a sensitive execution boundary. If that boundary is not trustworthy, then any encryption below it is only partial protection. A stronger design uses attested environments, minimal privileged access, and separation between orchestration systems and the process that actually handles the weights.
The same principle appears in broader security guidance such as Encryption Guide and CSA Cloud Controls Matrix, which both reinforce that encryption is only one layer of protection and that cloud control domains must also cover identity, infrastructure, and governance. For deployed models, the missing layer is often runtime trust.
Risk and Threat Considerations
Proprietary weights are exposed when organisations assume that protecting stored data is enough. Once a model is loaded, a sufficiently privileged host, operator, or compromised runtime can often reach the weights in memory, which creates a different exposure path than ordinary data-at-rest theft.
Failure mechanism: The control boundary ends at storage, while the actual asset becomes usable inside the serving process, so a trusted runtime or admin path can bypass the protection that encryption was meant to provide.
Impact: Attackers or insiders may extract model IP, clone capabilities, tamper with outputs, or use the runtime access path as a stepping stone to broader compromise of the AI platform.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and CSA Cloud Controls Matrix set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Loaded model weights can be exposed through runtime access paths, not just storage. |
| NHI-06 — Insecure Cloud Deployment Configurations | Inference environments and host settings determine whether runtime isolation actually holds. | |
| NHI-08 — Environment Isolation | Tenant and process isolation is central when weights are accessible during inference. | |
| Recommendation — Protect secrets and weight-like artifacts from exposure in the runtime environment. Harden cloud deployment settings that let hosts observe sensitive in-use assets. Isolate serving environments so one runtime cannot inspect another's sensitive assets. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Identification and Authentication (Service and System Users) | Inference services need strong machine-to-machine trust before handling sensitive models. |
| AC-6 — Least Privilege | Host and admin access must be constrained because overprivilege can expose live weights. | |
| SC-39 — Process Isolation | Runtime isolation is the control that limits what the host can see in memory. | |
| Recommendation — Authenticate service and system users before allowing access to model-serving resources. Limit privileged access to the minimum needed to run the model service. Separate processes and execution contexts to protect sensitive in-memory assets. | ||
| CSA Cloud Controls Matrix | IAM — Identity and Access Management | AI platforms need identity governance across storage, orchestration, and serving paths. |
| IVS — Infrastructure and Virtualization Security | Infrastructure isolation and trust boundaries are essential to runtime protection. | |
| Recommendation — Apply IAM controls to restrict who can administer and invoke model-serving systems. Harden virtualization and infrastructure layers that host sensitive model inference. | ||
Practitioner Guidance
What to verify: Confirm where the weights exist in plaintext during serving, who can inspect that environment, and whether the operator model includes host-level visibility. If the answer is “anyone with admin access can see the runtime,” the protection model is incomplete.
Decision rule: If the model is commercially sensitive or regulated, treat runtime trust as a security requirement, not an optimisation. Use isolation and attestation where the host must not be trusted, and reserve encryption alone for cases where disclosure of loaded weights is an acceptable residual risk.
Common mistake: Teams often stop after encrypting checkpoints or tightening IAM on the storage bucket. That improves baseline hygiene, but it does not answer the harder question of who can observe the model once inference starts.
Practitioner takeaway: The asset to protect is not just the saved weight file, it is the live model state, so the control set must prove trust in the runtime where the weights are actually used.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org