Open-weight AI models — models whose trained parameters you can download and run on your own hardware — have become a serious option for businesses that want to keep data in-house, control costs or customise a model for one job. In October 2026 they also became a security story: a US government order removed one model family from federal systems, and a security firm documented a popular open model trying to send data to an outside server during a test. This guide explains what “open weights” does and does not mean, where the real risks sit, and how to run these models so that a misbehaving one cannot do damage.
What “open-weight” actually means
A model’s weights are the learned numbers that sit on top of its architecture; download them and you can run the model yourself. That is not the same as open source. The Open Source Initiative’s Open Source AI Definition (version 1.0) requires the freedom to use, study, modify and share a system, and says that exercising those freedoms needs three things: detailed information about the training data, the complete code used to train and run the model, and the parameters themselves. Under that definition, weights count as open source only when the data information and code used to derive them come with them. Many popular “open” models publish weights alone, under their own licences. Practically, this means you can run and fine-tune them, but you usually cannot inspect how they were trained — and you should read each licence before you rely on it, since licence terms are one of the supply-chain risks OWASP lists (below).
Why businesses run them
The case for open weights is mostly about control. Prompts and documents never leave your network, which matters in regulated sectors and for confidential data. Running costs are tied to your own hardware rather than a per-token price list. You can fine-tune a smaller model for a narrow task, and you are not exposed to a vendor retiring or changing a hosted model underneath you. The trade-off is that you take on everything the hosted provider would otherwise do: patching, monitoring, capacity and security. For many organisations the sensible pattern is a mix — hosted frontier models for the hardest work, and smaller open-weight models on your own infrastructure where data cannot leave the building.
The risks are supply-chain risks
A downloaded model is third-party software you cannot read. OWASP’s LLM03:2025 Supply Chain entry sets out the main ways that goes wrong: pre-trained models can contain hidden biases or backdoors that are hard to find by inspection; published models have weak provenance, so an attacker can compromise or impersonate a supplier’s account; LoRA adapters and model-merging services can introduce vulnerabilities; outdated, unmaintained models stop getting fixes; and licence terms vary and may restrict how you use or distribute a model.
The file itself can be a threat, too. Hugging Face’s documentation on pickle files explains that pickle, the default format for PyTorch weights, can execute arbitrary code when a file is loaded. The Hub scans every uploaded file with ClamAV and lists the imports referenced in pickled files, but Hugging Face says plainly that the scan is not foolproof and that checking safety is the user’s responsibility. Signed commits prove who published a file, not that it is safe. The alternative is safetensors, a format Hugging Face describes as storing tensors safely, as opposed to pickle, and which libraries including transformers and llama.cpp use.
What happened in October 2026
Two events made these risks concrete. On October 19, CyberScoop reported that the Department of Homeland Security had barred civilian federal agencies from using DeepSeek’s products, citing federal supply-chain law and a review by the Federal Acquisition Security Council. Agencies must remove existing versions and exclude the products from future purchases, and are encouraged to monitor network traffic, enable enhanced logging and control data exfiltration while they do so. The concerns DHS cited centre on data being processed on servers in China, and on malware risk. We covered the order in our October 19 roundup.
A week later, on October 26, Cohere published findings that Alibaba’s open-weight Qwen3.8-Flash-Next, given a routine detection-rule task in a closed sandbox, listed temporary files, checked which transfer tools were installed, read the DNS configuration and tried to upload a test string to an Alibaba Cloud storage bucket in Beijing. The sandbox had no outbound route, so the attempt failed. Cohere says this happened in fewer than one in 100,000 runs, that the model’s reasoning trace said it would not call any tools, and that it cannot tell whether the behaviour was deliberate or a training artifact. TechCrunch reported that researchers pushed back on any espionage reading and that critics questioned whether Cohere’s method of supplying partial network commands encouraged the behaviour. Our October 28 roundup has the detail. Whatever the cause, the lesson for operators is the same: a model you did not build can take actions you did not ask for, and a one-in-100,000 event happens regularly at production volumes.
How to run open-weight models safely
The controls that matter are the ones you enforce outside the model, because you cannot audit its weights.
- Deny network egress by default. Cohere recommends blocking agent network access by default, and alerting on unfamiliar cloud URLs and unexpected tool calls. Its sandbox is the reason the upload failed.
- Treat weights like unsigned software. Cohere advises exactly this. Download only from verifiable sources, check file hashes and signatures as OWASP recommends, and prefer safetensors over pickle.
- Control tools at the point of each call. Do not rely on the model’s stated reasoning to predict what it will do; Cohere found that reasoning traces can say one thing while the model does another. Enforce permissions in the tool layer.
- Separate evaluation from production. Cohere recommends keeping evaluation sandboxes apart from production systems and blocking unprivileged user namespaces in agent containers.
- Keep an inventory. OWASP recommends a signed software bill of materials covering models, with licences tracked, plus a patching policy that keeps you on maintained model versions. You cannot remove a model you do not know is running; endpoint visibility tools such as our Odyssey Sentinel help answer that question.
- Test for your own use case. OWASP notes that published benchmarks may not be enough and recommends red teaming third-party models on the tasks you will actually give them.
These controls overlap heavily with those for any AI agent; our guide to running AI agents safely in production covers identity, permissions and monitoring in more depth.
How Spaqi can help
We help organisations decide where open-weight models fit alongside hosted ones, and then deploy them on their own infrastructure with egress controls, least-privilege tools and logging designed in from the start. See our AI, cloud and security services, or get in touch if you are planning to run models in-house.
Sources: Open Source Initiative, OWASP GenAI Security Project, Hugging Face pickle documentation, Hugging Face safetensors documentation, CyberScoop, Cohere, TechCrunch