AI & Automation6 min readNetray Engineering Team

Securing Model Weights: Custody, Encryption, and Exfiltration Prevention

Model weights are a distinct asset class that most security programs were not built to protect. A fine-tuned Llama or Qwen3 checkpoint trained on your engineering drawings, service history, or proprietary process data is effectively a compressed, queryable copy of that data, and it does not trigger the same alarms a database export would. A multi-hundred-gigabyte file copied to a laptop looks like routine model development activity right up until it is sitting on a competitor's server or a foreign national's hard drive. Securing weights means treating them as controlled technical data from the moment training finishes: custody tracked, encrypted at rest and in transit, access scoped to named individuals with a business reason, and network paths monitored for the kind of large, unusual transfer that a weight file produces.

Why Model Weights Are a Distinct Asset Class

A fine-tuned model encodes patterns from its training data in a form that is hard to reverse-engineer casually but not impossible for a motivated actor with the right extraction techniques, and it is directly usable the moment it is copied out, unlike a database dump that needs further processing. For manufacturers fine-tuning on proprietary process parameters, service manuals, or ITAR-adjacent technical data, the resulting checkpoint inherits the sensitivity of its training inputs even though it is a binary blob of numbers, not readable text. Classify every fine-tuned or domain-adapted checkpoint at the same sensitivity level as its highest-classification training input, and require the same handling controls a document with that classification would get.

Chain of Custody From Vendor to Inference Node

Track a model checkpoint's location and every transfer from the moment it is downloaded or produced by training, through storage, to the specific inference node running it. Every copy operation should be logged with who initiated it, why, and where it landed. Delete working copies from training environments once a checkpoint is promoted, rather than leaving orphaned copies scattered across scratch storage where they are unmanaged and unmonitored. This matters as much for open-weight base models as for your own fine-tunes, because a base model with your custom system prompts, retrieval configuration, and tool integrations attached represents meaningful competitive information even before any fine-tuning happens.

  • Log every copy, move, and download of a checkpoint with initiator, destination, and business justification
  • Delete orphaned working copies from training scratch storage on a scheduled sweep, not manually
  • Maintain a single authoritative registry of where each checkpoint version is permitted to reside
  • Treat configuration, prompts, and retrieval setup attached to a base model as part of the protected asset

Encryption at Rest and in Transit

Encrypt model storage volumes at rest using full-disk or filesystem-level encryption tied to keys managed outside the storage system itself, so a stolen drive or an improperly decommissioned server does not hand over readable weights. For transit, even inside your own network, require TLS between model storage and inference nodes rather than relying on network segmentation alone, since segmentation can be misconfigured or bypassed by a compromised host inside the boundary. Key management is the part teams underinvest in: use a dedicated key management service or hardware security module rather than storing decryption keys alongside the encrypted data, and rotate keys on a documented schedule tied to personnel changes on the team with access.

  • Full-disk or filesystem encryption on all storage holding model weights, keys managed separately
  • TLS required between storage and inference nodes even within a trusted internal network segment
  • Dedicated key management service or HSM, never keys stored alongside the encrypted weights
  • Key rotation tied to a documented schedule and to personnel offboarding on the access list

Access Controls: Who and What Can Touch the Weights

Scope access to named individuals and service accounts with a documented business reason, reviewed quarterly, not to a broad engineering group by default. Separate read access needed to run inference from write and delete access needed to manage the storage, and require a second approval for any bulk export operation exceeding a defined size threshold. Give inference services their own scoped service identity rather than a shared credential, so that a compromised inference container cannot also delete or exfiltrate other model versions it has no operational need to touch. Access recertification should be an explicit calendar event, not something that happens only when someone asks.

Preventing Exfiltration

