MOSIR
No. 22 · Free Published by MOSIR
The lead

An SGLang flaw let an attacker run code on NEAR AI's confidential inference server

NEAR AI says an attacker used a remote code flaw in SGLang, the open-source serving engine, to run code on one inference server on Nov. 8 and possibly watch confidential requests.

NEAR AI, which sells AI inference that runs inside hardware-protected enclaves, said on Nov. 9 that an attacker exploited a remote code execution flaw in SGLang, the open-source inference engine on its servers. The attacker ran code on one inference server and, according to the company, could have observed requests processed there on Nov. 8, including requests sent in its confidential mode.

From that foothold the attacker reached an internal system behind Private Chat, a product NEAR AI had already deprecated, and downloaded names, email addresses and, for some accounts, plan and balance details for about 100 users. The attacker also pulled chat history, settings and logs for 18 agents on a legacy deployment that did not run inside the enclave, and found two cloud customers' API keys written in logs. NEAR AI says it found no sign that stored Private Chat conversations or uploaded files were taken.

The company revoked sessions and administrator credentials, replaced agent tokens, took Private Chat offline, patched SGLang on all inference servers and reported the flaw to the SGLang project. It has not named a CVE or the SGLang version, and has not said when it detected the intrusion. NEAR AI's own explanation is the core lesson: confidential computing protects data from the operator and the host, not from flaws in the software running inside the protected environment.

SGLang already carried a long list of public flaws. CERT/CC published five notes on it this year covering at least 14 vulnerabilities, several involving Python's unsafe pickle loader, and its July 30 note said no patches were available from the maintainers. Which of those, if any, NEAR AI's attacker used is not known.

Why it mattersSGLang is one of the three engines most often used to serve open-weight models on owned hardware, and this is the first public case of an attacker taking over a production SGLang server and reading user data from it.

For consultantsConsultants running SGLang for clients should set SGLANG_USE_PICKLE_IPC to false, bind its internal sockets to loopback, keep API keys on, block unused admin endpoints at the proxy and strip keys from logs before shipping them anywhere.

Story page

Railway says stolen customer AI keys ran up about $740,000 in charges

Hosting platform Railway's final report says an October intruder decrypted customer secrets, hunted for AI provider keys and ran up about $740,000 in usage. Refunds depend on which provider issued the key.

Railway, a cloud platform where developers host apps and store their settings as environment variables, published its final report on an October intrusion and estimates about $740,000 in unauthorized AI spending on keys taken from customers. The company says it will pay charges that providers refuse to refund.

The report's timeline says the attacker partly escaped build isolation on Oct. 20 at 07:28 UTC; the on-call engineer was paged about six and a half hours later. Over the next day the attacker used a build credential to read other builds' histories and copy Railway's internal code, abused a misconfigured OIDC binding to get cloud credentials, pulled encrypted variables from a production database while searching for AI provider key names, and decrypted some of them with a machine credential that had access to the cloud key service. The attacker was removed on Oct. 21 at 09:24 UTC. Railway puts the upper limit at about 100,000 workspaces whose variables could have been decrypted, and says 1,852 users' linked-account tokens were exposed and reset.

Refunds differ by provider, according to Railway as reported by The Hacker News: AWS Bedrock and Google Gemini have started refunds under existing fraud policies; OpenAI and SpaceXSI review claims case by case; talks with Anthropic continue while Railway covers those costs; OpenRouter does not refund, so Railway will cover all of it. Railway says each build now runs in its own short-lived virtual machine, has filed a complaint with the FBI, and believes the keys were used by services that resell AI access.

Why it mattersA stolen AI key is cash to an attacker, and this case puts a dollar figure and a refund map on the cost of keeping provider keys in someone else's platform.

For consultantsWhen setting up AI features for clients, issue one key per workload with a hard spend cap, keep keys out of hosted build settings where possible, and confirm in writing whether the provider refunds fraudulent usage.

