hiw3c AI 日报
arXiv cs.AI/CL/LG 网页快照

LLM代理人可以轻松篡改自己的痕迹

原文标题 · LLM Agents Can Easily Tamper With Their Own Traces

作者:Jeremy Qin、David Schmotz、Derck Prinzhorn|同步监控、事件调查和合规性审计主要依赖于代理跟踪来重建发生的事情。这些分析假设LLM代理无法篡改其自己的执行痕迹。我们表明,Claude Code、Codex、Antigravity、Open Code和Grok Build等当地LLM代理未能执行这一边界。除Muse Code外,所有测试的背带都允许代理

来源:arXiv cs.AI/CL/LG · arxiv.org

正文为英文,可一键机器翻译(仅首次需要等待)

Computer Science > Cryptography and Security

Title: LLM Agents Can Easily Tamper With Their Own Traces

Abstract: Asynchronous monitoring, incident investigations, and compliance audits primarily rely on agent traces to reconstruct what happened. These analyses assume that LLM agents cannot tamper with their own execution traces. We show that local LLM agents such as Claude Code, Codex, Antigravity, Open Code and Grok Build fail to enforce this boundary. All tested harnesses, except Muse Code, allowed agents to delete their traces when asked, without triggering monitor guardrails. We also validate that external attackers can exploit this gap to induce trace deletion. Finally, we show that trace tampering behavior emerges naturally in frontier models, when agents try to improve their rewards. We advise practitioners to ensure trace logging happens through an independent interception mechanism outside of the agent's control, preserving trace integrity even in cases of full host compromise. Overall, our findings identify a concrete failure of trace integrity in agent infrastructure which can be used to conceal misaligned behaviors like scheming or sabotage.

Submission history

Access Paper:

Current browse context:

References & Citations

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .