llm-abuse · litellm · llmjacking · llm-proxy · api-key-theft · container-daemon · resource-hijacking

LiteLLM Gateway Key Minting: Inference Calls a Second After the Mint

This is unauthenticated abuse of an exposed LiteLLM-shaped gateway's management API, in which one source sent virtual-key mint requests, each followed within a second by an inference call presenting an sk- key. If you run a LiteLLM proxy, keep its management port off the internet, set a master key, and alert on any /key/generate, /config/update or /model/new request that arrives without an admin credential.

By Davis Zheng·

TLP:CLEAR. Cleared for public release. Captured by the Kinryū Labs honeypot sensor network. Indicators below are defanged.

Executive summary

  • 7virtual key mint requests
  • 13inference calls on one test prompt
  • 168 msmedian gap between requests in a burst
  • 24sources probing the gateway admin routes

A single China Mobile broadband address, 120.231.203[.]34, sent 7 POST /key/generate requests to the management API of an exposed LiteLLM-shaped gateway between 05:32 and 10:08 UTC on 4 November 2026, together with 13 POST /v1/chat/completions requests that carried 7 distinct sk- keys. In each burst, the first inference call arrived within a second of a mint request. Every one of the 13 inference calls carried the same three-word arithmetic prompt, What is 391*7? Answer only the number., while the model identifier cycled across five names in the DeepSeek and GLM families. Whether each key presented on an inference call was issued by the mint request a second earlier or carried in from elsewhere is not established.

We assess this as automated credential harvesting against an unauthenticated management surface, and map it to T1190, Exploit Public-Facing Application, the initial-access technique in MITRE ATT&CK. Across 3 and 4 November the address sent 89 requests, of which only 28 seconds were active. The median gap between requests inside a burst was 168 ms, and a person typing requests by hand cannot produce gaps that short, so the client is scripted tooling. Nine hours before the gateway leg, the same address enumerated an exposed container daemon API and requested a privileged container.

In October we reported enumeration, admin-key reading and tenant-key deletion against this same management surface, where no management request presented a proxy key, unlike the 13 inference calls here that carried 7 distinct sk- keys.

Key judgments

  • One source sent virtual-key mint requests to an exposed gateway management API, each followed within a second by an inference call presenting an sk- key. Between 05:32 and 10:08 UTC on 4 November 2026 the address sent 7 POST /key/generate requests and 13 POST /v1/chat/completions requests that carried 7 distinct sk- keys, with the first inference call of each burst arriving within a second of a mint request in that burst. Moderate confidence.
  • The gateway activity is scripted tooling, not a person at a keyboard. The computed tempo verdict is scripted: 89 requests from this address on 3 and 4 November of which only 28 seconds were active, with a median gap of 168 ms between requests inside a burst, far faster than typing allows. Moderate confidence.
  • The tool held one prompt constant while cycling five model identifiers, so it was testing which models the gateway would serve rather than what a model could do. All 13 inference calls carried one identical arithmetic prompt while cycling five model identifiers in the DeepSeek and GLM families, so the variable under test was the model identifier rather than the prompt. Nothing in the session shows which identifiers were paid or whether one family was preferred. Moderate confidence.
  • The same address worked an exposed container daemon nine hours before the gateway leg, which reads as opportunistic multi-surface abuse rather than an LLM specialist. At 20:40 UTC on 3 November the address enumerated a container daemon and requested a privileged alpine:3.19 container whose entrypoint was /bin/sh /tmp/.nx/run.sh, then attempted an archive upload into it. The only link between the two legs is the address itself, which is the sole active source in its /24 across 148 observations. Low confidence.
  • A broad cohort works this management surface, and only this source was observed presenting a key on an inference call. Between 28 October and 4 November 2026, 24 distinct sources produced 448 management-route attempts against the gateway surface; 4 of them attempted state-changing calls such as key minting, model registration, config rewriting or deletion, and only 120.231.203[.]34 presented sk- keys on inference requests. Moderate confidence.

Timeline

  • 2026-11-03 20:40 UTC120.231.203[.]34 opens on an exposed container daemon API: version, info, image list
  • 2026-11-03 20:42 UTCPrivileged alpine:3.19 container requested as nx10_117 with entrypoint /bin/sh /tmp/.nx/run.sh
  • 2026-11-03 20:42 UTCArchive upload into the new container attempted; the container leg stops here
  • 2026-11-04 05:32 UTCSame address begins on the model gateway: model enumeration, then key and model reads
  • 2026-11-04 05:32 UTCFirst POST /key/generate, followed within a second by an inference call carrying an sk- key
  • 2026-11-04 05:37 UTC/openapi.json and /metrics pulled, then /user/list, /team/list and /global/spend/report read
  • 2026-11-04 07:50 UTCFinal burst; 7 mint requests, 7 distinct keys and 13 inference calls in total
  • 2026-11-04 10:08 UTCLast observation from this address in the window

The session, in order