Story page

Chainstack traces a breach to a test Grafana left on its default admin password

Chainstack says an attacker logged in to an internet-facing test Grafana that still used the default admin password, reached production and took customer names, emails and password hashes.

Chainstack, which runs blockchain nodes for developers, says the intrusion it disclosed on Nov. 3 started with a Grafana dashboard deployed in a development cluster in July with its default administrator credentials and no single sign-on or other login in front of it. The company added technical details and indicators on Nov. 10 and updated the page again on Nov. 11.

According to Chainstack, the attacker logged in on Oct. 26, used Grafana's data-source proxy to reach internal services, picked up machine credentials, reached parts of production on Oct. 29 and was cut off on Oct. 31. Exposed data includes organization names, account holder names, member email addresses and password hashes. Chainstack found no evidence that node credentials were read but treats them as exposed, and says customer nodes, the console and the API were not modified. It reports no software vulnerability was used: the chain was default credentials, exposed admin functions, missing authentication, broad permissions and long-lived credentials.

Chainstack says with high confidence the attacker used ARTEX, an open-source framework that directs AI agents through an intrusion, based on naming markers, tools and behavior. It attributes the tooling, not the actor. Customers are asked to change passwords, rotate node credentials and regenerate platform API keys.

Why it mattersDashboards, model consoles and chat front ends installed for a test are exactly what AI pilots leave behind, and automated attack tooling now finds and uses them within days.

For consultantsBefore handing over any client system, list every web console on it (Grafana, Open WebUI, model managers), change every default password and put each one behind the client's single sign-on or off the internet entirely.

Story page
Tap a headline for the full story
Editor's notes on coverage (10)
  • NEAR AI: facts come from the company's Nov. 9 report and The Block; the CVE and SGLang version were not disclosed, so the link to specific CERT/CC notes is not established.
  • Railway: details come from The Hacker News, BleepingComputer, TechRadar and the Cloud Security Alliance's summary of Railway's final report; Railway's own report page could not be opened this run.
  • Fireworks and Notion: Notion's statements are as reported by The Hacker News; Notion's own notice was not opened.
  • Grok apps: figures are Claroc's, as reported by The Decoder and tbreak; Claroc's own report could not be opened.
  • Spirit Airlines: the Nov. 10 Reuters report could not be opened; its details come from a news digest and are marked unverified.
  • Cathedral and Anthropic: no material development was found since the Nov. 11 edition, so no follow-up runs today.
  • Weather: the point forecast page could not be opened; today's figures come from the National Weather Service Austin/San Antonio area forecast discussion (issued 12:11 p.m. Nov. 11), with temperatures set at the middle of its stated ranges.
  • GPU board: the used RTX 5090 and 4090 rows were refreshed from ResalePrices (Nov. 11); other rows are carried because their sources could not be refreshed.
  • Deals: no new qualifying round was confirmed; Fractile's Series C was updated to the announced figure. Sparxity's reported €80 million round could not be opened and is not logged. The Startup Deal Desk and Beyond The Fishbowl archives could not be opened. The deal log already spans 180 days, so no backfill ran.
  • X could not be read directly; voices are drawn from published reports.

Company & Market Watch

Register checks on six providers and one industrial partnership found in the record.

Register

Register check: PremiSys pairs edge language models with SORBA.ai for factories

A May 2026 release shows PremiSys signed an agreement with SORBA.ai to build and co-sell an industrial AI platform that runs small language models at the edge. PremiSys' headquarters remain unconfirmed.

This week's rolling check of six providers turned up one new record. PremiSys (premisys.ai), listed in Intel's edge AI catalog, signed a memorandum of understanding with SORBA.ai, announced in a May 4 release, for joint development, co-selling and cross-licensing of an industrial AI system that combines SORBA.ai's data and control software with PremiSys' multi-agent framework built on small language models. The release says the focus is manufacturers in the United States and India and that both companies support on-premises and edge installs. Neither company's headquarters is stated.

