Security
Securing Agent-Generated Code with Its Own Development History
arXiv cs.SE0 views
arXiv:2610.34098v1 Announce Type: new Abstract: Pull requests written by coding agents can pass a project's test suite while omitting a guard or a validation step. To find the missing condition, a reviewer currently relies on static analysis of the final code. An agent-generated change, however, is accompanied by a development history that a human commit does not provide. The agent's trajectory records each edit together with the agent's stated assumptions, and structural differencing shows how each changed function evolved. We present TRACER, a workflow that uses this development history as evidence for security review. TRACER tracks changes at the symbol level, treats the agent's recorded rationale as claims to be verified against the current code, accepts a repair only after assessment and functional validation, and attaches to each accepted repair an executable check that later changes must satisfy. On the SusVibes benchmark, symbol-level tracking places the vulnerable symbol in the review scope for 94.6% of agent patches, compared with 13.4% for the primary scanner warning. With two investigator models, the configuration that includes the agent's rationale yields the largest number of verified security repairs while preserving functionality, and adding AST history to it does not increase that number. A funnel analysis identifies where the remaining candidates are lost. In a study of structural-biology software, the combination of repair memory and a boundary check allows a subsequent feature request to succeed in nine of ten tasks without reintroducing the repaired vulnerability, whereas functional feedback alone succeeds in four and reintroduces the vulnerability in three.
Source:https://arxiv.org/abs/2610.34098PreviousHow Do Small Coding Agents Use Code Graphs and Embeddings?NextBug Severity Classification with Fine-Tuned Open LLMs: A Paired Comparison with TF-IDF and CodeBERT Baselines on Eclipse Reports
Related posts
Testing and rebuilding Node.js snapshot artifacts after CVE-2026-106074
0dev.to Node
From predictable IDs to workflow risk: analyzing Node.js CVE-2026-106074
0dev.to Node
Upgrade planning for CVE-2026-106074 across Node.js 22, 24, and 26
0dev.to Node
I found 560 malware repos while building a GitHub trending site. GitHub removed them in a day
0dev.to OpenSource
PHP2Shell: The PHP Vulnerability Everyone Is Talking About Right Now (And How to Fix It)
0dev.to Security

HomeView could double as a HomeKit security camera, shows code
09to5Mac