Skip to content

InferD: a honeypot framework for AI inference infrastructureInferD: A Honeypot Framework for AI Inference Infrastructure

arXiv: Alignment, Deception & Oversight· arXiv:2610.39807· Hicham Hammouchi, Gabriele LenziniSnT, University of LuxembourgIndexed by this site · 24 days ago· Originally publishedTools

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose the low-interaction honeypot framework InferD, which emulates AI inference infrastructure under the principle of "deception without inference"; an 8-week deployment captured 24,192 requests and one MCP-delivered cloud credential-harvesting payload.

Threat modelDesigned against five adversary classes (A1 indiscriminate scanners, A2 fingerprinters, A3 credential abusers, A4 vulnerability exploiters, A5 agentic actors); the honeypot constraints are to never execute submitted code, never forward tool calls, never run models, never generate outbound traffic, and never leak the real address of the observation source.

Questions
AI inference services (model servers, vector databases, agent gateways) are widely exposed on the public internet and rapidly scanned, but existing honeypots are designed for traditional network services and cannot emulate the observable surface centered on model behavior.
Methods
Proposes InferD, a low-interaction honeypot framework whose core principle is "no-inference deception": all observable requests are answered by a static response pool, the computation implied by requests is only recorded as intent and not executed, with kernel-level outbound drop rules as a fallback; the emulation surface is divided into two layers: open-port services and credential-gated cloud APIs.
Experiments and results
An 8-week single-point deployment recorded 24,192 requests from 2,342 sources; on the LiteLLM emulation endpoint, 601 requests carrying base64-encoded payloads were captured from 3 sources, and static analysis showed a cloud credential harvester delivered via an MCP stdio primitive, with two variants (similarity 0.929), and zero code execution throughout.
Limitations and future work
The authors note: response pool depth is finite and can be identified by inference probing and timing analysis; the honeytoken and agent capture surfaces had no signal within the window; a single-point 8-week window does not support population-level conclusions; code submitted to the Jupyter endpoint was not persisted (Appendix A).
Experimental setupOWASP MCP Top 10(用于覆盖度映射的外部分类法) · 请求量与来源统计(Table 3)、OWASP MCP Top 10 覆盖标记(✓/✗/~) et al.
Benchmarks
OWASP MCP Top 10(用于覆盖度映射的外部分类法)
Metrics
请求量与来源统计(Table 3)OWASP MCP Top 10 覆盖标记(✓/✗/~)载荷序列相似度
AI summaryResearchers propose InferD, a low-interaction honeypot framework for AI inference infrastructure whose core principle is "deception without inference": every request observable by an adversary is answered from a static response pool, and nothing the adversary submits is ever executed. The paper states that LLM serving stacks, commercial inference APIs, vector databases and agent orchestration gateways are indexed by generic scanners within hours of deployment to the public internet, whereas existing honeypot frameworks are designed for traditional network services. Emulating AI services requires faithfully reproducing observable behaviors such as model listings, token formats, tool-calling protocols and authorization flows, while ensuring that underlying model inference and tool execution never occur. InferD decomposes emulation into four deception planes—transport, service protocol, vulnerability surface and agent session—and adds a provenance plane that links planted credentials to downstream evidence processed through the model.