The other checks found no change. Locai's site and documentation at locai.co.uk remain indexed, with no new announcement since the redirect noted in October. Data443 has added acquisitions in AI agent controls, but no new filing on its on-premises Convaa.ai product was found. ShadeSoft (Richardson), Randall Automation Works and STRATRONIX (Shenzhen) showed no new public record; STRATRONIX still appears only as a trade show exhibitor with no US price or distributor.

Why it mattersEdge language models for factories are one of the few private AI categories with a clear buyer and budget, and partnerships like this show how small vendors reach them.

For consultantsConsultants serving manufacturers should ask edge AI vendors which models run on the plant floor, what leaves the site, and who supports the integration after the pilot.

Story page

Security & Privacy Watch

A public-by-default app builder, and what the Fireworks intruders took from Notion.

Exposure

Grok's app builder left 35,578 apps open to anyone with the link, Claroc finds

Security firm Claroc says 35,578 of 37,571 live apps built with Grok's Build mode opened without a login. Some held patient lab values, staff lists and plaintext passwords.

Claroc, a firm that sells security tools for AI-built apps, checked 37,571 live apps made with Grok's Build mode, which turns a chat description into a web app published on a grok.me subdomain. It reports that 35,578 opened without any sign-in, and estimates 650 to 800 held private data. Examples it describes include patient lab values in an intensive care briefing, a list of more than 3,500 hospital group employees, a fire department shift schedule and a timesheet app with 18 accounts stored in plaintext. Claroc says 30 organizations were affected, six of them Fortune 500 companies, and is withholding names.

The publish dialog on the paid account Claroc used had 'Anyone with the link' preselected, and each app's subdomain becomes searchable in passive DNS records after its first visit. In one test app, the generated code added every signed-in user to the team before checking membership, so an outside Google account could read and edit records.

SpaceXSI told The Decoder that apps stay private until shared, publishing takes several steps, and employee accounts default to 'Only you.' It took 24 apps built by its own and X staff offline but left others online and did not commit to notifying owners; Claroc says it is contacting them.

Why it mattersStaff are building data tools with consumer AI builders on their own, and the defaults decide whether client records end up on the open internet.

For consultantsAsk clients to search DNS and proxy logs for grok.me, set any found apps to 'Only you' or invited users, and add AI app builders to the list of tools that need approval.

Story page
Follow-up

Notion says the Fireworks intruders took some of its AI chat transcripts

Following up the Fireworks breach: Notion says fewer than 1% of workspaces were affected, the data includes Notion AI chat transcripts, and it has stopped serving open-weight models through Fireworks.

The paper's Nov. 11 report, 'Fireworks AI says intruders reached customer datasets and partial model weights,' covered Fireworks' widened disclosure. What is new is the first named customer impact. Notion, the workspace software company, said the incident affected fewer than 1% of Notion workspaces. Its first assessment was that the attacker reached only synthetic test data; later analysis found the data may also include Notion AI chat transcripts used for its Insights feature. For most affected workspaces the transcripts are not labeled with an author or workspace and do not include tool results, Notion said.

Notion has switched off Insights while it investigates and stopped serving open-weight models through Fireworks. It advises affected customers to review the impacted data in their workspace and rotate any passwords or keys pasted into Notion AI during the attack window. Fireworks' own update, as reported by The Hacker News, says the attacker entered its development environment on Oct. 23 through an unnamed third-party cloud provider and links the activity to a group that resells stolen AI access.

Why it mattersNotion users never chose Fireworks; their chats reached it as a subprocessor two steps away, which is the exposure a customer-owned system avoids.

For consultantsFor clients on SaaS tools with built-in AI, ask the vendor which model hosts receive prompts and transcripts, and have staff keep passwords and keys out of AI chats.

Story page

Deals & Capital

One confirmed round, replacing a filing-based estimate in the deal log.

Series C