2026-11-03 20:40:18  GET /info
2026-11-03 20:42:20  POST /containers/create?name=nx10_117
2026-11-03 20:42:23  ["/bin/sh", "/tmp/.nx/run.sh"]
2026-11-04 05:32:49  GET /v1/models
2026-11-04 05:32:50  GET /key/info
2026-11-04 05:32:50  POST /key/generate
2026-11-04 05:32:50  POST /v1/chat/completions
2026-11-04 05:32:50  What is 391*7? Answer only the number.
2026-11-04 05:37:59  GET /openapi.json
2026-11-04 05:38:01  GET /metrics
2026-11-04 05:38:02  GET /user/list
2026-11-04 05:38:02  GET /team/list

The two legs

On 3 November at 20:40 UTC the address enumerated an exposed container daemon API, version, GET /info, image list, then requested POST /containers/create?name=nx10_117 from an alpine:3.19 base, privileged, with the entrypoint ["/bin/sh", "/tmp/.nx/run.sh"], which we map to T1610, Deploy Container. A following archive upload was to deliver the script, but that upload did not complete, so the daemon leg stopped there.

The gateway leg began with GET /v1/models, then reads of GET /key/info, /key/list and /model/info, then the mint request, then the inference call. The sequence repeated in short bursts of roughly a second each with pauses of two minutes to two hours between them, and between bursts the tool also pulled /openapi.json and /metrics and read /user/list, /team/list and /global/spend/report.

The arithmetic prompt

The prompt is three words long and has one correct answer, which the tool can compare against automatically, so the loop produces a list of credentials that answer. Whether any minted key was valid is not established, and neither is what the operator intended to do with the credentials.

The cohort on these routes

24 distinct sources sent 448 management-route attempts to the LiteLLM-shaped gateway’s management API between 28 October and 4 November 2026. Most stopped at read-only enumeration of /model/info, /key/list and /user/list, and four made state-changing calls. 198.23.132[.]121 (RackNerd) is the only source observed pushing POST /config/update, 20 times between 1 and 4 November, alongside its own /key/generate attempts and a /.well-known/litellm-ui-config request that names the product it expects. 202.214.238[.]87 walked key minting, model registration, pass-through endpoint configuration and then deletion of keys and models, and 163.5.26[.]88 attempted minting and model registration. Of the 24, only 120.231.203[.]34 presented sk- keys on inference requests.

20 sources in 17 organisations across 11 countries share the HTTP client fingerprint on the POST requests, so that fingerprint identifies a commodity Python client rather than this operator. The markers that belong to this subject alone are the prompt string and the entrypoint path /tmp/.nx/run.sh.

Tradecraft

Each burst re-enumerates /v1/models, /key/info, /key/list and /model/info before minting, and no key presented a moment earlier is reused, so the tool keeps no state between bursts. A tool pointed at a list of hosts and left to run unattended would behave this way, so a defender should expect the same request sequence against other exposed gateways this operator reaches.

The tool held the one prompt constant while it cycled the five model identifiers, which makes the model identifier the variable under test, so the tool was establishing which models the gateway would serve. The same behaviour would follow if the tool took whichever model the gateway happened to offer. Nothing in the session shows which identifiers were paid or any preference for a family.

The two legs are 8.8 hours apart and each holds only seconds of activity, which fits queued work rather than a continuous session. If the work is queued, this address is one worker among many targets, so blocking it accomplishes little and detection should key on the behavioural sequence instead.

The operator staged the container entrypoint under a dot-directory, which keeps the script out of a casual directory listing, and on the gateway leg the repeated three-word prompt spent the fewest possible tokens per call. Whether the same operator made both choices is not established, and neither leg shows any attempt to hide from log review.

How we tested it

We put four rival readings to the evidence. One was supported: the gateway leg is a fixed harvesting script rather than an operator working the API by hand. The evidence refuted two readings, that the client is this operator’s own tooling and that this is a researcher or vendor survey, since a survey does not request credentials and then issue inference calls presenting them. The fourth, whether the container-daemon leg and the gateway leg belong to the same operator, was not settled, since no client fingerprint, path or string is common to both. The address is a single China Mobile broadband line with no pool behaviour around it, it is not known malware infrastructure to VirusTotal, and its only historical resolutions are consumer-device hostnames from 2022, so we hold attribution of this activity to an operator at low confidence.

ExplanationTestResultVerdict
The gateway leg is a fixed harvesting script rather than an operator working the API by handComputed inter-request timing across the ordered session and compared it with what typing allows89 requests from this address on 3 and 4 November of which only 28 seconds were active; median gap between requests inside a burst 168 ms, far faster than typing allowsSupported
The client is this operator’s own tooling rather than a widely shared toolPivoted the POST client fingerprint, the prompt string and the container entrypoint path across all sourcesThe POST fingerprint appears from 20 sources in 17 organisations across 11 countries, so it is commodity; the prompt ‘What is 391*7? Answer only the number.’ appears from this source alone, and the entrypoint /tmp/.nx/run.sh from this source aloneRefuted
A researcher or vendor survey of exposed gateways rather than an operator seeking free inferenceChecked whether the source confined itself to read-only enumeration or made state-changing calls and consumed resources7 POST /key/generate requests, 13 inference calls presenting 7 distinct sk- keys, and a privileged container creation request with a dot-directory entrypoint on a second surface; a survey does not request credentials and then issue inference calls presenting themRefuted
The container-daemon leg and the gateway leg are the same operatorLooked for shared markers between the two legs and for other active addresses in the same /24The /24 holds only this address across 148 observations and the two legs are 8.8 hours apart, but no client fingerprint, path or string is common to both legsInconclusive

