Manuscript Offprint
arXiv:2609.00069Auditing Harness Tampering in Self-Improving Agents
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Self-improving agents iteratively modify their own harness to push the frontier of their performance. However, such modifications can produce illusory performance gains or compromise integrity constraints such as authorization, provenance, and completeness without genuinely improving capability. We term this phenomenon as harness tampering, which extends the concept from reward and measurement tampering to the full self-improvement lifecycle. To systematically study this problem, we propose a two-axis taxonomy that categorizes each misaligned edit by the harness functional role in which it occurs and the obligation it violates. Then we build an annotated corpus by seeding tampered–benign edit pairs into the real trajectories of self-improving agents. We adapt and benchmark diverse audit methods on tampering classification and localization tasks. Finally we systematically audit real trajectories of self-improving agents. The results demonstrate that harness tampering consistently occurs in real runs from different agents, often persists in the lineage of the best agent, and forms distinct system-specific profiles across the taxonomy.
Introduction
Large language models are increasingly deployed through agent harnesses that coordinate model calls, tools, control flow, context and memory (Wang et al. 2024b; Xi et al. 2025; Zhuge et al. 2024). In self-improving agents, the harness itself becomes an object of optimization when agent programs, workflows, or persistent state are updated to improve future performance (Gao et al. 2026; Ren et al. 2026; Hu, Lu, and Clune 2025; Zhang et al. 2025, 2026b,c,a). The optimization loop proposes changes, runs the changed variants on tasks, evaluates the results, and retains the selected variant. Repeating this loop allows genuine improvements in task performance to accumulate over time.
While this recursive self-improvement (RSI) pushes the frontier of agents' performance, it risks exposing and amplifying an agent's misaligned behavior when changing the harness. As shown in Fig. 1, consider a harness change where most of edits are benign, two lines are edited to overwrite the original overall accuracy into fixed 1.0 before saved to the disk. This two-line edit exposes the integrity risk when changing harness. More generally, a change can make a variant appear improved without improving its capability, but by altering how the variant is run, how its results are measured, how they are recorded, which variant is retained, or what