Fractile confirms a $720 million Series C at a $7 billion valuation

London inference chip maker Fractile announced a $720 million Series C led by Thrive Capital, Founders Fund, Lightspeed and Redpoint, valuing it at $7 billion. Chips are expected to ship in 2027.

Fractile, which designs AI inference chips that stack ordinary DRAM on top of the processor to cut the memory round trips that slow model serving, announced a $720 million Series C on Nov. 11, according to SiliconANGLE, citing Reuters. Thrive Capital, Founders Fund, Lightspeed and Redpoint led, with about a dozen others including the UK Sovereign AI Fund, the British Business Bank and Alphabet's CapitalG. The round values the company at $7 billion.

The paper's deal log had carried the round since Nov. 4 as an unconfirmed estimate of about $774 million, based on UK share filings and press reports. The log now shows the announced figure. Fractile, founded in 2022, plans to sell rack-scale systems with its own software and expects to start shipping chips in 2027. Its performance and energy claims are the company's own and have not been independently tested.

Why it mattersMemory bandwidth, not raw compute, limits how fast large models answer on any hardware, and investors are paying up for chips that attack that limit.

For consultantsFractile sells to data centers, not offices; consultants should treat it as a sign of where inference costs may head in 2027 and 2028, not as hardware to quote.

Story page

What Customers Are Buying

Three ways to buy 'private' inference, and where this week's incidents sat in each.

ModelWho can read requestsWeak point this weekWho patches the engine
Hosted confidential inference (NEAR AI)Not the host operator, by designSGLang flaw inside the enclave; legacy services outside itProvider
Cloud AI through keys on a hosting platform (Railway customers)AI providerKeys decrypted from the platform's stored settingsProvider and platform
Owned server in the officeThe client onlyDefault passwords and exposed consoles (Chainstack pattern)Client or its consultant

Built from the companies' own incident reports; not a ranking.

Analysis

Confidential inference guards data from the host but not from the serving software

This week's incidents map onto three buying models: hosted confidential inference, keys kept on a platform, and an owned server. Each moves the weak point rather than removing it.

Buyers who want privacy without owning hardware are offered confidential inference: a provider runs models inside hardware enclaves that keep the host operator from reading requests. NEAR AI sells this model, and its incident shows the limit it states itself: the enclave protects against the operator, not against a flaw in SGLang running inside it. The buyer still depends on how fast the provider patches the serving engine and whether old services outside the enclave are switched off.

The second model is renting AI from a provider through keys stored on a hosting platform. Railway's case shows the risk sits with whoever holds the keys: the attacker never touched the AI providers, only the place their keys were kept, and the refund depends on the provider's policy.

The third model is an owned server in the client's office. It removes the outside operator and the stored provider keys, but the client, or the consultant, now carries the patch schedule for SGLang, vLLM or llama.cpp and every console installed beside it, which is where Chainstack's attacker got in.

Why it mattersBuyers are comparing these models on price and privacy claims; the useful comparison is who patches the serving software and who holds the keys.

For consultantsIn proposals, name the serving engine and version, who patches it and how fast, and where any provider keys live, for whichever model the client picks.

Story page

Customer Demand & Use Cases

What a large SaaS buyer did when its model host was breached.

Buyer behavior

Notion stops serving open-weight models through Fireworks after the breach

Notion's answer to the Fireworks incident was to pull its open-weight model traffic from Fireworks and pause the feature that used the exposed transcripts, a clear case of a buyer moving inference after a host breach.

Notion, a large buyer of hosted model capacity, did two things after learning the Fireworks intruders may have taken some Notion AI chat transcripts: it stopped serving open-weight models through Fireworks and disabled its Insights feature while it investigates. Notion has not said where that traffic moved.

The move shows how quickly a buyer will change inference hosts when a breach touches customer content, and that open-weight models make the change possible: the same model can run on another host, or on owned hardware, without rewriting the product. For smaller firms the same logic argues for picking open-weight models from the start, so the host is replaceable.

