arXiv:2611.09348cs.CRNov 2026

Manuscript Offprint

arXiv:2611.09348

When Feedback Becomes a Backdoor: Tracing Backdoor Skill Formation in Text-Space Skill Optimization

Louise Nayeong Koh, Yaechan Lee, Myeongjong Lee, Doyeon Kim, Juyoung Park, Seunggyu Kim, Inseo Kim, Chaerin Jung, Hyogon Ryu

Abstract

Reference answers are a supervision channel in text-space Skill optimization, which produces reusable text artifacts called Skills that guide future agent behavior. Poisoning those answers can induce a persistent trigger-conditioned rule without giving the attacker access to the model, optimizer, or Skill file. We study this reference-feedback poisoning in SkillOpt by tracing an attacker-supplied trigger-payload mapping from reflection to held-out activation. In SearchQA, where the payload replaces a short answer, the natural attack retains an exact rule in all three seeds; each final Skill emits the payload on 200/200 triggered questions and 0/200 clean questions. In seed 42, removing the rule eliminates activation, and an in-run comparison shows similar clean accuracy to benign SkillOpt (169/200 versus 171/200). In SpreadsheetBench, where the payload requires an additional workbook edit, no natural run retains an exact rule across three seeds. Diagnostic interventions locate two successive bottlenecks: the Analyst abstracts away required literals, and, once literal preservation is enabled, edit-budget ranking can remove exact edits before candidate construction. Poisoned references can therefore create persistent backdoors, but exposure alone does not ensure that the induced rule is formed, selected, and retained.

1 Introduction

Self-evolving agents improve by converting execution experience into persistent natural-language Skills. A text-space skill optimizer, such as SkillOpt [1], runs the target model on a batch of tasks, scores the outputs against reference answers, reflects on failures, proposes textual edits, and retains a candidate Skill if it achieves a higher score on a validation set. The resulting Skill is reused on every later task. Supervision provided during optimization can therefore shape behavior well beyond the examples it came from.

Prior work has shown that this persistent state can be manipulated through memory and retrieval stores [7, 8], poisoned experience [5], malicious queries and trajectories [2–4], and directly supplied Skill files [6]. Poisoned human feedback has also been used to implant backdoors during weight-space RLHF [10]. Here we study a different feedback channel: reference answers used to judge an agent's executions during text-space Skill optimization. A poisoned training reference changes which executions are labeled as failures and thus what the optimizer reflects on. A poisoned validation reference changes which candidate wins. When optimization tasks draw on contributed or externally maintained datasets, the provenance and integrity of their reference answers can be difficult to verify.

Exposure is not persistence. A trigger-payload rule must be recognized, written as an executable edit, survive merging and ranking, enter a candidate, pass validation, remain in the endpoint Skill, and activate on held-out inputs bearing the trained trigger (Figure 1). These transitions can fail

*Equal contribution.

†Correspondence to Louise Nayeong Koh (louisenyk@yonsei.ac.kr) and Hyogon Ryu (hyogon.ryu@gmail.com).

Figure

Figure 1: Victim optimization loop. Execution is scored against references; reflection proposes edits; validation and selection determine which candidate is persisted. The attacker supplies only tasks and references.

independently, so we evaluate them as promotion stages rather than collapse them into one attack-success rate.

We study two SkillOpt environments with the same attacker capability. In SearchQA [11], the attack completes the full chain in all three seeds: the exact rule reaches the final Skill and activates on all 200 triggered held-out questions, but on none of the clean questions. Deleting the rule removes this behavior in the tested seed. In a matched comparison on seed 42, the poisoned best Skill and benign SkillOpt achieve similar observed clean test accuracy (169/200 and 171/200, respectively). This single-seed comparison is consistent with the backdoor coexisting with the optimizer's ordinary QA utility. In SpreadsheetBench [12], neither the same attack nor a matched trajectory-poisoning baseline [3] retains an exact rule across three seeds. Diagnostics expose two successive gates: literal abstraction first suppresses exact formation; after literal preservation is enabled, edit-budget ranking can still remove the rule before it enters a candidate. The settings show different outcomes, although their task-specific configurations do not isolate task complexity as the cause.

In summary, our contributions are:

  • We identify reference answers as an attacker-controlled supervision channel into text-space Skill optimization and separate the training-side role (rule formation) from the validation-side role (candidate selection).
  • We introduce a stage-resolved evaluation that tracks a poisoned rule from reflection to held-out activation, labeling each result as natural evidence or as a diagnostic that relaxes one gate, and never counting diagnostics toward attack success.
  • We show a complete natural attack chain across repeated runs in a short-answer setting, including selective held-out activation and paired rule deletion. In a structured, tool-mediated setting where the natural chain stops before exact-rule retention, we use targeted diagnostics to locate successive formation and ranking bottlenecks.
  • We identify a candidate-level carrier effect through which a validation-neutral backdoor edit rides into the best Skill on the gains of an unrelated clean edit.