Security teams should require runtime confidentiality controls that keep model weights protected while in use, not just at rest. The practical standard is hardware-enforced isolation with attestation-gated key release, so decryption only happens inside a verified environment. If the host or accelerator cannot prove its state, the model should not be released.
Why third-party inference changes the protection problem
Once model weights leave your controlled environment, the main question is no longer only whether the file is encrypted on disk. The real exposure is whether the provider can see, copy, or inspect the weights while inference is running. That means the security boundary has to move to runtime, where the model is decrypted only inside a trusted execution context and the host state can be validated before release.
For teams evaluating inference vendors or managed platforms, the protection goal is to preserve confidentiality without breaking the service model. The right control is therefore not “secure storage plus access policy” alone, but a release decision tied to attestation and a trusted hardware boundary. AI Infrastructure Workload Identity Guide is useful here because it frames inference as part of the broader AI infrastructure trust chain, including model serving and the identities that operate it.
When those controls are absent, third-party inference becomes a de facto exposure point for model theft, inspection, or unauthorized reuse. That is especially true when the vendor controls the operating system, orchestration layer, or accelerator stack and can theoretically access the decrypted weights during execution. If the environment cannot prove its measured state, security teams should treat that as a hard stop, not a negotiable exception.
What hardware-enforced isolation and attestation actually buy you
Hardware-enforced isolation narrows the trust zone to a verified execution environment, rather than trusting the full provider stack. Attestation is what makes that boundary enforceable: the environment proves its identity and configuration before secrets or weights are released, so decryption is conditional on a known-good state rather than on contractual assurances.
This matters because model weights are not just another artifact. They encode proprietary behavior, can reveal sensitive training characteristics, and may be reusable outside the intended service boundary if exfiltrated. A runtime confidentiality design should therefore assume the provider environment is potentially observable until proven otherwise. AI Model Security Guide helps anchor the broader threat picture, including model theft, model extraction, and model weight security.
In practice, the attestation gate should be the decision point for releasing decryption material, not a post-deployment audit control. If the platform cannot demonstrate a compatible confidential-computing posture, the safer choice is to keep the weights out of that environment entirely or move to a design where the sensitive portion of the model is never exposed to the provider in decrypted form.
What to require from vendors before you trust inference
Security teams should ask vendors to show how they protect weights during loading, execution, scaling, and restart. The minimum useful answer is not a policy statement, but a technical description of how attestation, key release, enclave or confidential VM boundaries, and operational logging work together during the full inference lifecycle.
Third-party inference contracts should also make clear who can access runtime telemetry, snapshots, core dumps, debug interfaces, and accelerator management layers. Those paths often become the practical route to model exposure even when the storage layer is encrypted. Third-Party AI Risk Guide is relevant because it treats vendor assurance, deployer duties, and contractual controls as part of the protection model, not as afterthoughts.
Where the provider uses shared infrastructure, teams should also confirm whether tenant isolation is enforced at the compute and accelerator layer, not just at the application tier. Shared hosting can be acceptable only if the provider can demonstrate that one tenant cannot observe another tenant’s decrypted weights or execution state.
Risk and Threat Considerations
Third-party inference creates a concentrated confidentiality risk because the model must be available in memory to do useful work. If the provider, a malicious insider, or a compromised management plane can reach that runtime state, the weights may be copied, reconstructed, or indirectly inferred even when the rest of the stack appears well controlled.
Failure mechanism: The security model fails when decryption happens before trust is established, or when the attestation signal is weak enough that an untrusted host still receives the weights. Shared compute, exposed debug paths, and privileged platform access can then turn a protected model into a recoverable asset.
Impact: The result can be model theft, unauthorized reuse, service cloning, and loss of intellectual property or competitive advantage. In some environments, exposure of the weights can also enable follow-on attacks against downstream systems that rely on the model’s behavior or embedded business logic.
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 surface, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Protects model weights and release keys from exposure in third-party runtime environments. |
| NHI-06 — Insecure Cloud Deployment Configurations | Third-party inference depends on cloud/runtime configuration that must preserve isolation and attestation. | |
| NHI-07 — Long-Lived Secrets | Inference environments often depend on release material and access secrets that should not persist longer than needed. | |
| Recommendation — Gate key release to attested enclaves and keep model weights from being exposed outside verified runtime state. Validate confidential-compute settings and refuse deployments that cannot prove trusted runtime isolation. Use short-lived release credentials so model decryption is never tied to durable secrets in the provider environment. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Identification and Authentication (Non-Organizational Users) | Third-party inference requires strong machine-to-machine authentication before releasing model material. |
| SC-40 — Wireless Link Protection | Not selected | |
| SC-39 — Process Isolation | Runtime confidentiality depends on isolating model execution from the provider host and other tenants. | |
| Recommendation — Use mutual authentication and attestation-backed trust before allowing the inference platform to receive weights. Enforce process and memory isolation so decrypted model weights stay confined to the approved execution boundary. | ||
| ISO/IEC 27001:2022 | A.8.24 — Use of cryptography | Encrypting weights and controlling decryption are central to protecting model confidentiality in third-party inference. |
| Recommendation — Require cryptographic protection with controlled key release for sensitive model artifacts and runtime decryption. | ||
| CIS Controls v8 | CIS-6 — Access Control Management | Vendor and platform access paths determine who can reach runtime model material. |
| Recommendation — Restrict and review access paths that could expose model weights, memory, or accelerator management interfaces. | ||
Practitioner Guidance
What to verify: Require proof that the provider releases decryption material only after a successful attestation check, and verify what state is measured. Ask for the exact trust boundary around the host, hypervisor, and accelerator, because “encrypted at rest” is not enough for inference.
Decision rule: If the vendor cannot prove runtime isolation or cannot explain how weights remain confidential during active inference, treat that environment as unsuitable for sensitive models. If business pressure forces a temporary exception, reduce the blast radius by using a smaller model, limiting access paths, and keeping the most sensitive weights out of the provider entirely.
Practitioner takeaway: For third-party inference, confidentiality is won or lost at runtime, so the real control is conditional release of the weights into a verifiably trusted execution environment.
Related resources from NHI Mgmt Group
- How should security teams assess third-party AI model repositories before allowing model downloads into enterprise environments?
- How should security teams implement AI third-party risk management in environments where employees adopt tools outside procurement?
- How should security teams govern third-party AI systems without losing visibility into provenance and model behaviour?
- How should security teams reduce the risk of AI-enabled intrusion chains in environments with many third-party integrations and service accounts?
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