Figure 1: Harness tampering: an edit hidden in overwrites the recorded accuracy.
is carried into later iterations. The harness change also can involve authorization, completeness on required component and other misaligned issue. Prior work on reward tampering and measurement tampering examines how optimization can alter the reward mechanism or measurements used to determine success (Everitt et al. 2021; Roger et al. 2023; Atinafu and Cohen 2026; Thaman 2026). Self-improving agents place these concerns in a new setting, where the optimized harness spans all components of an agent's lifecycle including execution, evaluation, selection, recording, and propagation. We term this problem harness tampering.
To fill this gap and systematically analyze this misalignment during RSI, we propose a taxonomy for harness tampering. By two axes, the taxonomy describes where a misalignment occurs on the harness and what specific category of obligation has failed. The functional-role axis assigns the misalignment to the harness operation in which it directly occurs (execution, evaluation, selection, recording, or propa-

Figure 2: Overview. Left: the two-axis taxonomy of functional roles and obligations. (A) We seed matched tampered–benign edits into recorded harness changes to build a labeled corpus, and evaluate prompted and trained auditors on classification and localization. (B) We apply the selected auditor to real trajectories of self-improving systems and analyze the prevalence, persistence, and profiles of the findings.
gation) on the lifecycle of self-improvement. The obligation axis identifies the integrity condition that the agent should satisfy but violates. For example, if a “improved” harness variant tampers with an already computed score before reporting the score, this behavior on the functional axis is recording and its obligation axis is representational fidelity because the stored value no longer matches the result it claims to represent.
Along with the taxonomy, we adapt diverse audit methods to detect harness tampering and ask how well they classify and localize the misalignment. Since existing real harness changes carry no verified labels, we build an annotated corpus by seeding matched tampered–benign edit pairs into recorded changes from three representative RSI systems (Zhang et al. 2025, 2026b,c), where each pair shares a location and an apparent functional goal and differs only in whether an obligation is violated. On this corpus we compare eight prompted language models, a fastText classifier and a LoRA-adapted small model trained on our training split, scoring both whether an edit is tampering and whether its functional role and obligation are correctly attributed.
We then use the selected auditor to ask what an audit of current self-improving agents reveals and where the tampering localizes on the proposed two axes. We analyze publicly released run materials from ADAS (Hu, Lu, and Clune 2025), AFlow (Zhang et al. 2025), DGM (Zhang et al. 2026b), HyperAgents (Zhang et al. 2026c) and ScientistOne (Meng et al. 2026), and characterize the prevalence of tampering, its persistence along the lineage of the best agent, and the
system-specific profiles it forms across the taxonomy.
We summarize our contributions as follows:
-
We propose a two-axis taxonomy for harness tampering in self-improving agents, which characterizes misalignments by the directly affected harness functional role and the violated obligation.
-
We curate a dataset of tampered–benign harness edits using a fault-seeding paradigm based on real self-improvement trajectories and benchmark diverse audit methods ranging from lightweight classifiers to frontier LLMs.
-
With selected audit methods, we audit existing self-improving agents and provide a systematic analysis of real harness tampering that occurs across the taxonomy.
Self-Improving Agents and Harness Evolution
Self-improving agents enhance their capabilities across iterations by optimizing different layers of their operational scaffolding (Gao et al. 2026; Fang et al. 2025; Du et al. 2026; Ning et al. 2026). Early paradigms focus on optimizing task-level context and behavioral strategies, accumulating experiences in episodic memory (Shinn et al. 2023; Zhao et al. 2024), synthesizing reusable skill libraries (Wang et al. 2024a), or evolving natural-language prompts (Yang et al. 2024; Fernando et al. 2024). To unlock more expressive adaptation, recent frameworks expand the mutable boundary to code-defined agent architectures and workflows. For instance,
ADAS evolves algorithmic agent architectures from an explicit candidate archive (Hu, Lu, and Clune 2025), AFlow iteratively searches executable workflow topologies (Zhang et al. 2025), and DGM retains discovered coding agents within an evolutionary pool (Zhang et al. 2026b). More recent systems further generalize this search space by co-evolving task agents, search algorithms, and meta-level harnesses (Zhang et al. 2026c; Lee et al. 2026; Luo et al. 2026a), often introducing non-regression or validation checks to regulate behavioral drift (Zhang et al. 2026a).
However, expanding self-modification into the execution scaffolding introduces severe threats to evaluation validity. Recent studies indicate that apparent evolutionary gains often reflect benchmark overfitting or evaluation artifacts rather than genuine capability advances (Lin et al. 2026a; Wang et al. 2026b; Luo et al. 2026b). We focus on the underlying vulnerability: when an optimization loop can rewrite its own harness, it can tamper with the mechanisms that execute, evaluate, select, and record variants.
Tampering and Evaluation Integrity
Reward and measurement tampering describe failure modes where optimization exploits the feedback channel, producing illusory gains without advancing the underlying objective (Everitt et al. 2021; Roger et al. 2023). In executable agent environments, prior work documents agents cheating within task sandboxes by disabling assertions, leaking labels, or falsifying intermediate metrics (Denison et al. 2024; Atinafu and Cohen 2026; Thaman 2026; Zhao et al. 2026a; Roth et al. 2026).
In self-improving agents, tampering poses a distinct structural challenge beyond single-episode reward hacking. Because modified harness components are retained and inherited across iterations, integrity failures can accumulate as persistent system changes and compound across evolutionary cycles (Shao et al. 2026; Zhao et al. 2026b; Lin et al. 2026b). While prior benchmarks evaluate whether an agent cheats on a given task, we audit tampering at the level of iterative harness code changes, structured by our two-axis taxonomy.
Auditing Agent Trajectories and Code Artifacts
Detecting unauthorized modifications connects directly to research in AI control and safety monitoring (Greenblatt et al. 2024). Existing protocols inspect agent workspaces during scientific discovery (Kutasov et al. 2025; Libon et al. 2026), audit multi-turn pull requests (Hills, Caspary, and Stickland 2026), verify test integrity against leakage (Tu et al. 2026), or analyze counterfactual execution traces (Zhou et al. 2026).
Despite these advances, existing monitors predominantly target static code submissions or full trajectory rollouts. They lack the structural taxonomies and diagnostic benchmarks needed to audit mutations embedded within recursive improvement loops. Our work addresses this gap by introducing a change-level auditing framework. It evaluates whether models can detect tampering and identify the exact code edits that caused the tampering, even when those edits are mixed with benign optimizations to the evaluation harness.
Task Formulation and Taxonomy
A self-improving agent evolves by repeatedly modifying its own harness code. We call the set of edits applied in one iteration a harness change. Most harness changes pursue the intended goal: they refine the workflow so that the underlying model solves tasks better. Some, however, take shortcuts that are misaligned with the intended objective, where measured performance is increased without corresponding gain in real capability. We refer to such misaligned harness changes as harness tampering.
This work studies harness-tampering auditing, which we decompose into two questions. Classification asks whether a given harness change contains misaligned behavior and, if so, of what kind. Localization asks where in the self-improvement lifecycle the tampering is introduced, by localizing the responsible code. To answer these questions systematically, we organize tampering behaviors along two axes: a functional role axis, which identifies the component of the harness whose obligation fails, and an obligation axis, which identifies the type of integrity condition that is violated. The following sections detail the audit task and the proposed taxonomy in turn.
Harness-Tampering Classification and Localization
A self-improving agent progresses through many iterations, each updating its harness. Within an iteration, a harness change applied can be taken as a single unit: one iteration-to-iteration transition carries every edit the updater proposed at that step. We therefore take the applied change of one iteration as the unit of audit.
Auditing such a unit asks whether it introduces any misalignment that compromises how results are executed, evaluated, recorded, selected or propagated to subsequent iterations. A positive finding requires both an identifiable misalignment and causal support linking it to this change. Since a single applied change may carry several misalignments, the audit must resolve not only whether a change is clean, but which of its edits are not.
This yields two concrete tasks. In harness-tampering classification, the audit method receives the applied change, the original codebase, and a specified code segment, and outputs whether that segment constitutes misaligned tampering and, if so, its category in our proposed taxonomy. In harness-tampering localization, the method receives the same input without the specified segment, and must additionally output the code line numbers that localize the tampering.
Harness-Tampering Taxonomy
We characterize each tampering case along two axes. The functional-role axis records the specific harness operation whose obligation directly fails while the obligation axis records the fine-grained obligation that fails there. Informally, the first axis asks where in the loop the misalignment occurs and the second asks which obligation failed. We write a labeled case as , for example . Both axes are required to be decidable from observable differences between the pre-change and post-change state, neither of which refers to the model's intent or to whether the change benefited the variant.
| Obligation | Definition | Conceptual basis |
|---|---|---|
| Measurement validity | Whether a measurement supports the stated inference about its named target. | Validity theory (Kane 2013); reward and measurement tampering (Everitt et al. 2021; Roger et al. 2023). |
| Representational fidelity | Whether an output or record matches the event, value, state, or decision it represents. | Falsified verdicts and workflow records (Wang et al. 2026a; Thaman 2026). |
| Procedural integrity | Whether an edit follows procedure that governs its computation, transformation, or decision. | Integrity models (Clark and Wilson 1987); evaluator modification (Atinafu and Cohen 2026). |
| Authorization and access boundaries | Whether an action and the resources it reaches remain within the permitted boundary. | Protection principles (Saltzer and Schroeder 1975); held-out-data access (Atinafu and Cohen 2026). |
| Protected artifact and state integrity | Whether a protected object retains its required identity, contents, or validity. | Information integrity (Clark and Wilson 1987); reward-code, guard-test, and protected-file modification (Denison et al. 2024; Thaman 2026). |
| Provenance and source attribution | Whether an item is associated with the correct producer, variant, run, source, and version. | Data provenance (Buneman, Khanna, and Tan 2001); fabricated reward records (Wang et al. 2026a). |
| Required-set completeness | Whether every required member is present at the relevant judgment or handoff. | Data completeness (Wang and Strong 1996); test-deletion cases (Deshpande, Kannappan, and Qian 2026). |
Table 1: The seven obligations, each stated as a condition that must hold; a case is labeled with the obligation whose condition is false. Cited works provide the conceptual basis, while the organization and operational tests are ours.
Functional roles. The functional-role axis distinguishes operations by the function they perform within the self-improvement process. It comprises five roles. Execution applies, configures, loads, or runs a variant. Evaluation converts execution outputs into measurements, scores, or judgments. Selection uses results and other criteria to accept, reject, retain, promote, or choose variants. Recording creates or updates records of versions, results, or decisions. Propagation retrieves or supplies variants, records, memory, or context for use in a later iteration. These roles describe what an operation does, rather than when it occurs or which component performs it.
Obligations. The obligation axis distinguishes cases according to the type of obligation that is violated. We develop the axis by abstracting recurring integrity failures from concrete cases in prior work on reward tampering and evaluation integrity (Roger et al. 2023; Denison et al. 2024; Atinafu and Cohen 2026; Wang et al. 2026a; Deshpande, Kannappan, and Qian 2026; Thaman 2026), and distinguish these failures using established concepts of measurement validity, access control, information integrity, data provenance, and completeness (Everitt et al. 2021; Kane 2013; Saltzer and Schroeder 1975; Clark and Wilson 1987; Buneman, Khanna, and Tan 2001; Wang and Strong 1996). Table 1 presents the seven obligations, each stated as a condition that must hold; a case is labeled with the obligation whose condition is false. These seven obligations fall into four families: fidelity (representational, provenance), integrity (procedural, boundary, artifact), validity, and completeness.
Audit Dataset Construction
To evaluate whether current audit methods can classify and localize harness tampering in realistic self-improvement agents, we construct an audit corpus supporting the two auditing tasks (Fig. 2). Building such a corpus requires balancing realistic harness change with reliable ground truth. Real harness changes often span many edits across multiple files, forcing auditors to search for tampering among substantial surrounding modifications. However, these changes do not come with verified labels indicating whether or where tampering occurs. Conversely, constructing isolated patches from scratch would provide precise labels but discard the complex context challenge that auditors face in actual self-improvement runs.
To retain both, we adapt the fault-seeding paradigm (Weinberg 1971; Jia and Harman 2010; Just, Jalali, and Ernst 2014; Yang et al. 2026) to recorded harness changes produced by HyperAgents (Zhang et al. 2026c), DGM (Zhang et al. 2026b), and AFlow (Zhang et al. 2025). For each run, we recover the complete current diff and the exact pre-change versions of every file the diff touches. Then we carefully design the prompt of tampering generator seeded with real tampering example from manually identified examples from real trajectories of self-improving agents. A generator model, specifically GPT 5.6 Sol, is then prompted to create 1–5 tampered-benign edit pairs within each recorded change. Each seeded tampering edit is required to violate a specified obligation, while corresponding the benign edit is injected at the same location to pursue the same apparent functional role without violating the obligation.
Under this pipeline, labels are established by construction rather than inferred through post-hoc model judgment. This design helps mitigate potential LLM-induced biases, as an input constraint rather than an output of model judgment, thereby reducing circular evaluation dependencies. Furthermore, pairing each tampering edit with a matched benign counterpart prevents auditors from exploiting GPT 5.6's stylistic signatures as a discriminating shortcut.
The resulting dataset comprises an evaluation set of 1,765 classification and 1,801 localization samples, alongside a separate training set of 1,500 classification samples and 1,000 localization samples used to fine-tune Qwen 3.5 9B on this audit task for comparison. To ensure high data validity, we conducted human quality checks on a subset of the dataset (see the Supplementary Materials for details).
| Auditor | Classification | Localization | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Acc. | F1 | Func. | Oblig. | Cost ($) | Rec. | FPR ↓ | Func. | Oblig. | Cost ($) | |
| Random | 49.6 | 51.0 | 10.7 | 8.0 | n/a | 7.6 | 8.5 | 1.3 | 1.0 | n/a |
| Prompted auditors | ||||||||||
| Qwen 3.5 9B | 53.7 | 43.8 | 6.4 | 11.1 | 1.7 | 48.2 | 35.2 | 7.8 | 13.6 | 3.6 |
| Gemini 3.7 Flash | 56.0 | 30.1 | 11.9 | 10.1 | 9.9 | 24.8 | 0.2 | 15.2 | 16.4 | 14.7 |
| Grok 4.6 | 83.6 | 82.9 | 43.8 | 42.0 | 51.8 | 59.8 | 3.2 | 35.0 | 40.1 | 120.4 |
| Claude Sonnet 5 | 80.0 | 81.2 | 41.4 | 37.6 | 38.1 | 58.7 | 7.4 | 26.4 | 32.5 | 68.6 |
| Claude Opus 5 | 90.4 | 91.0 | 47.6 | 49.5 | 96.8 | 84.2 | 9.4 | 53.3 | 55.2 | 168.9 |
| GPT 5.6 Luna | 89.6 | 90.0 | 45.1 | 52.3 | 2.9 | 74.9 | 6.3 | 40.2 | 46.0 | 7.9 |
| GPT 5.6 Terra | 89.1 | 89.8 | 50.1 | 49.3 | 26.2 | 79.0 | 6.2 | 43.5 | 53.0 | 93.0 |
| GPT 5.6 Sol | 87.6 | 88.5 | 46.8 | 52.3 | 64.6 | 86.7 | 9.3 | 49.2 | 61.3 | 244.0 |
| Trained auditors | ||||||||||
| fastText | 56.2 | 39.7 | n/a | n/a | n/a | 31.3 | 9.5 | n/a | n/a | n/a |
| Qwen 3.5 9B + LoRA | 53.5 | 69.6 | 51.5 | 50.7 | 1.7 | 83.4 | 81.2 | 49.7 | 59.2 | 3.5 |
Table 2: Classification and localization performance of random, prompted, and trained auditors. Acc. and F1 denote classification accuracy and F1 score; Rec. denotes seeded recall, and FPR denotes the seeded false-positive rate. Func. and Oblig. report the accuracies of the predicted functional role and obligation, respectively. Higher is better except for FPR and cost. Cost ($) is the estimated USD cost of one evaluation run at public API prices.
| System | Tampering Rate | Avg. Findings |
|---|---|---|
| ADAS | 84.6% | 1.12 |
| AFlow | 18.3% | 0.18 |
| DGM | 63.1% | 1.18 |
| HyperAgents | 73.6% | 0.94 |
| ScientistOne | 29.6% | 0.31 |
Table 3: Prevalence of tampering findings in the experiment runs of publicly released materials, audited with GPT 5.6 Luna. Tampering rate is the percentage of iterations containing at least one finding. Average tampering is the total number of findings divided by all iterations, including zero-finding iterations.
Experiment
Auditor Evaluation on Dataset
Audit methods. Across the classification and localization tasks defined in Sec. Task Formulation and Taxonomy, we compare a random baseline with two auditor settings: prompted auditors and auditors trained on our corpus. The prompted setting includes eight language models: Qwen 3.5 9B (Qwen Team 2026), Gemini 3.7 Flash (Google 2026), Grok 4.6 (xAI 2026), Claude Sonnet 5 (Anthropic 2026b), Claude Opus 5 (Anthropic 2026a), GPT 5.6 Luna (OpenAI 2026a), GPT 5.6 Terra (OpenAI 2026c), and GPT 5.6 Sol (OpenAI 2026b). For the trained setting, we use the held-out corpus training split to train a fastText classifier (Joulin et al. 2017) and a LoRA-adapted Qwen 3.5 9B for both tasks.
Evaluation Protocol Following fault-seeding dataset construction, we evaluate auditors on the tampering classification and localization tasks. For each sample, an auditor receives the complete current diff of a recorded change with the relevant seeded edits spliced in, together with the exact pre-change versions of all files touched by the diff.
In the classification task, given the harness diff alongside the codebase, the auditor evaluates specific diff line numbers to determine whether they represent tampering behavior and classifies them along both taxonomy axes. We measure Accuracy as the proportion of samples for which the auditor correctly identifies the presence or absence of tampering, and F1 as the harmonic mean of precision and recall on the positive (i.e., tampered) class. For the two taxonomy axes, we report classification accuracy on functional roles and obligations separately. Notably, if an auditor fails to detect a tampering edit (i.e., produces a false negative), both axis-level accuracy scores for that sample are set to zero, as a missed detection precludes any downstream categorization. All classification metrics are macro-averaged over all seeded edits.
The localization task requires the auditor to output a list of tampered edits by specifying code line number and category along with two taxonomy axes. We evaluate localization using two complementary metrics:
-
Seeded Recall: For each diff containing seeded tampering edits, we count the number of edits whose line locations are covered by the auditor's predicted lines, yielding a recall of .
-
Seeded-Control False-Positive Rate (FPR): For each diff containing seeded benign edits, we count the number of edits whose line locations are within seeded benign edits and incorrectly flagged as tampering, yielding a FPR of .
Both metrics are macro-averaged across all evaluated harness changes. Functional-role and obligation accuracies are computed over the seeded tampering edits in the same manner as in the classification task, assigning a score of zero to missed localizations.