Why it mattersOpen-weight models let buyers leave a breached host without changing the model, which is the portability argument for customer-owned systems.

For consultantsWhen designing a client system, favor open-weight models served through a standard API so the host, cloud or office box, can be swapped without retraining staff.

Story page

GPU & Hardware Market

Market prices for the parts that go into client systems; two rows refreshed today.

ItemMarket priceRangevs. last weekKind of price
RTX 5090 (new)$7,800$7,495 to $8,000Up 4% from $7,500In-stock reseller listing (carried)
RTX 5090 (used)$7,000$6,670 to $7,330FlatMedian eBay ask, Nov. 11
RTX 4090 (used)$3,428$3,258 to $3,542Up 14% from $3,000Average eBay ask, Nov. 11
RTX 3090 (used)$1,565$1,492 to $1,565FlateBay low-listing average (carried)
RTX PRO 6000 Blackwell$17,693$16,325 to $18,636FlateBay low-listing average (carried)
DGX Spark (128GB)$6,950$4,999 (64GB) to $6,950FlatIn-stock retail (carried)
Mac Studio M5 Ultra (base)$5,499$5,499FlatIn-stock retail (carried)
Strix Halo 128GB mini PC$3,449$2,959 to $3,649FlatIn-stock retail (carried)
DDR5 RAM (per GB)$18.75From $15.00FlatMedian in-stock retail, 32GB kits (carried)
Enterprise HDD 20TB+$999$570 refurbished to $999 newFlatIn-stock retail (carried)

Market (resale) prices, not list prices. Week-over-week comparison is against the Nov. 5 board.

Prices

Buy or wait: used RTX 4090 asks hold at $3,428 and the used 5090 median at $7,000

ResalePrices' Nov. 11 data shows the used RTX 5090 median steady at $7,000 and the used 4090 average at $3,428, both up 12% to 14% in 30 days. Other rows are carried.

ResalePrices' Nov. 11 update puts the used RTX 5090 median eBay ask at $7,000 across 252 listings, with an average of $7,139 and a fair asking range of $6,670 to $7,330, up 12.1% in 30 days. The used RTX 4090 averages $3,428 across 54 listings (median $3,400, range $3,258 to $3,542), up 14.3% in 30 days. Both are essentially flat against the Nov. 10 board.

The other rows are carried from earlier boards because their sources could not be refreshed this run: a new, sealed 5090 at about $7,800, the RTX 3090 near $1,565, the RTX PRO 6000 Blackwell near $17,693, the 128GB DGX Spark at $6,950, the base Mac Studio M5 Ultra at $5,499 and a 128GB Strix Halo mini PC near $3,449.

Buy or wait: prices for 24GB and 32GB consumer cards are still rising month over month, so waiting has not paid off this fall. For a client node that must serve a 70B-class model to a small office, unified-memory machines (Mac Studio, DGX Spark, Strix Halo) remain the steadier quote because they sell at retail rather than through resellers.

Why it mattersGPU resale prices set the hardware line of every private AI quote, and a 12% to 14% monthly rise can erase a proposal's margin between signature and purchase.

For consultantsQuote GPU-based nodes with a price valid for 7 days or a hardware allowance, and buy cards when the client signs rather than after.

Story page

Models, Software & Components

The serving engine behind today's lead story, and its open flaw list.

Maturity

SGLang carries at least 14 published flaws, and CERT/CC lists no maintainer fix for most

CERT/CC published five notes on SGLang this year covering at least 14 flaws, many in its use of Python's pickle loader. Its July note said no patches were available and the maintainers did not respond.

