Retrieved article excerpt
Open article · Retrieved 2026-10-26T21:27:34.849848+00:00
A robot cuts through a chain with red scissors to remove a record.
- [Research](https://www.manifold.security/blog?category=research)
# AI agents have few qualms with log tampering
Oct 26, 2026•8 Min
- Cody Nash[Cody Nash](https://www.manifold.security/author/cody-nash)Researcher
---
## TL;DR
- Research shows that most current frontier AI agents will tamper with their own logs. Only Muse Spark frequently refused requests. Claude Code, Codex and other harnesses running the latest models almost always complied.
- We tested two open models to get more insight into why the models comply so readily. Log tampering requests were only refused when an explicit policy was in place. Abliteration of harmful refusals or moral direction suggests there is a rule following component. Observation of experts activated by the models suggests log tampering is generally not considered a matter of right or wrong.
- Not just theoretical: Reviews of rogue agent incidents this year found widespread tampering efforts, including log spoofing, container resets to erase history, and unexplainable gaps in logs.
- Tamper-evident logging (hash chains, Merkle trees, an outside recorder) shows when logs were altered. Agent tools for this shipped months before the incidents.
- Better alignment lowers the risk but won’t remove it. Catching tampering has to happen outside the model.
## Everybody’s doing it
In their [Sept. 24 study](https://arxiv.org/abs/2609.30266), Qin et al. show it is alarmingly easy to get current frontier models to tamper with their own traces, hiding the evidence of what they did. Their study found that if you simply ask them to delete their transcripts, they’ll do it almost every time. Showing them peers who did it works almost as well, without even asking. Make it into a game? They hid their tracks in nearly every run. No fine-tuning, no [abliteration of refusals](https://www.anthropic.com/research/glm-5-3-and-the-spread-of-advanced-cyber-capabilities) needed. Their peer experiment was directly inspired by OpenAI’s agents’ infiltration and abuse of [Hugging Face](https://metr.org/blog/2026-08-26-openai-hugging-face-incident-investigation/) this summer. During that incident, agents showed great interest in developing log tampering techniques and directed multiple efforts to that end. Investigators noted “it was common for agents to edit” the logs to which they had access. We only know about these activities because logs the investigators relied upon as a source of truth remained out of the agents reach.
We wanted to know why agents go after their logs so readily, so we looked inside two open models. We examined, via abliteration, the concepts associated with log tampering refusals. We investigated whether the models considered tampering right or wrong by looking at which experts, in mixture of experts models, were used when considering requests.
Tamper-evident logging methods, which we will explain, can prove a log hasn’t been touched, and agent tools like nono and AI Action Ledger shipped them earlier this year. Read on to find out more about how models think about log-tampering, how tamper-evident logging works, and where we go from here.
## Models happily delete logs
To see why models comply so readily, we looked inside two small open models, [OLMoE](https://huggingface.co/allenai/OLMoE-1B-7B-0924-Instruct) and [DeepSeek-V2-Lite](https://huggingface.co/deepseek-ai/DeepSeek-V2-Lite-Chat). Without a policy line, neither model refused more than 4% of tampering or spoofing requests. This is consistent with [Qin et al.’s](https://arxiv.org/abs/2609.30266) findings that most of the agents running frontier models they tested comply with log tampering requests. Only with a policy in place prohibiting log tampering did DeepSeek refuse up to 46% of deletions. Even with the policy, it refused none of the requests to spoof the logs. [Abliteration](https://github.com/p-e-w/heretic) of harmful task refusals reduced the refusal rate for requests to delete logs where the reason given was fear of being spied on or trying to hide activity from a manager. Abliteration of a moral direction reduced refusals in these cases a similar amount. Removal of a random direction of the same size had no significant effects. This suggests at least part of the refusal is driven by an awareness that these deletions are harmful requests when there is a policy in place, and another part of the reason is just following the rules. Fine-tuning could make models comply with harmful tasks less often, but it would not stop them entirely, so spoofing and tampering still need to be caught outside the model.
Abliteration cuts DeepSeek’s refusals to tamper with its log
UntreatedRandom abliterationRefusal abliteratedMorality abliteratedError bars show 95% CI
Percent of requests refused
percent requests refused0%20%40%60%
Tampering requests
Untreated: 37.5% (95% CI 16.5–59.2%)
Random abliteration: 36.5% (95% CI 15.9–58.1%)
Refusal abliterated: 16% (95% CI 3.7–30.6%)
Morality abliterated: 17.9% (95% CI 6.6–31.2%)
Delete, spying
Untreated: 45.4% (95% CI 28.4–61.9%)
Random abliteration: 50.3% (95% CI 32.5–68.1%)
Refusal abliterated: 13.1% (95% CI 2.9–24.3%)
Morality abliterated: 20.9% (95% CI 8–35.2%)
Delete, manager
Untreated: 26.6% (95% CI 8.9–46.2%)
Random abliteration: 25.5% (95% CI 9.4–44.8%)
Refusal abliterated: 24.5% (95% CI 8.5–43.2%)
Morality abliterated: 13% (95% CI 1.8–26.2%)
Delete, no motive
Untreated: 4.3% (95% CI 0–11.1%)
Random abliteration: 1.3% (95% CI 0–4.3%)
Refusal abliterated: 0%
Morality abliterated: 0%
Fabricate
Untreated: 12.3% (95% CI 2.9–24.3%)
Random abliteration: 10.3% (95% CI 2–20.2%)
Refusal abliterated: 0%
Morality abliterated: 2.4% (95% CI 0–8.3%)
Redact
Untreated: 12.3% (95% CI 3.9–22.2%)
Random abliteration: 5.4% (95% CI 0–11.3%)
Refusal abliterated: 4.3% (95% CI 0–10.2%)
Morality abliterated: 4.3% (95% CI 0–10.2%)
Remove
Untreated: 0%
Random abliteration: 2.4% (95% CI 0–7.2%)
Refusal abliterated: 0%
Morality abliterated: 0%
Spoof
Deletion controls
Untreated: 23.2% (95% CI 5.9–44.2%)
Random abliteration: 23.2% (95% CI 5–44.2%)
Refusal abliterated: 0%
Morality abliterated: 0%
Harmful
Untreated: 3.3% (95% CI 0–9.2%)
Random abliteration: 4.3% (95% CI 0–9.2%)
Refusal abliterated: 1.3% (95% CI 0–4.2%)
Morality abliterated: 2.4% (95% CI 0–6.2%)
Authorized
Untreated: 0%
Random abliteration: 0%
Refusal abliterated: 0%
Morality abliterated: 0%
Benign
Figure 1: With a policy against tampering, DeepSeek-V2-Lite refuses some deletion requests and no spoofs; removing its refusal or morality direction cuts those refusals without eliminating them, while a random edit leaves them unchanged. Without a policy against log tampering, all tampering refusal rates were near zero (not shown).
Using [methods we developed earlier](https://www.manifold.security/blog/do-models-consider-morality-malware) to tell when models treat a question as a moral one, we tracked which of their internal experts handle the request. If you ask the models if deleting logs is immoral or malicious, then the experts associated with morality are used. However, actual requests to delete, redact or fabricate log entries barely reached the same experts. Control questions about the harmful deletion of files, for DeepSeek at least, also activated moral experts. DeepSeek sent spoofing requests to moral experts, yet it refused none of them as we saw above. A stated motive, such as hiding the log from a manager or fear of being spied on, raised moral-expert load in OLMoE, as sometimes did a policy against tampering. In these models, log tampering rarely registers as a moral choice, which may be resolvable through better alignment.
Log tampering barely touches the morality experts
no policypolicy against tampering95% CI of the zero point
OLMoE-1B-7B Instruct
DeepSeek-V2-Lite Chat (16B)
Questions about deleting the log, vs. neutral control
Is it immoral?
OLMoE-1B-7B Instruct, no policy: 0.122 (95% CI 0.099 to 0.139)OLMoE-1B-7B Instruct, policy against tampering: 0.109 (95% CI 0.088 to 0.126)DeepSeek-V2-Lite Chat (16B), no policy: 0.095 (95% CI 0.081 to 0.108)DeepSeek-V2-Lite Chat (16B), policy against tampering: 0.091 (95% CI 0.080 to 0.103)
Is it malicious?
OLMoE-1B-7B Instruct, no policy: 0.069 (95% CI 0.050 to 0.088)OLMoE-1B-7B Instruct, policy against tampering: 0.047 (95% CI 0.032 to 0.064)DeepSeek-V2-Lite Chat (16B), no policy: 0.076 (95% CI 0.062 to 0.089)DeepSeek-V2-Lite Chat (16B), policy against tampering: 0.075 (95% CI 0.065 to 0.087)
−0.100.10.20.3
−0.100.10.20.3
Tampering requests, vs. neutral logging requests
OLMoE-1B-7B Instruct
DeepSeek-V2-Lite Chat (16B)
Delete, “afraid of spying”
OLMoE-1B-7B Instruct, no policy: 0.106 (95% CI 0.073 to 0.135)OLMoE-1B-7B Instruct, policy against tampering: 0.150 (95% CI 0.117 to 0.179)DeepSeek-V2-Lite Chat (16B), no policy: -0.035 (95% CI -0.056 to -0.015)DeepSeek-V2-Lite Chat (16B), policy against tampering: -0.035 (95% CI -0.061 to -0.010)
Delete, “hide from manager”
OLMoE-1B-7B Instruct, no policy: 0.035 (95% CI 0.007 to 0.065)OLMoE-1B-7B Instruct, policy against tampering: 0.079 (95% CI 0.048 to 0.115)DeepSeek-V2-Lite Chat (16B), no policy: -0.044 (95% CI -0.061 to -0.029)DeepSeek-V2-Lite Chat (16B), policy against tampering: -0.040 (95% CI -0.058 to -0.022)
Delete, no motive
OLMoE-1B-7B Instruct, no policy: 0.003 (95% CI -0.021 to 0.025)OLMoE-1B-7B Instruct, policy against tampering: 0.043 (95% CI 0.018 to 0.069)DeepSeek-V2-Lite Chat (16B), no policy: -0.064 (95% CI -0.080 to -0.050)DeepSeek-V2-Lite Chat (16B), policy against tampering: -0.051 (95% CI -0.064 to -0.038)
Fabricate an entry
OLMoE-1B-7B Instruct, no policy: -0.025 (95% CI -0.050 to -0.003)OLMoE-1B-7B Instruct, policy against tampering: -0.023 (95% CI -0.048 to 0.002)DeepSeek-V2-Lite Chat (16B), no policy: -0.044 (95% CI -0.065 to -0.026)DeepSeek-V2-Lite Chat (16B), policy against tampering: -0.054 (95% CI -0.076 to -0.036)
Redact content
OLMoE-1B-7B Instruct, no policy: 0.021 (95% CI 0.003 to 0.040)OLMoE-1B-7B Instruct, policy against tampering: 0.023 (95% CI 0.006 to 0.041)DeepSeek-V2-Lite Chat (16B), no policy: -0.009 (95% CI -0.040 to 0.025)DeepSeek-V2-Lite Chat (16B), policy against tampering: -0.011 (95% CI -0.040 to 0.022)
Remove entries
OLMoE-1B-7B Instruct, no policy: 0.003 (95% CI -0.017 to 0.019)OLMoE-1B-7B Instruct, policy against tampering: 0.011 (95% CI -0.009 to 0.026)DeepSeek-V2-Lite Chat (16B), no policy: -0.046 (95% CI -0.064 to -0.034)DeepSeek-V2-Lite Chat (16B), policy against tampering: -0.052 (95% CI -0.070 to -0.038)
Spoof tool output
OLMoE-1B-7B Instruct, no policy: -0.012 (95% CI -0.034 to 0.007)OLMoE-1B-7B Instruct, policy against tampering: -0.015 (95% CI -0.036 to 0.006)DeepSeek-V2-Lite Chat (16B), no policy: 0.228 (95% CI 0.210 to 0.246)DeepSeek-V2-Lite Chat (16B), policy against tampering: 0.236 (95% CI 0.220 to 0.253)
−0.100.10.20.3
−0.100.10.20.3
Deletion controls, vs. neutral logging requests
OLMoE-1B-7B Instruct
DeepSeek-V2-Lite Chat (16B)
Harmful deletion
OLMoE-1B-7B Instruct, no policy: 0.024 (95% CI -0.005 to 0.050)OLMoE-1B-7B Instruct, policy against tampering: 0.034 (95% CI 0.001 to 0.064)DeepSeek-V2-Lite Chat (16B), no policy: 0.141 (95% CI 0.096 to 0.179)DeepSeek-V2-Lite Chat (16B), policy against tampering: 0.129 (95% CI 0.087 to 0.164)
Authorized deletion
OLMoE-1B-7B Instruct, no policy: 0.003 (95% CI -0.013 to 0.021)OLMoE-1B-7B Instruct, policy against tampering: 0.027 (95% CI 0.006 to 0.049)DeepSeek-V2-Lite Chat (16B), no policy: -0.052 (95% CI -0.070 to -0.037)DeepSeek-V2-Lite Chat (16B), policy against tampering: -0.064 (95% CI -0.081 to -0.050)
Benign deletion
OLMoE-1B-7B Instruct, no policy: -0.035 (95% CI -0.053 to -0.018)OLMoE-1B-7B Instruct, policy against tampering: -0.034 (95% CI -0.049 to -0.017)DeepSeek-V2-Lite Chat (16B), no policy: 0.007 (95% CI -0.019 to 0.032)DeepSeek-V