Defending a LiteLLM gateway

If you run a LiteLLM gateway, keep the management port off the internet and set a master key, because the mint requests in this session reached an unauthenticated management surface, and alert on any /key/generate, /config/update, /model/new or /config/pass_through_endpoint request that arrives without an admin credential, since these four privileged routes should never be reachable unauthenticated. Alert also on identical short prompts arriving under many different key ids, which is how key harvesting shows up on the spend side.

Where the presented keys came from

We have not resolved where each key presented on the inference calls came from, and we do not know what /tmp/.nx/run.sh would have executed.

Indicators of compromise

The 3 network indicators below are defanged; paths are given as observed.

Network

IndicatorContext
120.231.203[.]34mint requests to the gateway management API, then inference calls presenting sk- keys; also probed an exposed container daemon
198.23.132[.]121only source observed pushing POST /config/update to the gateway management API, 20 times
163.5.26[.]88attempted key minting and model registration on the same management routes

Host artefacts

IndicatorContext
/tmp/.nx/run.shentrypoint of the privileged container requested on 3 November; the script itself never landed
What is 391*7? Answer only the number.key-validation prompt repeated on all 13 inference calls; seen from this source only
sk-<24 hex chars>format of the 7 virtual keys presented on inference calls, each immediately after a mint request; literal values withheld

Detection

Sigma

Unauthenticated state-changing call to a LiteLLM proxy management route (access log required; request bodies are usually not logged) (candidate).

title: Unauthenticated state-changing call to a LiteLLM proxy management route
status: experimental
description: Flags POST requests to LiteLLM management routes that mint credentials, register models or rewrite configuration. Requires a reverse-proxy or gateway access log that records method and URI.
logsource:
  category: proxy
detection:
  selection:
    cs-method: POST
    cs-uri-stem:
      - '/key/generate'
      - '/key/delete'
      - '/model/new'
      - '/model/delete'
      - '/config/update'
      - '/config/pass_through_endpoint'
  condition: selection
falsepositives:
  - Administrative automation and CI jobs that provision keys or models; baseline the source addresses that are allowed to do it
level: high

Detection logic

  • Identical short prompt arriving under many distinct key ids (behavioural, candidate). On a gateway that records prompt text or prompt hashes, alert when one prompt string or hash is seen under three or more distinct API key ids within an hour from a single source address. Key-harvesting loops validate each minted credential with one cheap, deterministic prompt; real users do not share a prompt across keys.
  • Mint-then-spend sequence on a model gateway (network, candidate). Alert when a source address sends POST /key/generate and then POST /v1/chat/completions within five seconds, repeatedly. Legitimate provisioning and legitimate inference are rarely performed by the same client in the same second, and never in a repeating cycle.

Remediation

  • Set a master key on any LiteLLM proxy and never expose its management port to the internet; put it behind an authenticating reverse proxy bound to an administrative network.
  • Audit virtual keys for any you did not create, revoke them, and reconcile spend against your own usage for 3 and 4 November 2026.
  • Block POST to /key/generate, /key/delete, /model/new, /model/delete, /config/update and /config/pass_through_endpoint from anything other than your provisioning hosts.
  • Treat an exposed container daemon API as remote root: bind it to a local socket, require TLS client certificates, and alert on privileged container creation requests.

MITRE ATT&CK mapping

TacticTechniqueObserved
Initial accessT1190 Exploit Public-Facing ApplicationUnauthenticated requests to a model gateway’s management API and to an exposed container daemon API.
PersistenceT1078 Valid AccountsSeven POST /key/generate requests, followed by inference requests presenting sk- keys.
ImpactT1496 Resource HijackingThirteen inference calls presenting those keys across five model identifiers.
ExecutionT1610 Deploy ContainerA privileged alpine:3.19 container requested with entrypoint /bin/sh /tmp/.nx/run.sh.

References

Methodology and analyst notes

The reading rests on one address’s activity on 3 and 4 November 2026, plus a cohort of management-route probing from 24 sources between 28 October and 4 November 2026. Whether any minted key was actually valid, and what the model answered, is not established. The link between the container-daemon leg and the model gateway leg is the address alone; no tooling marker is common to both. VirusTotal reports no detections for the address and no files communicating with it, which does not establish who controls it; providers other than VirusTotal were not queried for it.

Still open:

  • Whether each key presented on the inference calls was issued by the mint request a second earlier or carried in from elsewhere.
  • What /tmp/.nx/run.sh would have executed, since the archive upload carrying it did not complete.

Questions or corrections: [email protected].

How to cite
Kinryū Labs (2026). LiteLLM Gateway Key Minting: Inference Calls a Second After the Mint. https://kinryu.sh/reports/litellm-key-minting-inference-abuse/