Skip to content
Review

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

Aug 2026 · 0 citations · 13 references
Computer Science

TL;DR

The 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.

Abstract

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.

View source

Similar papers

Book Open access Jul 2026

Llama Models Security: From OWASPs Benchmarking to Encoding-based ​ obfuscation attacks​

This work presents a two-phase evaluation of ten Llama variants using the OWASP Top 10 for LLM Applications, and applies nine encoding obfuscations to the same prompts, which fully bypasses all text-only models.

Nourin Shahin, Izzat Alsmadi · 0 citations
Review Aug 2026

From Verdict to Diagnosis: Attributable Security Review of Pull Requests

PRGuard is introduced, an attributable PR security reviewer that constructs candidate vulnerabilities and validates their premises against repository evidence using deterministic, non-executing tools and bounded retrieval and uncovers twelve previously undisclosed, proof-of-concept-backed vulnerabilities.

Zhuo Chen, Bo-Yang Wang, Xi-Yue Zhang et al. · 0 citations
Jul 2026

HoF-Bench: Rediscovering Real AI-Discovered CVEs Without Frontier Models

HoF-Bench (named after AISLE's public Hall of Fame), a benchmark built from 95 public AI-discovered CVEs across eight repositories pinned at vulnerable commits, provides a compact test bed for comparing vulnerability scanners, their reliability across repeated runs, and the candidate volume they create.

P. Simecek, Elnaz Babayeva, Jiří Balhar et al. · 0 citations
Jul 2026

When Binaries Talk Back: Representation-Confusion Attacks on LLM-Assisted Reverse Engineering

Such failures are called Representation-Confusion Attacks in Reverse Engineering (RARE): the pipeline promotes a correctly extracted observation to instruction authority, claim-validating evidence, or trusted analysis state without the authority or support that role requires.

Igor Santos-Grueiro · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.