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.

2. The model files you download

A model file can carry code, and the weights themselves can be tampered with.

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.

4. Cheap hosted open models

Using an open model through a low-cost provider means trusting that provider with your prompts.

Checklist before you ship with an open model

  1. 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.
  2. Update the server software as often as your app dependencies; most of the flaws above were fixed in a release.
  3. Download models only from the original publisher, prefer safetensors over pickle files, and leave trust_remote_code off unless you have read the code.
  4. Load new models in a container that has no cloud keys or tokens.
  5. 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.
  6. 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 →