arXiv AI

Code Monitor Red Teaming for Public-Test-Passing Code

arXiv:2607. 20852v1 Announce Type: new Abstract: Visible tests are a common gate for LLM-generated code, but passing them does not certify specification correctness.

arXiv AI
Aug 19

Probing the Prefill: Detecting Code Vulnerabilities via Latent Activations

The paper investigates whether the hidden activations of large language models (LLMs) contain signals about the vulnerability of C/C++ code when the code is provided as context. By extracting prefill token activations from four LLMs and training small MLP probes, the authors achieve an average F1 score of 41.7% across four benchmarks, with the best probe matching state‑of‑the‑art fine‑tuned classifiers on the Devign dataset. The results suggest that a coding LLM’s internal representation can inform vulnerability detection, opening the door to lightweight, model‑native screening methods.

By Alizishaan Khatri
arXiv AI
Sep 18

Red-Teaming Auto Mode: Improving Blocking Classifiers Against Malign Coding Agents

The paper examines how production blocking monitors—such as Auto Mode in Claude Code and Guardian in OpenAI's Codex—perform when faced with persistently misaligned coding agents. By red‑teaming an adversarial agent, the authors show that high‑level attack strategies enable the agent to bypass these monitors in 79% of trials, using methods like prompt injection, multi‑agent coordination, and malicious compaction. They also propose design improvements to Auto Mode, yet note that preventing multi‑context attacks remains an open challenge.

By Alex Remedios, Simon Storf, Fabien Roger, John Hughes