Skip to main content
A small server glowing amber on an empty office desk at night, its cable running out through an open window into a stormy sky, while the company's proper server room sits behind a locked glass door in cool blue light.

Cybersecurity

The AI Server Nobody Told Security About

CybersecurityAI
Charles Redding15 min read
The AI Server Nobody Told Security About
By Charles Redding, Founder, DLegendDigital — December 1, 2026

On October 7, 2026, researchers at Lumen's Black Lotus Labs described a criminal operation that had been running since April. Its malware, which they named PoeLLM, had broken into more than 3,400 servers, most of them in the United States and Western Europe. Most of the targets weren't banks' core systems or hospital records. They were the small AI tools companies have been setting up for themselves, such as model servers and AI switchboards, along with developer tools and a few security devices that sit next to them. Once inside, the attackers used the machines to mine cryptocurrency and to hunt for the next victim.

Two weeks later, on October 21, the company behind one of those AI switchboards, LiteLLM, had a worse day. Someone used stolen logins belonging to three of its engineers to publish a poisoned version of its software, which sat on public download sites for about two hours. The code was built to steal cloud passwords, AI account keys and saved browser logins from anyone who installed it. LiteLLM's own account of how the attacker got those logins is the part I keep coming back to: it believes they were taken from the logs of one of its own internal AI servers, one that had been left reachable from the public internet.

Read that again. The people who build the tool lost track of one of their own AI servers. If the experts can leave one of these machines open to the world, how sure are you that you know about all of yours?

What Happened in October#

Start with PoeLLM, because it shows how ordinary the attack is. The researchers say the operators scanned the internet for a few well-known door numbers. Every program that listens for connections uses a numbered "port," the way an office building has numbered loading docks; LiteLLM and a popular PDF-conversion tool both use predictable numbers out of the box. When the scanners found one of those docks open, they sent a single crafted request that told the server to download the malware. For LiteLLM, they used a flaw that had been fixed back in May. The servers they got into were the ones nobody had updated.

Once a server was infected, it did two jobs. It ran cryptocurrency-mining software, which turns someone else's electricity and computing power into money for the attacker. And it became a scanner itself, looking for more open docks to break into. At the peak in mid-June, nearly 2,200 servers were affected, with close to 800 active on a given day. In recent months the infected machines had started trying passwords against other companies' remote-login screens too.

There is a detail in this story that sounds clever and shouldn't distract you. The criminals hid the address of their control server inside a poem posted on a public code-sharing site, changing a few words each time they moved. That is a trick for staying hidden from defenders. It isn't how they got in. They got in the boring way: a known flaw, a server facing the internet, and nobody watching it.

It is also fair to say this particular campaign appears to be over. Lumen reported the operation to the code-sharing site, the poem's page is gone, and Lumen says the campaign now appears to be fully disrupted. That's good news. It doesn't change the lesson, because the thing PoeLLM fed on, AI servers that nobody owns, is still out there for the next group.

Now the LiteLLM break-in. LiteLLM is an open-source "AI gateway," a switchboard that sits between a company's applications and the AI services they call. Instead of every program holding its own keys to every AI provider, the programs talk to the switchboard, and the switchboard holds the keys and keeps the records. That is a sensible design. It also means the switchboard is holding the keys to every AI account the company pays for.

According to LiteLLM's account, as reported by Help Net Security and summarized by the Cloud Security Alliance, it found an innocuously named user account on an internal deployment that was exposed to the public internet. It suspects, but has not confirmed, that the attacker came in through a recently fixed flaw. The company also said an AI coding assistant sometimes wrote a developer's login token into its replies, and where those replies were logged, the tokens landed in the logs. An attacker who can read the logs can read the tokens. Three engineers' tokens later, the attacker could change how the company publishes its software. About four and a half hours after the poisoned version started stealing keys, the attacker was already testing the stolen cloud keys.

Two events, two weeks apart, the same root cause: an AI server that sat outside the normal rules.

How an AI Server Ends Up Outside Security's View#

None of this requires anyone to do something reckless. It usually starts with good intentions.

A developer wants to try an open AI model without sending company documents to an outside service. That's a reasonable instinct, and in many cases the right one. They install a free tool such as Ollama on a spare machine or a small cloud server. By default, Ollama only listens to the computer it's installed on; its own documentation says it binds to the local machine unless you change one setting. Then a colleague asks to use it too. The developer changes that one setting so the tool listens on every network connection. Now anyone who can reach that machine can use it, and the tool's own programming interface has no built-in login. Nobody asked the network team, because it was a test.

A month later, three teams are using it. Someone puts a switchboard like LiteLLM in front of it so the same programs can also reach paid AI services, and pastes in the company's paid AI keys. Someone else connects a document-processing tool so the AI can read contracts. It's now doing real work. But it still isn't on the list of systems the company tracks, so it isn't in the monthly patch cycle, nobody is watching its logs, and nobody knows it holds keys worth money.

