mlsanityData to 24 Nov 2026

Kerkoporta: Injecting Structured-Output Backdoors in Reasoning Coding Agents

arXiv 2611.00138 ↗Submitted 29 Oct 2026cs.CR cs.AIcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 2 more
Abstract (arXiv)

Existing large language model (LLM) backdoor attacks operate primarily in chat settings, where the risk is bounded by free-form text outputs. AI agents remove that bound by performing actions and executing commands on the user's machine. We introduce structured-output backdoor attacks against reasoning models in agentic coding settings. A trigger placed anywhere in the agent's context causes the model to emit an attacker-chosen tool call, which the harness executes, directly compromising the system's confidentiality, integrity, or availability. We present Kerkoporta, a methodology that constructs high-quality poison samples, injects the backdoor via supervised fine-tuning, and recovers utility loss with lightweight reinforcement learning. We evaluate on modern, heavily post-trained open-weight models across proprietary and open-source harnesses, focusing on coding for its wide adoption and long-horizon task structure. The attack reaches success rates of up to 96.2% and can be configured to generalize across harnesses or bind to a single target. The resulting models can outperform the clean baseline on standard utility benchmarks, giving victims a direct incentive to adopt them. Overall, we demonstrate that LLM backdoors can have critical security impacts in the context of modern coding agents, and we characterize the poisoning methodology required to insert backdoors that are both effective and stealthy in this setting.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 28 of its 52 references that are in the map. Submitted 29 Oct 2026.

Builds on

28 of 52 references.

References · 28

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  5. 2018How To Backdoor Federated Learningcited by 778
  6. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 606
  7. 2019Local Model Poisoning Attacks to Byzantine-Robust Federated Learningcited by 504
  8. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
  9. 2020Attack of the Tails: Yes, You Really Can Backdoor Federated Learningcited by 313
  10. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 312
  11. 2023Poisoning Language Models During Instruction Tuningcited by 290
  12. 2019Can You Really Backdoor Federated Learning?cited by 266
16 more
  1. 2026Kimi K3: Open Frontier Intelligencecited by 233
  2. 2018Manipulating Machine Learning: Poisoning Attacks and Countermeasures for Regression Learningcited by 227
  3. 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 220
  4. 2025RL's Razor: Why Online Reinforcement Learning Forgets Lesscited by 217
  5. 2025Open Problems in Mechanistic Interpretabilitycited by 209
  6. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 153
  7. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 127
  8. 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgettingcited by 115
  9. 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 96
  10. 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 89
  11. 2026Tmax: A simple recipe for terminal agentscited by 47
  12. 2023Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Reviewcited by 42
  13. 2025A Survey on Backdoor Threats in Large Language Models (LLMs): Attacks, Defenses, and Evaluationscited by 31
  14. 2026BackdoorAgent: A Unified Framework for Backdoor Attacks on LLM-based Agentscited by 19
  15. 2026Evading Chain-of-Thought Monitoring Through Model Poisoningcited by 4
  16. 2026MetaBackdoor: Exploiting Positional Encoding as a Backdoor Attack Surface in LLMscited by 2

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Sleeper Cell: Injecting Latent Malice Temporal Backdoors into Tool-Using LLMs
  2. 2026The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers
  3. 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents
  4. 2026Inference-Time Backdoors via Chat Templates: From LLM Supply Chains to Agentic System Compromise
  5. 2026Critical-CoT: A Robust Defense Framework against Reasoning-Level Backdoor Attacks in Large Language Models
  6. 2026When Experience Becomes a Backdoor: Poisoning Self-Evolving LLM Agents via Failure-Aware Task Optimization
  7. 2025From Poisoned to Aware: Fostering Backdoor Self-Awareness in LLMs
  8. 2025Rethinking Reasoning: A Survey on Reasoning-based Backdoors in LLMs