Published October 28, 2026 | Version 1.0

An Empirical Evaluation of Attack and Defense Dynamics in Enterprise Agentic LLM Pipelines

Description

Agentic large language model (LLM) systems in enterprise backends combine planning with retrieval, code execution, and API access, which widens their attack surface beyond that of single-turn LLM integrations. Threat taxonomies and layered defense architectures for such agents have multiplied, but controlled evidence of how specific attack classes fare against a layered defense in an enterprise-style pipeline remains limited. This study evaluates four attack classes (indirect prompt injection, goal hijacking, cascade exploitation through error recovery, and tool description poisoning) against a purpose-built pipeline using the open-weight gpt-oss-20b planning model, under an undefended baseline and a four-layer defense: input screening, per-step goal-consistency verification, output validation, and human-in-the-loop gating. Across 740 trials, baseline attack success rates were far below published benchmark figures: 7.5% for indirect injection and for goal hijacking, 25.0% for tool description poisoning, and 0% for cascade exploitation. The layered defense eliminated every success (0/80 per class; p = .028 for both injection classes, p < .001 for tool poisoning) but at a utility cost that varied by class, from 0.98 for goal hijacking to 0.68 for tool poisoning. Cascade exploitation could not be mounted in 72% of trials because tasks finished within one to three tool calls, refuting it as a material threat to short-chain agents. Two further findings bear on deployment: goal-verifier thresholds produced near-threshold false positives that made utility unstable between runs, and an approval flag exposed in the tool schema let the agent approve its own write calls in all 12 successful injection attacks.

Contents of this record

This record contains the paper (PDF) and the full trial dataset behind every statistic and figure in it: 740 trial records collected between 14 September and 2 October 2026 (trials_checkpoint.jsonl), the first-collection records used for the pooled utility figures (trials_checkpoint.jsonl.pre-scorer-fix.bak), a flat CSV version, the runner's summary, and the full run log. README_data.md describes every file and field and explains how to reproduce the paper's statistics.

All corpora, payloads and tasks are synthetic. Attacker hosts are subdomains of example.com and never resolve; no payload was delivered to any real system.

The code is available at https://github.com/patrickikhidero/agentic-llm-security and archived at https://doi.org/10.5281/zenodo.23717855.

Files

Agentic_LLM_Security_Empirical_Paper-Ikhidero.pdf

Files (4.9 MB)

Name Size
md5:1c34d1b76085dae35ddab1a971cf9379
657.4 kB Preview Download
md5:cdee676ce68b6277c5e19cb31d8a8881
7.1 kB Preview Download
md5:f81b1f7796f8886280bc43047b576dd7
3.1 MB Download
md5:2f2f936f14a69aceec380c6d4ee5bfb2
4.7 kB Preview Download
md5:c6f0910ed43b591ea12036980fe2a7ac
749.6 kB Download
md5:8ccedb28fbf5aeb16f04fd8ddaec3ef0
367.6 kB Download

Additional details

Related works

Is supplemented by
Software: 10.5281/zenodo.23717855 (DOI)
Software: https://github.com/patrickikhidero/agentic-llm-security (URL)
References
Preprint: 10.5281/zenodo.21182170 (DOI)

Dates

Collected
2026-09-14/2026-10-02
Trial data collection

Software

Repository URL
https://github.com/patrickikhidero/agentic-llm-security
Programming language
Python
Development Status
Active