PRECEPT improved coding-agent security on held-out tasks
24 arXiv preprint, Keyan Guo, Rupam Patir, Haipeng Cai, and Hongxin Hu reported that Codex, Claude Code, and Qwen Code reintroduced previously fixed classes of security flaws in 26.7% of new-session trials across 14 task sequences. The authors tested PRECEPT, a research method that updates secure coding guidance based on an agent’s past failures and checks that the guidance preserves functional performance. On task families held out while the guidance was developed, the lowest-scoring agent using PRECEPT produced secure, working code in 97.1% of cases, compared with 81.9% for the best unaided agent.
Why it matters
The results show why teams evaluating coding agents should check whether a security fix carries over to fresh sessions and unfamiliar tasks.
Sources
Tools mentioned
- AWS adds Neptune Graph Sessions for AI agents
- JetBrains adds private code and harder tasks to its Kotlin benchmark
- Dimensionality reduction can score well while producing unstable plots
- An LLM unlearning benchmark rejected a model retrained without deleted data
- Casper produces valid paths on every tested 30-by-30 Warcraft grid