InferD: A Honeypot Framework for AI Inference Infrastructure

Hicham Hammouchi, Gabriele LenziniarXiv 2026 · DOI

TL;DR

InferD is a novel honeypot framework designed specifically to monitor attacks against AI inference infrastructure, such as LLM servers and agent gateways. By adhering to the principle of "deception without inference," it safely captures attacker intent using static response pools and kernel-level egress isolation, preventing the honeypot itself from being exploited or used as a relay.

What Problem Does This Paper Address?

As AI serving stacks (like Ollama, vLLM, and Ray) and agent orchestration gateways proliferate, they are increasingly exposed to the public internet—often with insecure default configurations. Traditional honeypots, designed for legacy services like SSH or basic web servers, fail to capture the nuances of AI-specific threats, such as prompt injection, model inventory scanning, or malicious tool-call sequences.

The authors identify a core tension in building AI honeypots: to be convincing, a decoy should behave like a model, but running a real model is expensive, non-deterministic, and dangerous. A "live" model honeypot can be jailbroken or manipulated, potentially turning the security tool into a liability. InferD aims to bridge this gap by providing a high-fidelity facade that is structurally incapable of executing attacker-supplied code.

Methods

The framework is built around a single organizing principle: deception without inference.

Instead of using a live LLM to generate responses, InferD uses pre-authored static response pools. When an attacker sends a prompt or a tool call, the system selects a plausible response from the pool and applies "variant expansion" (randomizing token counts, IDs, and minor content) to resist simple fingerprinting.

The architecture is decomposed into five "deception planes":

  1. Transport Layer: Uses host-network mode to ensure correct source IP attribution, which is often lost in standard containerized deployments.
  2. Service Protocol Layer: Emulates the specific API shapes of services like OpenAI, Anthropic, and Ollama.
  3. Vulnerability Surface Layer: Presents interfaces that look like known vulnerable versions (e.g., mirroring the Ollama path traversal CVE-2024-37032) to attract exploit payloads.
  4. Agentic Session Layer: Maintains state across multi-step interactions, recording tool-call arguments without ever executing them.
  5. Provenance Plane: Uses "honeytokens" (fake credentials) and "canaries" to track if and how stolen data is reused by attackers later.

Crucially, InferD implements kernel-level egress isolation. Even if an attacker finds a bug in the emulator, the underlying OS user is prohibited from making any outbound network connections, effectively neutralizing the honeypot's potential as an attack relay.

Figure 1: InferD capture path. All requests traverse common middleware and a per-service emulator before reaching an append-only log, inside a kernel-level egress boundary

Datasets

The paper does not rely on pre-existing training datasets. Instead, it presents results from an eight-week empirical deployment (May–July 2026) on a single commodity server. During this window, the system recorded:

  • 24,192 total requests.
  • 2,342 distinct source addresses.
  • 601 requests carrying coded payloads.

Key Insights and Ideas

  • Intent over Execution: By logging attacker input as "intent" rather than executing it, the researchers captured a sophisticated, purpose-built cloud-credential harvester delivered via the Model Context Protocol (MCP).
  • Targeting "Cheap" Capacity: The most requested models were not frontier models (like GPT-4), but rather open-weight models small enough to run on consumer GPUs, such as Llama 3.x, Mistral, and DeepSeek-R1. This suggests attackers are currently hunting for widely deployable, low-cost inference capacity.
  • In-Band Exfiltration: The authors observed attackers using protocol-specific fields (like MCP tool descriptions) to exfiltrate harvested data back to the caller. This bypasses traditional network monitoring that looks for anomalous outbound connections to new IPs.
Figure 3: Distribution of models requested at the Ollama facade during the study window

Key Results

The deployment successfully validated the InferD pipeline, proving it can attract and record organic traffic within hours of exposure.

  • Payload Discovery: The system captured a novel Python-based credential harvester targeting LiteLLM. The payload was designed to enumerate environment variables, parse configuration files, and traverse secret managers (AWS, Azure, GCP, HashiCorp Vault).
  • Version Tracking: The framework identified two distinct versions of this harvester, indicating that these attack tools are under active development.
  • Traffic Characteristics: 71% of sources sent only a single request and never returned, highlighting the prevalence of automated, indiscriminate scanning.
Figure 2: Daily request volume over the deployment window

Limitations and Future Work

The primary limitation of InferD is its detectability by reasoning. Because it uses static pools, a sophisticated adversary could "unmask" the honeypot by asking a question with a verifiable, logic-based answer (e.g., "What is 1234 + 5678?"). If the honeypot returns a generic response, the attacker knows it's a fake.

Future work suggested by the authors includes:

  • Latency Modeling: Introducing artificial delays to mimic the time a real model would take to generate tokens.
  • Active Seeding: Proactively planting honeytokens in places where attackers are known to harvest credentials to better exercise the provenance plane.
  • Multi-Vantage Deployment: Distributing InferD instances across different geographic regions and network types to distinguish between global scanning and targeted campaigns.

Summary updated

Abstract

Large language model serving stacks, commercial inference APIs, vector databases, and agent orchestration gateways are now ex- posed on the public internet and indexed by commodity scanners within hours of deployment. The threat characteristics of this sur- face are only beginning to be measured, and the honeypot frame- works that could measure it were designed for conventional net- work services rather than for AI infrastructure. In fact, emulating an AI service is a distinct deception problem: the observable behavior of the service, including model inventories, token formats, tool-call protocols, and authorization flows, must be reproduced faithfully, while the underlying computation, model inference and tool ex- ecution, must never occur. We present InferD, a low-interaction honeypot framework organized around a single principle we call deception without inference: every request an adversary can observe is answered from static response pools, and nothing an adversary submits is ever executed. InferD decomposes the emulation into four deception planes, transport, service protocol, vulnerability surface, and agentic session, adds a provenance plane that links a planted credential to evidence of downstream model-mediated processing.
BibTeX
@misc{hammouchi2026inferd,
  author = {Hicham Hammouchi and Gabriele Lenzini},
  title = {{InferD: A Honeypot Framework for AI Inference Infrastructure}},
  year = {2026},
  eprint = {2610.39807},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.39807},
}

Loading related content...

Figure