Researchers propose InferD, a low-interaction honeypot framework for AI inference infrastructure whose core principle is "deception without inference": every request observable by an adversary is answered from a static response pool, and nothing the adversary submits is ever executed. The paper states that LLM serving stacks, commercial inference APIs, vector databases and agent orchestration gateways are indexed by generic scanners within hours of deployment to the public internet, whereas existing honeypot frameworks are designed for traditional network services. Emulating AI services requires faithfully reproducing observable behaviors such as model listings, token formats, tool-calling protocols and authorization flows, while ensuring that underlying model inference and tool execution never occur. InferD decomposes emulation into four deception planes—transport, service protocol, vulnerability surface and agent session—and adds a provenance plane that links planted credentials to downstream evidence processed through the model.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to safely emulate an AI inference service exposed to the public internet in order to observe attack behavior, without executing any computation submitted by the attacker.

    Core problem: AI inference infrastructure is already exposed on the public internet at scale and rapidly indexed by commodity scanners, but existing honeypot frameworks are designed for traditional network services and cannot emulate the observable surface centered on model behavior.

    • Structural causes of exposure: the authors state that Ollama's multi-user documentation configuration binds the service to 0.0.0.0 and that the Ray dashboard has no authentication by default, making network exposure an expected default outcome; a study of 320,102 publicly reachable LLM services found authentication and TLS widely missing (reference [11] cited in the introduction).
    • Shortcomings of existing honeypots: classic honeypots emulate banners, shells or industrial protocols, whereas the fidelity of inference services must be defined against model behavior (model inventory, streaming completions, token formats, tool-call lifecycle); the authors consider direct porting infeasible.
    • Core observation (design tension): to be convincing it must answer everything an attacker can observe; to be safe it must never run any computation submitted by an attacker; placing a real model behind the facade would reintroduce cost, timing variance and a live model that can be jailbroken, which the authors consider the wrong choice.
    • Proposed approach: the low-interaction honeypot framework InferD, organized around the principle of "deception without inference": all observable requests are answered from static response pools, and the computation implied by a request is only recorded as intent; decomposed into four deception planes—transport, service protocol, vulnerability surface, agent session—plus a provenance plane.
    • Threat model (Section 2.3, ordered by increasing sophistication and decreasing prevalence):
      • Adversary classes: A1 indiscriminate scanners, A2 fingerprinters, A3 credential abusers, A4 vulnerability exploit operators, A5 agentic actors maintaining multi-step sessions.
      • Victim systems: self-hosted inference services (Ollama, vLLM, etc., discovered via open ports) and cloud API facades (credential-gated, such as OpenAI-compatible endpoints, MCP).
      • Instrumentation constraints: never execute submitted code, never forward or evaluate tool calls, never run models, never generate outbound traffic, never leak the real address of the observation source.
      • Attacker goals: reconnaissance and inventory enumeration, credential abuse, payload delivery against specific vulnerabilities, multi-step tool-call sessions.
  2. What related research exists?

    Related work falls into four groups: classic honeypots, LLM-driven honeypots, AI infrastructure measurement, and attack research under controlled conditions; the authors state that InferD's distinction lies in method rather than scope.

    Classic honeypot frameworks

    • Provos (2004), Spitzner (2002), etc.—established the paradigm that a single host presenting multiple services, anti-fingerprinting, and emulation are equally important; Mokube and Adams (2007) and Nawrocki et al. (2016) provided software-level surveys, and Han et al. (2018) and Javadpour et al. (2024) surveyed deception and moving target defense.
    • Cowrie (Oosterhof, 2017)—an interactive honeypot for shell and network services; T-Pot (Telekom Security)—a multi-honeypot aggregation platform. The authors state these systems are not designed for the AI inference surface, and their emulators lack AI protocol fidelity and non-execution guarantees.

    LLM-driven honeypots

    • Otal and Canbaz (2024), Sladić et al. (2024)—place language models in honeypots as response generators, obtaining unbounded interaction depth for the shell. The authors explicitly contrast: InferD deliberately inverts this relationship, with the model as the object of study rather than a tool, and argue that generative responses are the wrong choice for inference honeypots.
    • DecoyPot (Sezgin and Boyacı, 2025)—a retrieval-augmented LLM-driven Web API honeypot; the authors point out that it still performs inference at request time, and measurable timing and non-execution guarantees remain unmet.
    • Reworr and Volkov (2024, LLM Agent Honeypot)—use prompt injection and timing analysis to detect autonomous agents attacking traditional infrastructure; the authors state InferD borrows its canary technique, but the object of study is attacks directed at AI infrastructure.

    Measurement of AI infrastructure exposure

    • Hou et al. (2025)—a measurement study of 320,102 publicly reachable LLM services, finding authentication and TLS widely missing; GreyNoise (2026) documented large-scale reconnaissance against exposed model servers; Bridges et al. (2025, SoK) marked the AI infrastructure surface as the least developed direction in honeypot research.

    Study of attack phenomena under controlled conditions

    • Indirect prompt injection (Greshake et al. 2023; Liu et al. 2023; McHugh et al. 2025), retrieval poisoning (AgentPoison, Chen et al. 2024), multi-agent propagation (Lee et al. 2025), a tool-poisoning benchmark against real MCP servers (MCPTOX, Wang et al. 2026). The authors state these phenomena are mostly documented under controlled conditions, and InferD aims to passively observe their action precursors in real traffic.

    Positioning: The authors state that InferD differs from the above work not in scope but in method—by design it does not execute, enforces outbound isolation at the kernel, and its threat model and emulation surface are based on attributable in-the-wild vulnerability records (CVE-2023-48022, CVE-2024-37032, CVE-2024-6587), with agent-surface coverage stated against an external taxonomy (OWASP MCP Top 10). The paper has no comparative baseline experiments.

  3. How does the paper address this problem?

    Centered on the "no-inference deception" principle: a static response pool answers all observable requests, computation is only recorded as intent, with a dual-surface architecture plus four deception planes and one provenance plane.

    Overall approach: the InferD framework turns the tension between "faithful emulation" and "never execute" into a design principle—deception without inference: every observable request is answered from a pre-written static response pool, and the computation implied by the request is recorded as intent rather than executed. The authors state this yields two consequences: the system has no legitimate reason to access the network, which can be paired with kernel-level outbound isolation; and the same principle applies uniformly to heterogeneous services without per-service special-casing.

    Dual-surface architecture (Section 3.2)

    • Surface 1 (open-port self-hosted services): emulates the default network-exposed deployment, capturing reconnaissance, inventory enumeration and vulnerability probing; includes nine services—Ollama, vLLM, HuggingFace TGI, LiteLLM, Qdrant, Jupyter, MLflow, Gradio, OpenClaw (Table 1).
    • Surface 2 (credential-gated cloud API facade): reached via TLS :443, emulates five endpoint classes—OpenAI-compatible, Anthropic, Gemini, Assistants, MCP—capturing credential abuse and the prompts and tool definitions submitted by authenticated callers.
    • Unified middleware: all traffic passes through common middleware (source-address attribution, structural anomaly scanning, canary echo scanning) into per-service emulators, with the whole running inside a kernel-level outbound boundary (Figure 1).

    Four deception planes (Section 3.3)

    • Transport layer: host-network mode preserves real peer addresses; only X-Forwarded-For headers from the loopback proxy are trusted. The authors note that standard container port mapping silently rewrites all source addresses to the gateway IP, which they treat as a correctness issue rather than an optimization.
    • Service protocol layer: each endpoint is answered from a static pool with variant expansion to avoid byte-level repetition; the residual limitation is finite pool depth—a non-reasoning facade will be exposed by probes for verifiable answers, which the authors say only constrains the most capable adversaries and can itself serve as their detector.
    • Vulnerability-surface layer: emulates two interface classes—those based on attributable CVEs (Ollama path traversal CVE-2024-37032, vLLM deserialization, LiteLLM SSRF CVE-2024-6587, LiteLLM MCP test/connection subprocess spawning) and structurally motivated ones; the middleware simultaneously runs structural anomaly scanning independent of any single vulnerability (checking shell metacharacters, embedded code, anomalous URL fields, path traversal).
    • Agent session layer: maintains Assistants thread lifecycle and MCP handshake, authorization discovery, dynamic client registration, and token endpoint session state; tool calls only record parameters and are never dispatched. Coverage against the OWASP MCP Top 10 statement (Table 2): MCP01/02/03/05/06/07 marked observable (✓), MCP04 and MCP09 outside passive inbound scope (✗), MCP10 partially observable (~), MCP08 a defensive gap for which InferD provides its named telemetry (†).

    Provenance plane (Section 3.3.5)

    • Seeds honeytokens (whose sole purpose is to be stolen credentials), recording per request whether and which seeded credential matched; some honeytoken responses embed canary markers, whose reappearance can serve as evidence that output was ingested by a model-mediated pipeline and re-emitted.
    • The authors explicitly state the dependency: a signal is produced only when credentials are actually discovered and used; a passively waiting decoy can only observe credential abuse once the key enters circulation.

    Implementation and guarantees (Section 4)

    • Process architecture: ten process groups organized by port and transport, managed by supervisord, all running as the same unprivileged OS user, with outbound rules bound to that user, so newly added services automatically inherit the same outbound prohibition.
    • Outbound isolation: iptables/ip6tables drop all new outbound connections for that user except loopback and established connections (Listing 2); the authors state this guarantee is enforced by the kernel and does not depend on the correctness of any emulator.
    • Response pool size: 40–60 variants for completion endpoints, 15–20 for model listing endpoints, and embedding endpoints return unit-norm vectors of standard dimension; variant expansion randomizes token counts, latency headers, request-ids and a small number of content tokens. The authors acknowledge that request volume exceeding pool size will produce content repetition, and that statistical fingerprints can still form as samples accumulate.
    • Success determination: the paper has no attack-success-rate-type metrics; the deployment is positioned as pipeline validation, with end-to-end functionality, traffic composition and payload capture as evidence (Section 5).
  4. What experiments did the paper conduct?

    A single-server 8-week deployment validated the pipeline's end-to-end functionality: 24,192 requests, 601 encoded payloads, capturing a cloud credential harvester delivered via MCP stdio.

    Experimental setup

    • Deployment form: a single commodity server, a single observation point, running continuously for 8 weeks (May–July 2026); the authors explicitly position it as pipeline validation rather than a measurement study and make no population-level claims.
    • Emulated services: Surface 1's nine self-hosted services (Ollama, vLLM, HuggingFace TGI, LiteLLM, Qdrant, Jupyter, MLflow, Gradio, OpenClaw) and Surface 2's five cloud API facade classes (OpenAI-compatible, Anthropic, Gemini, Assistants, MCP), see Table 1.
    • Objects under test: no model under test; the experimental object is the honeypot system itself and the organic traffic reaching it, and the paper ran no LLM.
    • Data scale: 24,192 total requests, 2,342 distinct source addresses, 61/254 source countries/ASNs (Table 3).
    • Payload detection methods (Appendix A): the primary method queries events flagged by structural anomaly scanning at capture time (code_in_field, shell_metachar, command_field, pickle_payload, base64_payload); the secondary method performs a flag-independent base64 scan over all stored request bodies (32-byte minimum substring, followed by gzip/bz2/lzma/zlib decompression, with a second scan for nested base64).
    • Repetitions and review: the paper reports no repeated experiments or human/LLM review; the coverage mapping (Table 2) is annotated by the authors themselves.

    Main results

    MetricValue (Table 3)
    Observation window8 weeks (May–July 2026)
    Total requests24,192
    Distinct source addresses2,342
    Source countries / ASNs61 / 254
    Share of single-request sources71%
    Share of top two request types (model list, root path)64%
    Share of requests from top 5 ASNs61%
    Requests carrying encoded payloads on the LiteLLM facade601
    Distinct payload builds recovered2
    Honeytoken authentications / canary echoes0 / 0
    • The authors state the instrumentation worked end to end: it attracted organic traffic without seeding or active advertising, and the first probes arrived within hours of exposure; Figure 2 shows daily request volume as a slowly rising baseline interspersed with short bursts of activity (only axes and magnitudes are readable in the figure; specific daily values are not labeled).
    • Traffic composition matches the design premises: activity concentrates on the self-hosted surface and its most commonly exposed services, and a substantial share of sources belong to known internet scanning services; the authors emphasize these are characteristics of the observed traffic, not estimates of the entire surface.

    Model enumeration by-product (Section 5.1)

    • What was measured: the inventory distribution exposed by model pull/name requests on the Ollama facade (Figure 3).
    • Results: the distribution is dominated by current open-weight families (llama3.3:latest highest at about 600, followed by llama3.1:8b, llama3.2:3b, etc.; the horizontal axis is labeled up to 600), including DeepSeek-R1 and Qwen variants.
    • Authors' interpretation: the concentration is on small models runnable on consumer GPUs, which the authors suggest indicates probers enumerating cheaply deployable inference capability; they also note a selection effect—the Ollama facade itself attracts tools expecting small self-hosted models, so this concentration is partly an artifact of the decoy's identity, and they position it as an illustrative early finding rather than a quantitative claim.

    Credential-harvesting payload capture (Section 5.2)

    • What was measured: encoded payloads captured jointly by the vulnerability-surface layer and structural anomaly scanning.
    • Results: 3 sources sent a total of 601 requests to the LiteLLM emulation facade, distributed across 14 endpoint path variants and two actions, test/connection and test/tools/list; each carried a base64-encoded Python payload delivered via the MCP stdio transport convention. Static analysis showed an ordered eight-stage cloud credential harvesting pipeline (environment enumeration, config file parsing, mounted-secret traversal, credential prefix pattern detection, cloud identity token acquisition, secret manager traversal, Kubernetes API enumeration, in-band exfiltration via MCP protocol responses), which the authors say is independent of the specific code-execution mechanism. Cloud metadata addresses are constructed at runtime rather than appearing as literals, which the authors say is consistent with evading naive string-based static detection.
    • Version drift (Table 4): the two builds are distinguished by SHA-256 of decoded content, with sequence similarity 0.929 and a strict superset relationship; variant A (57,414 bytes) came from a single source in AS37693, and variant B (66,176 bytes, adding Azure IMDS and Kubernetes API enumeration modules) came 3 days later from two sources in AS14061; the three sources share the same non-generic User-Agent, which the authors say is a stronger shared-tool indicator than IP co-location but does not establish a single operator.
    • Security guarantee verification: all 601 requests were answered from static pools and no process was spawned; cross-matching the three sources against all honeytoken/canary records yielded zero matches, which the authors say is consistent with the non-execution guarantee. Structural anomaly scanning flagged all 601 instances at capture time without any specific signature.

    Conditional planes and null results (Section 5.3)

    • What was measured: activation of the provenance plane and the agent plane within the window.
    • Results: 0 honeytoken authentications, 0 canary echoes, and no multi-step tool-call sessions (Table 3).
    • Authors' interpretation: these two planes are conditional instrumentation—the provenance plane requires credentials to enter circulation, and the agent plane requires agent traffic to arrive; A5 actors are precisely those able to run inference probes and disengage after identifying the static-pool facade, so the null results are mainly a statement about this deployment rather than about the world, and they point to two follow-up steps: active honeytoken seeding and longer multi-observation-point collection.

    Other ablations and analyses

    • Appendix A: the two payload detection methods agree on the credential-harvesting payload conclusion and jointly confirm that no other undetected code payloads exist among the 24,192 requests; another 3 base64 blocks decoded to PNG images (multimodal chat content, verified benign).
    • Appendix A residual blind spots: encoding schemes beyond base64 and four compression formats are outside detection scope.
    • Appendix A capture pipeline gap: probes against the Jupyter kernel code-execution endpoint trigger the same anomaly flags, but submitted code is currently not persisted and cannot be analyzed, which the authors plan to fix in the next deployment iteration.
  5. What are some points that can be further explored?

    The authors list detectability limitations, conditional plane activation, and three extension directions; the experiment is a single-site 8-week deployment, and no model was run.

    Limitations and future directions noted by the authors

    • Detectability limitations (Section 6.1): the facade does not reason, so an adversary submitting verifiable answers can discover the absence of real inference; response repetition, even with variant expansion, can still be used by a patient adversary to estimate pool size; millisecond-scale completion responses are distinguishable from the second-scale timing of real models, and the authors say modeling plausible inter-token latency is a natural improvement direction; transport fingerprints (TLS certificate organization field, HTTP header order) may differ from real providers; an adversary with out-of-band effect confirmation will find that effects never occur, and the authors reiterate that non-execution is inherently detectable by those testing effectiveness.
    • Conditional planes need activation (Sections 5.3, 6.2): the provenance and agent planes had no signal within the window and require active honeytoken seeding and longer, multi-observation-point collection to register signals.
    • Observation scope limitations (Section 6.2): only inbound threat traffic is observed; no information is provided about supply-chain poisoning of models or software packages, or about victim internal-network activity.
    • Three extension directions (Section 6.2): multi-observation-point deployment (across geographically distributed ASNs, with coordinated pseudonymized logs, modeled on network telescopes); surface expansion (one router and one response pool per new CVE or deployment pattern); active honeytoken seeding (placing credential patterns in controlled environments where harvesting tools are known to operate).
    • Capture pipeline gaps (Appendix A): code submitted to the Jupyter kernel code-execution endpoint is not persisted and cannot be analyzed, which the authors plan to fix in the next deployment iteration; encodings beyond base64 and four compression formats remain residual blind spots.

    Experimental coverage

    • The deployment was a single commodity server, a single observation point, over 8 consecutive weeks (May–July 2026), totaling 24,192 requests from 2,342 source addresses (Table 3).
    • The emulation surface covers 9 self-hosted services and 5 cloud API facade classes (Table 1); the vulnerability surface is based on 3 named CVEs (CVE-2023-48022, CVE-2024-37032, CVE-2024-6587) plus structurally motivated interfaces.
    • The agent surface coverage is annotated against the OWASP MCP Top 10: 6 observable, 2 outside passive scope, 1 partially observable, 1 a defensive gap (Table 2).
    • The experiment ran no LLM: no model under test, no attack-success-rate metrics, no repetition counts reported; the denominator for payload static analysis is 601 requests, 3 sources, 2 builds (Table 4).
    • The paper reports no comparative deployment or comparison experiment with any other honeypot system.
  6. Summarize the main content of the paper

    InferD uses a static response pool to emulate AI inference services and never executes submitted content; it deployed and validated the pipeline over 8 weeks and captured a cloud credential harvester delivered via MCP.

    A security systems paper: for AI inference infrastructure exposed on the public internet at scale, it proposes the low-interaction honeypot framework InferD and reports an 8-week deployment positioned as pipeline validation.

    • Problem: model servers, vector databases, agent gateways and similar services are indexed by scanners within hours of going online, while existing honeypots are designed for traditional network services; the core tension in emulating inference services is faithfully reproducing observable model behavior while never executing attacker-submitted computation.
    • Method highlights: core principle "deception without inference"—all observable requests are answered from static response pools, and implied computation is only recorded as intent; the architecture is split into two surfaces, open-port self-hosted services and credential-gated cloud APIs, subdivided into four deception planes—transport, service protocol, vulnerability surface, agent session—plus a provenance plane based on honeytokens and canaries; non-execution is guaranteed by design and backed by kernel outbound drop rules bound to the emulator OS user.
    • Deployment results: a single observation point recorded 24,192 requests from 2,342 sources over 8 weeks, 71% of sources sent only one request, and the first probes arrived within hours of exposure; the authors state the instrumentation worked end to end and the traffic composition matched the design premises.
    • Main finding: 3 sources sent 601 requests carrying base64-encoded payloads to the LiteLLM emulation facade; static analysis showed an eight-stage cloud credential harvester delivered via an MCP stdio code-execution primitive, with two variants of similarity 0.929 appearing 3 days apart, which the authors consider indicative of active tool development; zero code execution occurred throughout, with zero cross-matches against honeytoken/canary records.
    • Null results: honeytoken authentication and canary echoes were both 0 within the window, and there were no multi-step agent sessions; the authors describe this as a deployment-level statement that the conditional planes were not activated, and point to two follow-up steps: active seeding and multi-observation-point collection.
    • Authors' conclusion: the authors consider "deception without inference" the right choice rather than a compromise—it avoids reintroducing the very models the honeypot is meant to study and gives non-execution a kernel-level guarantee; they also acknowledge that this security property is inherently detectable by those testing effectiveness, with the stance that "safely observing intent is preferable to dangerously demonstrating effect."
Read originalarxiv.org