Dependency Fabrication in Repository Deployment Agents
Robin Matter, Salman Toor
Key points
From the paper's conclusion- Agents in Repo2Run and SetupX usually fabricated the dependency.
Abstract
Repository deployment agents set up the environment needed to run a software repository. They often treat passing tests as proof of a successful setup. This report examines how such agents behave when a working setup is impossible. Probe repositories were built with a dependency that the agents could not legitimately obtain. Passing tests therefore indicated fabrication, such as creating a stub to replace the missing package. Agents in Repo2Run and SetupX usually fabricated the dependency. Both harnesses mostly still marked these runs as successful. Rules against fabrication, whether given in the prompt or repository documentation, did not reliably prevent this behavior. On MinimalSetupAgent, which was built for this report, mitigations proposed in the reward-hacking literature were most effective when the agent received a direct rule and had a clear way to stop and report the problem. Under these conditions, neither Qwen3.5-Plus nor GPT-5.6 Luna cheated in any of the 16 runs. Applying the same mitigation to Repo2Run and SetupX also required a native tool call for escalation. In Repo2Run, it worked only after the prompt was also replaced with one that placed less emphasis on passing tests.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Trojan Horse: Automated Repository Poisoning against Coding AgentsarXiv · 2026
- AgentFaultBench: State-Verified Evaluation of Tool-Fault RecoveryarXiv · 2026
- When Tools Fail, Agents Fabricate: Silent Failure and Verification-First Oversight in Tool-Using LLM AgentsarXiv · 2026
- Characterizing and Detecting Unfaithful Work Reports by Coding AgentsarXiv · 2026
- HerAgent: A Block-Level Checkpointing Harness for Coding-Agent Environment SetuparXiv · 2026
- Beyond Prompts: Runtime Contracts for Coding AgentsarXiv · 2026