Think of it as a second front door that was added to the building after the floor plan was drawn. The security guard walks the floor plan every night. The new door isn't on it.

The research says this is common, though the numbers need care. Researchers at SentinelOne and Censys, scanning over about ten months and reported in January, found roughly 175,000 Ollama servers reachable from the internet across 130 countries, and about half of them could do more than answer questions: they could call other tools or run code. But more than half of those machines sat on home and telecom internet connections, which tells you a large share belong to hobbyists, not companies. I'd rather give you the honest version: nobody knows exactly how many of these exposed servers belong to businesses. What we do know is that every business with developers has the same path open to it.

What Attackers Actually Want From It#

It's tempting to think a test AI server holds nothing worth stealing. Here is what it actually offers an attacker.

Free computing power. AI models need powerful hardware, and that hardware is expensive to run. A hijacked AI server can mine cryptocurrency, as PoeLLM did, or run the attacker's own AI work for free. Researchers at SentinelOne summed up the bargain neatly: the victim pays the electricity bill while the attacker gets the output.

Your paid AI accounts. A switchboard holds the keys to every AI service your company pays for, the way a building's key cabinet holds every office key. Steal the cabinet and you don't need to pick any locks. Security firm GreyNoise watched one campaign, starting in the last days of 2025, make more than 80,000 probing connections over eleven days, testing dozens of AI model addresses to find misconfigured switchboards that would hand out free access to paid AI services. When an attacker finds one, the charges land on your bill.

Whatever passes through it. The point of a company AI tool is that people feed it real work: contracts, customer emails, code, financial figures. A flaw disclosed in May in Ollama, which researchers nicknamed "Bleeding Llama," let anyone who could reach the server read pieces of its memory without logging in. That memory can include stored keys, the instructions the company gave the AI, and other people's conversations with it. A fix exists. It only helps servers somebody updates.

A way into everything else. A server inside your network that attackers control is a launch point. PoeLLM's infected machines scanned for new victims. LiteLLM's exposed internal server gave the attacker the tokens to change how the company releases its software. The AI tool is rarely the prize. It's the unlocked side door into the building where the prizes are.

And attackers are looking. GreyNoise set up decoy AI servers and recorded more than 91,000 attack sessions against them between October 2025 and January 2026. The LiteLLM flaw that PoeLLM used went onto the US government's list of flaws known to be used in real attacks in June, a month after the fix came out. This isn't a theoretical risk that might arrive someday. The scanning is already happening every day.

This Isn't the Agent Problem#

In October I wrote about AI agents having more access than their owners realize: what software is allowed to do once it's inside your systems. This is a different and in some ways simpler problem. It isn't about what the AI decides to do. It's about the box the AI runs on: whether anyone knows it exists, whether it can be reached from the internet, and whether anyone updates it.

That distinction matters because the fixes are different. Agent permissions are a design question, and the answers are still being worked out across the industry. An exposed, unpatched server is a solved problem. We have known how to handle it for decades. The only new part is that the server has an AI model on it, so it got set up by people who don't think of themselves as running servers.

The Strongest Argument for Not Worrying#

There's a reasonable case that this is overblown, and you should hear it.

The PoeLLM campaign appears to have been shut down. Many of the exposed servers in the big counts are hobby machines in people's homes. Most companies use AI through large commercial services, where the provider runs the servers and handles the patching. And a lot of what attackers get from a hijacked AI server, computing power and some free AI usage, is a nuisance rather than a catastrophe.

All true. Here is why I still think it deserves a Monday-morning slot. First, the companies most likely to set up their own AI servers are the ones handling sensitive data, because keeping data in-house is often the whole reason they chose to run the model themselves. The tool you set up to protect your data becomes the place it leaks. Second, the cost isn't only a bigger AI bill. LiteLLM's case shows how a forgotten server can hand an attacker the keys to something much larger. Third, IBM's yearly breach-cost study, released in July, reported a sharp rise in breaches involving AI tools employees use without approval, and found that most organizations hit through AI didn't have proper access controls on it. I'm not repeating its exact figures because they come from a single company's study, but the direction matches everything else in this post.

The honest summary: any single exposed AI server is probably a modest risk. A company that has no idea how many it has is carrying a risk it can't size at all.

How This Impacts Your Organization#

The principle is the same at every size: an AI server is a server, and it needs an owner, a place on the list, a lock on the door, and a patch schedule. What changes with size is how these servers appear, how many you're likely to have, and where your leverage sits.

Large Enterprises (1,000+ employees)

Your problem isn't one rogue server; it's dozens of them, set up by different teams in different cloud accounts, each one reasonable on its own. The real risk is that nobody can answer a simple question: how many AI servers do we run, and which ones can the internet reach? You already own tools that answer that question for ordinary servers, such as cloud account monitoring and external scanning of your internet addresses. They often aren't told to look for AI tools specifically.