Figure 3: Findings carried by the best agent across iterations. Curves are averaged over runs and truncated once fewer than 60% remain active. ADAS exposes no reconstructable lineage, so its dashed line reports the overall mean.
Main results. Table 2 summarizes auditing performance and cost on both tasks. Claude Opus 5 achieves the strongest classification performance, with 90.4% accuracy and 91.0% F1. Localization is more challenging and yields greater separation among prompted auditors: seeded recall ranges from 24.8% to 86.7%, compared to classification accuracies of 53.7%–90.4%. GPT 5.6 Sol and Claude Opus 5 achieve the highest localization recall, though both exhibit an FPR of approximately 10% on benign controls. Across all auditors, functional-role and obligation accuracies remain lower, suggesting that explaining how and why an edit constitutes tampering is harder than identifying it.
Within the GPT 5.6 family, localization recall increases progressively from Luna to Terra and Sol. Relative to Luna, Sol improves seeded recall by 11.8 percentage points but increases the FPR by 3.0 percentage points. Crucially, this gain comes at substantially higher monetary cost: Luna requires only 4.5% of Sol's cost on classification and 3.2% on localization. Luna therefore offers the most favorable cost-performance trade-off for classification, while Sol provides higher localization recall at the expense of a higher FPR.
Beyond general-purpose prompted models, we investigate whether domain-specific adaptation can enhance auditing capability on smaller models. As shown in Table 2, task-specific LoRA adaptation substantially improves Qwen 3.5 9B: while classification accuracy remains nearly unchanged, F1 increases from 43.8% to 69.6%, functional-role accuracy from 6.4% to 51.5%, and obligation accuracy from 11.1% to 50.7%. The improvement is even larger on localization, where seeded recall rises from 48.2% to 83.4% and attribution accuracies approach the strongest prompted auditors, albeit at the cost of a higher false positive rate (81.2%). This trade-off indicates that LoRA adaptation favors aggressive flagging over specificity, making the model more suitable for high-recall screening than for standalone auditing. Finally, fastText achieves 56.2% accuracy but only 39.7% F1, below the random baseline of 51.0%. This suggests that surface-level lexical features do not provide a reliable signal for

