# PRWeaver: Evaluating LLM-Based Code Auditors against Long-Horizon Malicious Pull Requests

arXiv: https://arxiv.org/abs/2608.02693 · HTML: https://mlsanity.com/paper/2608.02693/

## Key facts

- Cited by 1 papers in the map (data through 24 Nov 2026).
- Submitted 3 Aug 2026.

## Built on by (most cited first, 1 of 1)

- [CyberDual: AI Attackers versus AI Code Reviewers in Real Software Maintenance](https://mlsanity.com/paper/2610.34435/) (2026)

## Abstract (arXiv)

LLM-based code auditors are increasingly integrated into pull-request (PR) workflows, yet their reliability against adversarial changes distributed across repository evolution remains poorly understood. We introduce PRWeaver, a benchmark of 208 execution-validated attacks from ten real-world repositories, each instantiated under four matched review renderings (832 renderings in total). We evaluate three PR-auditing agents across six auditor-model systems. Across all systems, decomposing an attack changes detection by at most five percentage points, showing that commit boundaries alone do not explain evasion. In contrast, per-PR interleaving at N=16 and coherent carrier fusion reduce detection by 5-13 and 10-18 points, respectively. Under whole-window review at N=24, detection falls to 16-22%, compared with 50-60% under per-PR review. These results show that access to repository history is insufficient: concealment becomes most effective when benign and malicious changes jointly occupy the auditor's active review context or when the stated purpose plausibly accounts for the attack-bearing diff.