CERT/CC, the US vulnerability coordination center, has published five notes on SGLang in 2026. The latest, VU#281278 on July 30, lists six flaws: unauthenticated code execution through the LoRA adapter loading endpoint, code execution through an optional debugging server, a request forgery and local file read through image URLs in chat requests, code execution when loading weights from disk, API keys returned by a server information endpoint, and model weight theft when no API keys are set. The note says no patches were available from the maintainers and that its pickle-based internal messaging setting still defaulted to on. Earlier notes cover the multimodal scheduler socket, which listens on all network interfaces by default, and an expert-parallel backup socket.

CERT/CC's interim advice is to keep SGLang off untrusted networks, segment it, set SGLANG_USE_PICKLE_IPC to false and disable unused endpoints. Third-party trackers report that release 0.5.10 fixed the March pickle flaws; fixes for the later notes are not confirmed. The project is reported to be moving its internal messaging from pickle to msgpack.

The paper's read: SGLang is fast and capable, but on a client node it should run only behind a gateway, with its admin and weight-loading endpoints blocked and API keys required. Where a client's load does not need SGLang's throughput, llama.cpp or a current vLLM (0.32.0 or later) is easier to keep patched.

Why it mattersA serving engine with open code execution flaws and slow maintainer responses is a maintenance liability for a consultant who must keep a client node patched for years.

For consultantsInventory every SGLang process on client systems this week, record its version and listening ports, and close anything not on loopback.

Story page

Open Source for Business

Two self-hosted tools that address this week's entry points: unguarded consoles and stored keys.

IT

IT and access: oauth2-proxy puts a company sign-in in front of any web console (MIT)

oauth2-proxy is a reverse proxy that requires a login through Google, Microsoft Entra, Keycloak or another identity provider before anyone reaches the app behind it. MIT license.

oauth2-proxy sits in front of a web application and sends every visitor to the company's identity provider first, passing through only those who sign in and belong to allowed groups or email domains. It works with Google Workspace, Microsoft Entra ID, Keycloak, GitHub and generic OpenID Connect providers, and runs as a single binary or container.

For a private AI node it is a quick way to put the same sign-in in front of Grafana, a model manager or a chat interface that ships with weak or no login, which is the gap Chainstack's attacker used.

Why it mattersMost consoles installed beside a model server have their own password screens; one sign-in gate removes default credentials from the internet-facing path.

For consultantsPut oauth2-proxy, or an equivalent gateway, in front of every web console on a client node before it leaves the test bench.

Story page
Developers

IT and developers: Infisical keeps API keys in a self-hosted vault (MIT core)

Infisical is a secrets manager that stores API keys and passwords centrally, injects them into apps at run time and records who read what. The core is MIT-licensed and can run on the client's server.

Infisical stores secrets such as AI provider keys, database passwords and tokens in an encrypted central store, hands them to applications at run time instead of leaving them in configuration files, and keeps a record of every read and change. It supports rotation for some secret types and can run on a company's own server. The core is MIT-licensed, with some enterprise features under a separate license.

Railway's case shows the cost of AI keys sitting in a platform's environment variables. A self-hosted vault keeps them on the client's own infrastructure with a log of access.

Why it mattersStolen AI keys are now resold within hours, so where keys live and who reads them is part of a private AI install.

For consultantsOn client installs, keep provider keys and service passwords in a vault with access records rather than in .env files or hosted settings.

Story page

Voices & Rising

The company that was breached, and the researchers who counted the open apps.

Voices

NEAR AI: an enclave cannot protect against flaws in the software inside it

NEAR AI's report says confidential computing shields data from operators and hosts, not from flaws in code running inside the enclave, and pledges the same scrutiny for its serving stack.

In its Nov. 9 report, NEAR AI wrote that confidential computing protects data from the operator and host but not from vulnerabilities in software running inside the environment, which is what happened in its case. The company says its confidential inference code, dependencies and deployment settings remain public, and that it is now applying the same security analysis to the inference software and surrounding services that it applies to the enclave.

The statement is unusual for a vendor whose product is privacy: it names the limit of its own approach plainly.

Why it mattersBuyers hear 'confidential' and 'private' used loosely; a provider stating the boundary of its own guarantee is a useful reference for proposals.