Model weight files are large, which is both the risk and the detection opportunity. Monitor outbound network traffic and internal file transfers for volumes consistent with a weight file, and alert on any transfer of that size to an unapproved destination, including personal cloud storage and removable media. Block outbound internet access entirely from inference and training nodes where the deployment does not require it, which is the single most effective exfiltration control for air-gapped and semi-isolated environments. Insider risk deserves explicit attention: the person most capable of exfiltrating a checkpoint undetected is the engineer who trained it and knows exactly where every copy lives, so custody logging and access reviews matter even for your own team.

  • Data loss prevention rules tuned to the file sizes and formats typical of model checkpoints
  • Default-deny outbound internet access on training and inference nodes unless explicitly required
  • Alerting on bulk transfers to removable media, personal cloud storage, or unapproved external endpoints
  • Insider risk review that includes the training team, not only external-facing access points

How Netray Secures Model Weights for Regulated Manufacturers

Netray designs weight custody, encryption, and access control into the deployment architecture from day one for aerospace, defense, and other regulated manufacturing clients, rather than layering security on after a model is already running. We deliver a documented custody registry, scoped service identities for every inference and training workload, and outbound network controls tuned to catch exfiltration attempts sized like a real checkpoint. For clients fine-tuning on export-controlled or CUI-adjacent technical data, we treat the resulting checkpoint with the same handling requirements as the source data itself, and we build the access recertification process into your existing security review cadence instead of creating a parallel one.

Frequently Asked Questions

Are fine-tuned model weights considered sensitive data?

Yes, at least at the sensitivity level of their training data. A checkpoint fine-tuned on proprietary process parameters or export-controlled technical data encodes patterns from that data and is directly usable once copied, unlike a raw database export that needs further processing. Classify fine-tuned checkpoints at the same handling level as their highest-classification training input and apply matching access, encryption, and transfer controls.

How do you prevent model weight exfiltration on an internal network?

Default-deny outbound internet access from training and inference nodes wherever the deployment allows it, and monitor internal file transfers and removable media for volumes consistent with a weight file, alerting on any transfer to an unapproved destination. Scope access to named individuals with logged business justification, and treat bulk export operations above a size threshold as requiring a second approval rather than a single click.

Do open-weight models like Llama or Qwen3 need the same protection as fine-tuned checkpoints?

The base weights themselves are publicly available, so custody of the unmodified download matters less than for a fine-tune. What still needs protection is everything attached to that base model in your deployment: system prompts, retrieval configuration, tool integrations, and any adapter or LoRA weights trained on your data, all of which represent real competitive and technical information even though the base model does not.

What is the biggest gap in most companies' model weight security?

Treating multi-gigabyte checkpoints as routine engineering files rather than controlled technical data. Teams that would never let a document with sensitive drawings sit on an unencrypted laptop routinely leave fine-tuned model checkpoints in unmanaged scratch storage with broad team access and no transfer logging, simply because the file is a binary blob rather than a readable document.

Key Takeaways

  • 1Why Model Weights Are a Distinct Asset Class: A fine-tuned model encodes patterns from its training data in a form that is hard to reverse-engineer casually but not impossible for a motivated actor with the right extraction techniques, and it is directly usable the moment it is copied out, unlike a database dump that needs further processing. For manufacturers fine-tuning on proprietary process parameters, service manuals, or ITAR-adjacent technical data, the resulting checkpoint inherits the sensitivity of its training inputs even though it is a binary blob of numbers, not readable text.
  • 2Chain of Custody From Vendor to Inference Node: Track a model checkpoint's location and every transfer from the moment it is downloaded or produced by training, through storage, to the specific inference node running it. Every copy operation should be logged with who initiated it, why, and where it landed.
  • 3Encryption at Rest and in Transit: Encrypt model storage volumes at rest using full-disk or filesystem-level encryption tied to keys managed outside the storage system itself, so a stolen drive or an improperly decommissioned server does not hand over readable weights. For transit, even inside your own network, require TLS between model storage and inference nodes rather than relying on network segmentation alone, since segmentation can be misconfigured or bypassed by a compromised host inside the boundary.

Fine-tuning on sensitive engineering or process data? Netray will design the custody, encryption, and access controls your weights need before the first checkpoint is trained.