Are open-source models safe to build with?
Short answer: the models can be good enough for many app features, and running them yourself keeps data away from third-party APIs. But what went wrong this autumn was rarely the model's answers. It was the server left open, the model file nobody checked, and agents that follow hidden instructions.
ShipSafe has not tested these models itself. Every point below links to a ShipSafe summary and its original source.
1. The server you run it on
Most self-hosted model servers ship with no login. That is fine on your laptop and dangerous on a public IP.
- Rapid7 found 7,675 Ollama servers answering with no login; 54.8% already listed models planted by strangers. Read the story (Nov 18, 2026) → · Source ↗
- llama.cpp's RPC server let anyone who could reach it write to memory and possibly run code (critical, fixed in b12658). Read the story (Nov 26, 2026) → · Source ↗
- Gradio trusted a forged "localhost" header and let strangers use the operator's Hugging Face token (fixed in 6.32.0). Read the story (Nov 23, 2026) → · Source ↗
- vLLM could put fragments of one user's context into another user's response in one configuration (fixed in 0.21.0). Read the story (Nov 26, 2026) → · Source ↗
2. The model files you download
A model file can carry code, and the weights themselves can be tampered with.
- A fake "llama-3.2-1b-tuned" on Hugging Face stole cloud credentials when loaded; Hugging Face disabled the campaign. Read the story (Nov 24, 2026) → · Source ↗
- Microsoft Research showed editing fewer than 10 neurons can plant a hidden trigger that passes evaluations. Not yet seen in the wild. Read the story (Nov 10, 2026) → · Source ↗
3. How the model behaves inside an agent
When a model drives tools, how well it ignores instructions hidden in files and web pages matters as much as how well it codes.
- In Google DeepMind's test, Kimi K3, GLM-5.3 and DeepSeek-V4.1-Flash each resisted 1% of the strongest attacks; Gemini 4 Argon, the best, resisted 66%. No model was immune. Read the story (Nov 9, 2026) → · Source ↗
- In AWS Kiro Web, agents on DeepSeek v3.2, Qwen3-coder-next, GLM-5 and MiniMax models could repeat hidden tool-call markup and run it as a command (fixed service-side). Read the story (Nov 25, 2026) → · Source ↗
- DeepSeek-Reasonix auto-approved git blame, which a booby-trapped repo could turn into command execution (fixed in 2.53.0). Read the story (Nov 25, 2026) → · Source ↗
4. Cheap hosted open models
Using an open model through a low-cost provider means trusting that provider with your prompts.
- An attacker read OpenRouter requests sent to Phala's DeepSeek V4 Flash server. Read the story (Nov 23, 2026) → · Source ↗
- Novita quietly forwarded MiniMax requests, including OpenRouter traffic, to MiniMax's own API. Read the story (Nov 22, 2026) → · Source ↗
Checklist before you ship with an open model
- Bind Ollama, llama.cpp, vLLM and LM Studio to 127.0.0.1 or a private network. If you need remote access, put an authenticating proxy in front.
- Update the server software as often as your app dependencies; most of the flaws above were fixed in a release.
- Download models only from the original publisher, prefer safetensors over pickle files, and leave trust_remote_code off unless you have read the code.
- Load new models in a container that has no cloud keys or tokens.
- Keep approval on for commands, file writes and network calls when an open model drives an agent, and test it against a file with hidden instructions first.
- Before routing prompts through a cheap provider, check who actually runs the model and what they log.
See every open-source model incident on ShipSafe: Open-source models & self-hosting →