For consultantsQuote NEAR AI's own wording when a client asks whether hosted confidential inference is the same as owning the server.

Story page
Rising

Rising: Claroc counted public Grok apps by searching passive DNS records

Claroc, a small security firm, found 37,571 Grok-built apps by searching passive DNS for grok.me subdomains, then tested which opened without sign-in.

Claroc's method is simple and repeatable: because every Grok-built app gets its own subdomain, each one appears in passive DNS databases after its first visit, so the whole population can be listed by pattern. Its recommendations to app builders are equally plain: default to 'Only you,' show who will have access before publishing, warn when an app has a database but no login, and avoid per-app subdomains.

Claroc sells tools for securing AI-built apps, which readers should weigh. SpaceXSI's removal of 24 employee apps after the report is consistent with its findings.

Why it mattersThe same counting method works on any consumer app builder, and expect more reports like it.

For consultantsRun the same check for clients: search their DNS logs for app-builder domains to find tools staff have published.

Story page

Policy & Sovereignty

A bankruptcy court sale shows what happens to a company's internal records when it fails.

PrivacyUnverified

Google adds privacy terms to its $10 million purchase of Spirit Airlines' records

Google agreed to extra privacy protections, including de-identification and independent review, in its purchase of Spirit Airlines' internal records for AI training, Reuters reports. The court has not approved the sale.

Google won an auction with a $10 million bid for Spirit Airlines' internal records in the airline's bankruptcy, data that includes about 100 million emails and 500 million Teams items, for use in AI development. On Nov. 10 Reuters reported that Google agreed to additional protections, including de-identification and independent review, and that health data is excluded; the paper could not open the Reuters report and relies on a summary, so those details are marked unverified.

Earlier filings set the shape of the deal. The court-appointed privacy ombudsman recommended in October approving a sale of de-identified data, with booking and payment records excluded, certification of each transfer and a public promise not to re-identify. Unions for Spirit's flight attendants and pilots object that removing names still leaves confidential employment content. The bankruptcy court has the final say.

Why it mattersA company's email and chat archive is an asset that can be sold when the company fails, which strengthens the case for keeping AI-indexed records under the firm's own control and retention rules.

For consultantsWhen loading a client's email or chat archive into a private AI system, write down who owns the index, how long it is kept and how it is destroyed.

Story page

Where There Is Room

A gap made visible by Railway's refund map.

Gap

AI key hygiene for small firms that already pay for AI through stored keys

Many small firms pay OpenAI, Anthropic or Google through keys stored in hosting platforms and scripts. A fixed-price key cleanup, with caps, a vault and a refund check, is an underserved service.

Railway's report shows stolen AI keys are searched for by name, used within hours and resold, and that refunds depend on each provider's policy. Most small firms that use AI through code, automations or agencies do not know how many keys exist, where they are stored, which have spending caps or which provider would refund fraud.

Providers in the paper's register sell private AI nodes and managed AI; a stand-alone key cleanup is not among the offerings the register describes. A consultant could offer a fixed-price service: list every AI key in use, move keys into a vault, issue one capped key per workload, set provider alerts, record each provider's refund policy and leave a one-page response plan for a stolen key. It also opens the door to moving recurring workloads onto an owned node.

Why it mattersThe service addresses a cost that owners can now see in dollars, and it leads naturally to the case for owned inference.

For consultantsPrice a key cleanup as a short fixed-fee engagement and use the inventory to show which workloads could move to an owned node.

Story page

Field guide for consultants · Lesson 12 · Building the system

Identity, sign-in and access logs

One sign-in path to every AI tool
  1. 01Staff memberLaptop or phone, any location
  2. 02Identity providerEntra ID, Google or Keycloak, with MFA
  3. 03Sign-in gatewayoauth2-proxy or reverse proxy checks groups
  4. 04AI toolsChat UI, model manager, Grafana; no own logins
  5. 05Access log storeWho, what, when; kept off the AI server

