PRECEPT teaches coding agents to keep security lessons
The point
Coding agents fix a security flaw, then often repeat it in a new session. Across 14 task sequences, Codex, Claude Code, and Qwen Code fixed a vulnerability 85.7 percent of the time when shown the failing test, then reintroduced the same class 26.7 percent of the time. PRECEPT revises secure coding principles against an agent's own failures.
Why it matters
For builders, retention across sessions matters more than one time fixes.
Key details
- Weakest agent with PRECEPT: 97.1 percent secure working code on unseen task families
- Strongest unaided agent: 81.9 percent; strongest baseline: 87.7 percent
Original ~5 min → 25 sec here Source: arXiv cs.AI, Nov 26, 2026