Your leverage is that the controls already exist. Extend them. Add the default door numbers for common AI tools to your external scans. Require that any AI switchboard holding paid AI keys sits behind your company login, with keys kept in your password vault rather than typed into a settings screen. Name one owner for the inventory of self-hosted AI tools, and have that person report the count to your security leader every quarter. The concrete move: a one-time sweep of your cloud accounts and internet-facing addresses for AI tools this quarter, followed by a rule that new ones get registered before they get keys.

Mid-Size Organizations (100–999 employees)

You feel this fastest. You probably have a handful of developers who are curious and capable, no team dedicated to cloud security, and a culture where trying something on a spare machine is how good work gets done. That's how the test server becomes the team's shared AI tool without anyone deciding it should.

The overcorrection to avoid is banning self-hosted AI outright. It doesn't remove the servers. It drives them onto personal cloud accounts and home machines where you have even less visibility. Instead, make the safe path the easy path. Ask your developers, without blame, to tell you about any AI tool they've set up in the last year; you will learn more from one friendly question than from a policy memo. Put every one you find behind your VPN (the private connection staff use to reach internal systems) or your company login. And add them to whatever monthly update routine you already run for other servers, even if that routine is one person and a checklist.

Small & Growing Organizations (under 100 employees)

Honest counsel: most companies your size don't need to run their own AI server at all. A paid business account with a large AI provider, with a monthly spending limit set, gives you the capability without the maintenance. If someone on your team has set one up anyway, that's fine; just keep it on the one machine that uses it, which is how these tools come out of the box.

Two small checks are worth doing this month. Ask whoever set up your office internet whether any "port forwarding" rules exist, which are settings that let outsiders reach a computer inside the office. And if you've ever pasted a paid AI key into any tool, set a spending limit on that AI account today. A limit won't stop someone stealing the key, but it caps what they can spend on your behalf.

What to Do Monday Morning#

  1. Ask your teams one question, without blame: "Have you set up any AI tool on a server, cloud account or spare machine this year?" It costs nothing, and it will find more than a scan, because people know what they've built. Make it clear the answer won't get anyone in trouble.
  2. Set a spending limit on every paid AI account your company holds. It's free, takes minutes in each provider's billing settings, and turns a stolen key from an open-ended bill into a capped one.
  3. Check what the internet can see. Ask whoever manages your firewall or cloud accounts for a list of every system reachable from the internet, and look for AI tools on it, including the default door numbers for tools like Ollama and LiteLLM. If they can't produce the list, that's your real finding.
  4. Put every self-hosted AI tool behind a login. If a tool has no login of its own, it belongs behind your VPN or a company sign-in page, never directly on the internet. This is the single change that would have kept most PoeLLM victims out.
  5. Move AI keys out of settings screens and into your password vault, and change them. Any key that has sat in a forgotten server's settings or logs should be treated as seen. Issue new ones and retire the old.
  6. Add self-hosted AI tools to your monthly patch routine. Both flaws described above had fixes available weeks or months before attackers used them. A server that gets updated monthly would have been on the safe side of both.
  7. Treat AI tool logs as sensitive. Logs from AI tools can hold whatever passed through them, including passwords and tokens, as LiteLLM found. Limit who can read them, decide how long to keep them, and turn off full-conversation logging unless someone has a specific need for it.

If You Want a Place to Start#

The first two functions of the NIST Cybersecurity Framework, Identify (know what you have) and Protect (control who can reach it), describe this problem almost exactly, and they are free to read. If your organization already uses the framework, the fastest win is to make sure your asset list explicitly includes self-hosted AI tools and the keys they hold. If you want a second set of eyes on where AI tools are hiding in your environment, that's the kind of short, focused review that's worth more than a broad audit. Either way, the steps above don't depend on buying anything.

The Uncomfortable Truth#

So, if the people who build these tools can leave one of their own AI servers open to the world, how sure are you that you know about all of yours? For most organizations, honestly, not sure at all. And that's the finding. Not that AI is uniquely dangerous, but that it has given a lot of capable people a reason to set up servers without thinking of themselves as people who run servers.

The good news is that this one is fixable with skills your organization already has. Nobody needs a new kind of AI security product to answer "what do we have, who can reach it, and is it up to date?" Those are the same three questions security teams have asked about every server for as long as there have been servers. The work is pointing them at the new boxes.

Over the next year, expect more campaigns like PoeLLM, because the math works for attackers: these servers are powerful, often unwatched, and frequently hold keys to paid services. Expect the tools themselves to get safer out of the box, too. Until then, the AI server nobody told security about is the one that will cause the trouble. The fix starts with telling them.

— Charles Redding

#shadow-ai#attack-surface#self-hosted-ai

About the author

Charles Redding

Founder of DLegendDigital. 35+ years of enterprise technology leadership across audit, risk management, cybersecurity, and AI. Former CIO, VP of Technology, and Director at organizations ranging from high-growth startups to $4.3B global enterprises.

The Current

Get next week's brief before it hits the blog.

Practical cybersecurity, AI governance, and compliance notes — one email, every Friday.

Free. Unsubscribe any time.

Keep reading

All posts →