Read left to right: no request reaches an AI tool without passing the gateway, and every pass is written to a log stored apart from the node.

Every screen on a private AI node should sit behind the client's own sign-in, with groups that decide what each person reaches and a log that records who asked what and when.

A private AI node usually arrives with several web screens: a chat interface, a model manager, a monitoring dashboard and sometimes a document upload tool. Each ships with its own login, often with a default password, and some with none. The point of this lesson is to replace all of those with one path: the client's existing identity provider, a gateway that checks it, and an access log stored somewhere the AI server cannot change.

Start with the identity provider the client already uses for email, usually Microsoft Entra ID or Google Workspace. Small firms without one can run Keycloak on the node or a neighboring server. Require multi-factor sign-in, and create groups that match how the firm works: partners, staff, finance, IT. Those groups, not individual accounts, decide who reaches which tool and which document collections, which ties this lesson to the access-controlled retrieval covered in Lesson 10.

Put a sign-in gateway in front of every web tool. oauth2-proxy, or a reverse proxy such as Caddy or Traefik with an authentication plug-in, sends each visitor to the identity provider and passes through only signed-in members of allowed groups. Bind the tools themselves to the local machine so the gateway is the only way in. Where a tool supports single sign-on directly (Open WebUI, Grafana), connect it too, so it knows each user's name and group rather than one shared account.

Log three things: every sign-in and failed sign-in at the gateway, every request to the model API with user, time, model and document collections touched, and every admin action such as model changes or new users. Ship the logs off the node to a NAS or a log service, with retention the client approves, because an attacker on the node can edit local logs. Decide in writing who may read prompt contents, since prompts often contain client matters and personnel issues; many firms log metadata for everyone and keep full prompts only for flagged events.

Test the setup before handover: sign in as each group, confirm what each can and cannot reach, try a tool's direct port from another machine and confirm it refuses, disable a test user and confirm access ends at once. Removing a departing employee should take one step in the identity provider, not a hunt through five admin screens.

Tips

  • Change or disable every default admin account on the node before installing the gateway, even if the tool will only be reachable through it.
  • Use groups from the client's identity provider rather than creating accounts inside each AI tool, so offboarding is one step.
  • Bind chat, model manager and dashboard ports to 127.0.0.1 and let only the gateway listen on the network.
  • Send gateway and API logs to storage the AI server cannot write over, and keep at least 90 days unless the client's rules say otherwise.
  • Agree in writing who may read full prompt text in the logs, and record that decision in the client runbook.

Try it

  1. On a test node, put oauth2-proxy in front of Open WebUI and Grafana using a free Entra ID or Google test tenant, and confirm both refuse direct connections.
  2. Create two groups on the test tenant, give each different tool access, and record what each sees.
  3. Disable a test user in the identity provider and time how long until every tool refuses that user.
  4. Ship the gateway's logs to a second machine and confirm a sign-in from a new device appears there within a minute.

Next: Management consulting, Lesson 11: Change management and staff adoption

Purpose Statement

We believe privacy and autonomy are core tenets of humanity. Our purpose is to preserve them in the age of superintelligence.

The knowledge a business, a congregation, a farm or a town builds over years belongs to the people who built it. It should live on machines they own, in buildings they control, under decisions they make. Rented back from a distant platform, it follows someone else's terms, and what a community has learned about itself becomes part of a product sold to everyone.

We support decentralizing data and a return to local models of governance and local models of knowledge: every organization keeping its own records on its own system, for the people who come after, with people approving what matters instead of handing their judgment to a machine.

The local movement is bigger than one company. It will take many independent builders, installers and consultants in many towns, each earning trust face to face, and trust-based systems depend on that work. This paper is free and public for one reason: to expand the local movement as far as it can go and to support everyone building it.

The Local Intelligence Wire · Published by MOSIR, Wimberley, Texas

Sources