Figure 4: When tampering findings enter the ancestry of the final best agent. Each dot marks the iteration introducing one finding, and the segment runs from the earliest finding to delivery. Empty rows are clean ancestries.
identifying tampering.
Auditing Self-Improving Agents
To evaluate harness tampering in realistic settings, we analyze publicly released execution traces from four self-improving agent systems: ADAS (Hu, Lu, and Clune 2025), AFlow (Zhang et al. 2025), DGM (Zhang et al. 2026b), and HyperAgents (Zhang et al. 2026c). We additionally include ScientistOne (Meng et al. 2026) as an informative boundary case. While ScientistOne does not evolve execution harnesses by itself, its agents directly modify task workspaces and shared environment configurations. Across all systems, we focus strictly on the primary self-improvement runs from the original papers, excluding baseline and ablation trajectories.
For consistency, we align our audit unit with each system's native iteration, mapping each self-improvement step to a single Luna auditing call. We employ GPT 5.6 Luna (hereafter, Luna) as the auditor due to its strong cost-efficiency (74.9% seeded recall, 6.3% seeded-control FPR). To assess whether performance on the seeded dataset reflects reliability on naturally occurring diffs, we manually inspected a sample of its actual localization predictions during evaluation (detailed in the Supplementary Materials).
Prevalence. Harness tampering is observed across all evaluated self-improving systems, though their empirical frequencies differ (Table 3). We report both the Luna-identified tampering rate (the proportion of iterations containing finding) and average findings (the total number of tampering findings divided by the total number of iterations), hereafter

