Why a private AI server can end up open to others
Running AI on your own computer keeps your prompts and files off another company's servers. But private is not the same as locked.
By default, Ollama listens on a local address, port 11434, so only programs on that computer can use it. To share it, someone changes a setting called OLLAMA_HOST so that it listens on the network.
Ollama's documentation also says its local connection needs no authentication. So once it listens on the network, it does not ask who is calling. Any device on the office network can use it. If the computer can be reached from the internet, so can strangers.
How common open AI servers are, and what can go wrong
In 2025, Cisco Talos searched the internet with Shodan, a search engine for connected devices, and found 1,139 exposed Ollama servers. About 1 in 5 had a model loaded and answered requests. In September 2025, Censys counted about 10,600 open Ollama servers, after filtering out decoys.
Cisco lists what an outsider can do with one:
- use it for free computing, so the owner carries the cost
- steer the model into producing harmful content
- load untrusted models or other harmful files onto it
- query it again and again to copy how the model works
What about AI servers that have a key?
Some AI servers offer a password, called an API key. vLLM, a widely used server for running models on your own hardware, is one. But its security documentation says the key protects only addresses that start with /v1, /v2, /inference and /cohere.
Many other sensitive addresses have no authentication, including ones that pause the server or update the model. vLLM advises not to rely on the key alone.
What the PDPA expects from your business
The Personal Data Protection Act 2010 sets seven principles for handling personal data. One is the Security Principle in section 9. It says a business must take practical steps to protect personal data from loss, misuse, and unauthorised or accidental access or disclosure.
The steps should fit the harm a leak would cause, where the data is stored and the equipment that holds it. If staff paste customer details into a shared AI tool, that computer holds personal data too.
The 2024 amendment raised the stakes. The maximum penalty for breaching the principles rose from RM300,000 or 2 years in jail to RM1 million or 3 years, or both. Data processors, who handle data for a business, must now follow the Security Principle too.
The limit of the evidence
Cisco found that about 80% of the open Ollama servers it scanned had no model loaded. So an open server is not proof of a leak. But Cisco notes that even an idle open server can be misused, for example to overload it or to reach other systems. The risk is not running AI yourself. It is sharing it unlocked.
Where this comes from
- Ollama, FAQ: the default local address, the OLLAMA_HOST setting and running behind a proxy
- Ollama, API authentication: no authentication locally, an API key for its cloud service
- vLLM, security documentation: what the key covers and does not cover, and the proxy advice
- Cisco Talos, a Shodan case study on Ollama, September 2025: the counts, the risks and the recommendations
- Censys, open Ollama instances, September 2025: about 10,600 exposed servers
- Department of Personal Data Protection, Personal Data Protection Act 2010: sections 5 and 9
- Attorney General's Chambers, Personal Data Protection (Amendment) Act 2024, Act A1727: the higher penalty and the duty of processors
- Department of Personal Data Protection, application of the Act: who the Act covers