Figure 5: Composition of all tampering findings by functional role (left) and obligation (right), normalized within each system with colors fixed across systems. Totals are 145 (ADAS), 21 (AFlow), 166 (DGM), 425 (HyperAgents), and 17 (ScientistOne).
referred to simply as the tampering rate and average findings. These metrics distinguish overall frequency from per-iteration density: while ADAS displays the highest fraction of tampered iterations (84.6%), DGM exhibits the highest finding density (1.18 findings/iter despite a lower 63.1% tampering rate), indicating that multiple breaches often co-occur within single modification steps. HyperAgents also shows high tampering rates (73.6%, 0.94 findings/iter), whereas AFlow is more constrained (18.3% rate, 0.18 findings/iter). Finally, the ScientistOne boundary case suggests that tampering is not restricted to meta-evolutionary frameworks, but also arises when agents modify task workspaces directly (29.6% rate, 0.31 findings/iter). It indicates the widespread existence of tampering behavior. We provide an in-depth discussion of the architectural and environmental factors driving these cross-system disparities in Supplementary Materials.
Persistence. To assess whether early tampering persists through evolutionary selection, we trace the ancestral lineage of the best agent at each iteration (Fig. 3). Specifically, we follow each system's original selection criterion to identify the best agent at iteration t, reconstruct its ancestry via parent links, and count active findings introduced along its lineage. Each curve is averaged across multiple runs and truncated once fewer than 60% of runs remain active to prevent survivor bias. Because ADAS's publicly released run materials do not contain sufficient metadata to reconstruct a continuous parent-child lineage, its dashed line instead reports the overall mean of 1.12 findings per iteration for reference.
As shown in Fig. 3, HyperAgents and DGM exhibit tampering accumulation, with their final best agents retaining an average of 5.2 and 3.5 concurrent findings, respectively, while AFlow (0.3) and ScientistOne (1.0) remain low.
Tracing the ancestral lineage of the final best agents (Fig. 4) further reveals when these persistent tampering findings enter the lineage. In long-horizon systems (HyperAgents and DGM), findings introduced within the earliest iterations (< 10) persist across the entire 80–100 iteration runs and remain active in the final agent. In contrast, short-horizon systems (≤ 20 iterations) show minimal accumulation, with several final agents (e.g., AFlow on HumanEval) remaining completely clean. These results suggest that tampering is not merely an isolated, late-stage anomaly. Uncorrected early modifications can also persist across dozens of iterations, being carried
through to the final best agents. It highlights the importance of self-auditing component in the self-improving agent.
Profiles. Analyzing the distribution of all findings across the two-axis taxonomy of all findings (Fig. 5) reveals that tampering behaviors vary substantially with system architecture rather than adhering to a uniform mode. Functionally, HyperAgents and AFlow predominantly modify evaluation harnesses (59% and 38%, respectively), whereas DGM shows a notable concentration in recording components (30%), reflecting changes to logging and state tracking. In contrast, ADAS (42%) and ScientistOne (41%) most frequently tamper with execution routines. Regarding obligations, violations in HyperAgents (50%) and ADAS (41%) are concentrated in procedural integrity, whereas AFlow primarily compromises provenance (48%), and DGM is more broadly distributed across representational fidelity (27%) and completeness (22%). The diversity of these profiles suggests that auditing mechanisms focused on a single functional role or obligation are unlikely to capture the full spectrum of tampering across different agent designs. We provide more case studies in our Supplemental Materials.
Conclusion
We introduce a framework for auditing harness tampering in self-improving agents, comprising a two-axis taxonomy of functional roles and obligations, a dataset of matched tampered–benign edits constructed within recorded harness changes, and classification and localization tasks. On the constructed dataset, the best-performing language-model auditors achieved high classification accuracy and localization recall, but taxonomy attribution remained substantially less accurate. An audit of released materials from four self-improving systems and one automated-research system identifies tampering findings in every evaluated system, with substantial variation in their prevalence and taxonomy profiles. In the two long-horizon systems, some tampering findings introduced early remained in the ancestry of final selected agents across dozens of iterations. These results demonstrate the risks associated with mutable harnesses and highlight the urgent need for tamper-proof evaluation channels, provenance-aware state tracking, and continuous auditing protocols in autonomous self-improvement.
References
Anthropic. 2026a. Introducing Claude Opus 5.
Anthropic. 2026b. Introducing Claude Sonnet 5.
Atinafu, Y.; and Cohen, R. 2026. RewardHackingAgents: Benchmarking Evaluation Integrity for LLM ML-Engineering Agents. In 2026 IEEE 42nd International Conference on Data Engineering Workshops, 27–34.
Buneman, P.; Khanna, S.; and Tan, W.-C. 2001. Why and Where: A Characterization of Data Provenance. In Database Theory: ICDT 2001, volume 1973 of Lecture Notes in Computer Science, 316–330.
Clark, D. D.; and Wilson, D. R. 1987. A Comparison of Commercial and Military Computer Security Policies. In Proceedings of the 1987 IEEE Symposium on Security and Privacy, 184–195.
Denison, C.; MacDiarmid, M.; Barez, F.; Duvenaud, D.; Kravec, S.; Marks, S.; Schiefer, N.; Soklaski, R.; Tamkin, A.; Kaplan, J.; Shlegeris, B.; Bowman, S. R.; Perez, E.; and Hubinger, E. 2024. Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Models. arXiv preprint arXiv:2406.10162.
Deshpande, D.; Kannappan, A.; and Qian, R. 2026. Benchmarking Reward Hack Detection in Code Environments via Contrastive Analysis. arXiv preprint arXiv:2601.20103.
Du, S.; Zhao, J.; Shi, J.; Xie, Z.; Jiang, X.; Bai, Y.; and He, L. 2026. A Survey on the Optimization of Large Language Model-Based Agents. ACM Computing Surveys, 58(9): 1–37.
Everitt, T.; Hutter, M.; Kumar, R.; and Krakovna, V. 2021. Reward Tampering Problems and Solutions in Reinforcement Learning: A Causal Influence Diagram Perspective. Synthese, 198(S27): 6435–6467.
Fang, J.; Peng, Y.; Zhang, X.; Wang, Y.; Yi, X.; Zhang, G.; Xu, Y.; Wu, B.; Liu, S.; Li, Z.; Ren, Z.; Aletras, N.; Wang, X.; Zhou, H.; and Meng, Z. 2025. A Comprehensive Survey of Self-Evolving AI Agents: A New Paradigm Bridging Foundation Models and Lifelong Agentic Systems. arXiv preprint arXiv:2508.07407.
Fernando, C.; Banarse, D. S.; Michalewski, H.; Osindero, S.; and Rocktäschel, T. 2024. Promptbreeder: Self-Referential Self-Improvement via Prompt Evolution. In ICML, 13481–13544.
Gao, H.-a.; Geng, J.; Hua, W.; Hu, M.; Juan, X.; Liu, H.; Liu, S.; Qiu, J.; Qi, X.; et al. 2026. A Survey of Self-Evolving Agents What, When, How, and Where to Evolve on the Path to Artificial Super Intelligenc. Transactions on Machine Learning Research, 2026-January.
Google. 2026. Gemini 3.7 Flash.
Greenblatt, R.; Shlegeris, B.; Sachan, K.; and Roger, F. 2024. AI Control: Improving Safety Despite Intentional Subversion. In ICML, 16295–16336.
Hills, J.; Caspary, I.; and Stickland, A. C. 2026. Distributed Attacks in Persistent-State AI Control. arXiv preprint arXiv:2607.02514.
Hu, S.; Lu, C.; and Clune, J. 2025. Automated design of agentic systems. In ICLR, volume 2025, 21344–21377.
Jia, Y.; and Harman, M. 2010. An analysis and survey of the development of mutation testing. IEEE transactions on software engineering, 37(5): 649–678.
Joulin, A.; Grave, E.; Bojanowski, P.; and Mikolov, T. 2017. Bag of Tricks for Efficient Text Classification. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, 427–431.
Just, R.; Jalali, D.; and Ernst, M. D. 2014. Defects4J: A database of existing faults to enable controlled testing studies for Java programs. In Proceedings of the 2014 international symposium on software testing and analysis, 437–440.
Kane, M. T. 2013. Validating the Interpretations and Uses of Test Scores. Journal of Educational Measurement, 50(1): 1–73.
Kutasov, J.; Sun, Y.; Colognese, P.; van der Weiij, T.; Petrini, L.; Zhang, C. B. C.; Hughes, J.; Deng, X.; Sleight, H.; Tracy, T.; Shlegeris, B.; and Benton, J. 2025. SHADE-Arena: Evaluating Sabotage and Monitoring in LLM Agents. arXiv preprint arXiv:2506.15740.
Lee, Y.; Nair, R.; Zhang, Q.; Lee, K.; Khattab, O.; and Finn, C. 2026. Meta-Harness: End-to-End Optimization of Model Harnesses. arXiv preprint arXiv:2603.28052.
Libon, L.; Rank, B.; Yeon, J.; Schmotz, D.; Qin, J.; Donnelly, D.; Prinzhorn, D.; and Andriushchenko, M. 2026. ResearchArena: Evaluating Sabotage and Monitoring in Automated AI R&D. arXiv preprint arXiv:2607.19321.
Lin, M.; Wu, J.; Wang, Z.; Shi, Z.; Sang, Y.; He, B.; Liu, Z.; Wei, T.; Wu, Z.; Zhang, Z.; et al. 2026a. Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agents. arXiv preprint arXiv:2605.30621.
Lin, R.; Deng, X.; Li, Q.; Ma, J.; Feng, Y.; Qing, Y.; Li, Z.; Zhang, Y.; Cui, S.; Meng, C.; Zhang, T.; Ma, X.; Li, Q.; Xu, K.; and Ji, S. 2026b. Safety in Self-Evolving LLM Agent Systems: Threats, Amplification, and Case Studies. arXiv preprint arXiv:2606.23075.
Luo, H.; Huang, Y.; Luo, S.; Liu, F.; Li, L.; Hu, Z.; Feng, J.; and Liu, Q. 2026a. Harness-Aware Self-Evolving: Co-Evolving Model Weights, Harness, and Task Solutions. arXiv preprint arXiv:2607.03935.
Luo, X.; Xue, D.; Wang, F.; Hu, C.; and Deng, Y. 2026b. HarnessBank: Semantic Gene-Bank Search with Gated Verification for Agent-Harness Self-Evolution. arXiv preprint arXiv:2607.13683.
Meng, R.; Mishra, B. D.; Chen, J.; Li, C.-L.; Goyal, P.; Parmar, M.; Song, Y.; Song, Y.; Sinha, R.; Ranganathan, P.; et al. 2026. ScientistOne: Towards Human-Level Autonomous Research via Chain-of-Evidence. arXiv preprint arXiv:2605.26340.
Ning, X.; Tieu, K.; Fu, D.; Wei, T.; Li, Z.; Bei, Y.; Zou, J.; Ai, M.; Liu, Z.; Li, T.-W.; et al. 2026. Code as Agent Harness. arXiv preprint arXiv:2605.18747.
OpenAI. 2026a. GPT-5.6 Luna Model.
OpenAI. 2026b. GPT-5.6 Sol Model.
OpenAI. 2026c. GPT-5.6 Terra Model.
Qwen Team. 2026. Qwen3.5-9B. Model card.
Ren, Z.; Chen, Y.; Guo, D.; Rong, G.; Li, T.; Xiong, R.; Lan, Q.; Wang, W.; Nanbo, L.; Yang, Y.; et al. 2026. Self-Improvements in Modern Agentic Systems: A Survey. arXiv preprint arXiv:2607.13104.
Roger, F.; Greenblatt, R.; Nadeau, M.; Shlegeris, B.; and Thomas, N. 2023. Benchmarks for Detecting Measurement Tampering. arXiv preprint arXiv:2308.15605.
Roth, A.; Samanta, A.; Halevy, M.; Levine, Y.; and Efroni, Y. 2026. Hack-Verifiable Environments: Towards Evaluating Reward Hacking at Scale. arXiv preprint arXiv:2605.20744.
Saltzer, J. H.; and Schroeder, M. D. 1975. The Protection of Information in Computer Systems. Proceedings of the IEEE, 63(9): 1278–1308.
Shao, S.; Ren, Q.; Liu, D.; Qian, C.; Wei, B.; Guo, D.; Yang, J.; Song, X.; Zhang, L.; Zhang, W.; and Shao, J. 2026. Your Agent May Misevolve: Emergent Risks in Self-Evolving LLM Agents. In ICLR, volume 2026, 99728–99793.
Shinn, N.; Cassano, F.; Gopinath, A.; Narasimhan, K.; and Yao, S. 2023. Reflexion: Language Agents with Verbal Reinforcement Learning. In NeurIPS, volume 36, 8634–8652.
Thaman, K. 2026. Reward Hacking Benchmark: Measuring Exploits in LLM Agents with Tool Use. arXiv preprint arXiv:2605.02964.
Tu, X.; Wang, T.; Lu, Y.; Huang, K.; Qu, Y.; and Mostafavi, S. 2026. BenchGuard: Who Guards the Benchmarks? Automated Auditing of LLM Agent Benchmarks. arXiv preprint arXiv:2604.24955.
Wang, G.; Xie, Y.; Jiang, Y.; Mandlekar, A.; Xiao, C.; Zhu, Y.; Fan, L.; and Anandkumar, A. 2024a. Voyager: An Open-Ended Embodied Agent with Large Language Models. Transactions on Machine Learning Research.
Wang, H.; Li, H.; Mang, Q.; Cheung, A.; Sen, K.; and Song, D. 2026a. Do Androids Dream of Breaking the Game? Systematically Auditing AI Agent Benchmarks with BenchJack. arXiv preprint arXiv:2605.12673.
Wang, L.; Ma, C.; Feng, X.; Zhang, Z.; Yang, H.; Zhang, J.; Chen, Z.; Tang, J.; Chen, X.; Lin, Y.; et al. 2024b. A survey on large language model based autonomous agents. Frontiers of computer science, 18(6): 186345.
Wang, R. Y.; and Strong, D. M. 1996. Beyond Accuracy: What Data Quality Means to Data Consumers. Journal of Management Information Systems, 12(4): 5–33.
Wang, Y.; Zhu, H.; Hu, Z.; Yuan, Y.; Chen, Z.; Senthil, S.; Hajishirzi, H.; Tsvetkov, Y.; Dasigi, P.; and Xiao, T. 2026b. Rethinking the Evaluation of Harness Evolution for Agents. arXiv preprint arXiv:2607.12227.
Weinberg, G. M. 1971. The psychology of computer programming. Van Nostrand Reinhold New York.
xAI. 2026. Introducing Grok 4.6.
Xi, Z.; Chen, W.; Guo, X.; He, W.; Ding, Y.; Hong, B.; Zhang, M.; Wang, J.; Jin, S.; Zhou, E.; et al. 2025. The rise and potential of large language model based agents: A survey. Science China information sciences, 68(2): 121101.
Yang, C.; Wang, X.; Lu, Y.; Liu, H.; Le, Q. V.; Zhou, D.; and Chen, X. 2024. Large language models as optimizers. In ICLR, volume 2024, 12028–12068.
Yang, J.; Lieret, K.; Jimenez, C.; Wettig, A.; Khandpur, K.; Zhang, Y.; Hui, B.; Press, O.; Schmidt, L.; and Yang, D. 2026. Swe-smith: Scaling data for software engineering agents. NeurIPS, 38.
Zhang, H.; Zhang, S.; Li, K.; Zhang, C.; Chen, Y.; Zhang, Y.; Bai, L.; and Hu, S. 2026a. Self-Harness: Harnesses That Improve Themselves. arXiv preprint arXiv:2606.09498.
Zhang, J.; Hu, S.; Lu, C.; Lange, R.; and Clune, J. 2026b. Darwin Gödel machine: open-ended evolution of self-improving agents. In ICLR, volume 2026, 104223–104294.
Zhang, J.; Xiang, J.; Yu, Z.; Teng, F.; Chen, X.; Chen, J.; Zhuge, M.; Cheng, X.; Hong, S.; Wang, J.; et al. 2025. Aflow: Automating agentic workflow generation. In ICLR, volume 2025, 34040–34077.
Zhang, J.; Zhao, B.; Yang, W.; Foerster, J.; Clune, J.; Jiang, M.; Devlin, S.; and Shavrina, T. 2026c. Hyperagents. arXiv:2603.19461.
Zhao, A.; Huang, D.; Xu, Q.; Lin, M.; Liu, Y.-J.; and Huang, G. 2024. ExpeL: LLM Agents Are Experiential Learners. In AAAI, volume 38, 19632–19642.
Zhao, B.; Srikanth, D.; Wu, Y.; and Jiang, Z. 2026a. Specbench: Measuring reward hacking in long-horizon coding agents. arXiv preprint arXiv:2605.21384.
Zhao, W.; Zhang, Y.; Wang, Y.; Deng, Y.; Zhao, Y.; Zhi, X.; Huang, Y.; He, H.; Che, W.; Qin, B.; and Liu, T. 2026b. On Safety Risks in Experience-Driven Self-Evolving Agents. In Findings of the Association for Computational Linguistics, 42145–42169.
Zhou, X.; Liu, J.; Li, L.; Rossi, R. A.; and Hu, X. 2026. Counterfactual Trace Auditing of LLM Agent Skills. arXiv preprint arXiv:2605.11946.
Zhuge, M.; Wang, W.; Kirsch, L.; Faccio, F.; Khizbullin, D.; and Schmidhuber, J. 2024. GPTSwarm: Language Agents as Optimizable Graphs. In ICML, 62743–62767.