Security
Your CI Gate Doesn't Check the Thing That's Actually Broken
There's a lot of noise right now about "vibe coding," mostly hot takes with no data behind them. This week two papers landed with actual numbers instead: one tracked almost 18,000 real coding-agent sessions from working…
There's a lot of noise right now about "vibe coding," mostly hot takes with no data behind them. This week two papers landed with actual numbers instead: one tracked almost 18,000 real coding-agent sessions from working developers, the other benchmarked how often agent-written code is both correct and secure. Put together, they're the most concrete evidence yet for something a lot of us already suspected — agents write a lot of code, most of it doesn't survive review, and the code that does survive carries more security risk than code a human wrote. If your team has agents opening PRs, this is worth reading before you write your next "AI usage policy" doc.
The field data: SWE-chat
A team including researchers from Stanford (Joachim Baumann, Vishakh Padmakumar, Xiang Li, John Yang, Diyi Yang, Sanmi Koyejo) built SWE-chat, a dataset of real coding-agent sessions pulled from open-source developers actually using Claude Code, Codex, and Gemini CLI — not benchmark tasks, real work. The paper (arXiv:2604.20779) first went up in April 2026 and was revised October 1, 2026 with a much larger sample: roughly 18,000 sessions, 229,000+ user prompts, 2 million agent tool calls. This is evidenced: observational data from real transcripts and commits, not a vendor claim.
The findings that matter:
- Usage is bimodal. In 41% of sessions the agent wrote virtually all the committed code; in roughly a quarter, the human wrote all of it themselves. There's no real "typical" level of delegation — people cluster at the extremes.
- Most agent output doesn't survive. A majority of agent-produced code never makes it into the final commit unmodified. The survival figure differs between the two posted versions of the paper (44% in the original, 59% in the October revision) — I'm flagging that gap rather than picking a side, because the dataset roughly tripled in size between versions and the number moved with it.
- Agent-written code carries more security risk than human-written code in the same sessions. The paper states this directly; I couldn't verify a specific vulnerability rate from what I could access, so treat the direction as evidenced and the magnitude as unconfirmed.
- Users correct, interrupt, or report failures on a large share of turns (reported around 44-50% depending on version). This is not a describe-it-once-and-walk-away workflow in practice.
- The most common ask isn't "write this feature" — it's "explain this code." Agents spend a large share of tool calls just running shell commands to explore a repo, not editing files.
The benchmark: SUSVIBES
The second data point is SUSVIBES (arXiv:2512.03262, accepted to ICML 2026, latest revision September 21, 2026), built from 186 real feature-request tasks drawn from open-source projects where the original human implementation was later found vulnerable. The authors ran a dozen coding-agent configurations against these tasks and checked both whether the output worked and whether it was secure.
The number worth remembering: SWE-Agent running on Claude 4 Sonnet produced functionally correct solutions 57% of the time — but only 11.8% of those solutions were secure. Adding an explicit vulnerability hint to the task didn't meaningfully fix this. It's a curated benchmark, not production usage, but it's an independent paper landing in the same place as SWE-chat's field data: "it works" and "it's safe" are two different bars, and today's agents clear the first one far more reliably. Evidenced — correctness and security were both measured against defined criteria, not self-reported. I could only verify the headline figures for this one configuration; results for the other eleven weren't recoverable from what I could access.
Why it matters in practice
- Review burden doesn't disappear — it moves. If a third to a half of agent output gets discarded before commit, your reviewers are already doing a lot of filtering. The question is whether that's happening deliberately or just getting absorbed into normal PR friction without anyone tracking it.
- "Tests pass" is not a security signal. The SUSVIBES gap — 57% correct, 11.8% secure — is the sharpest number here. If your merge gate is "CI green, ship it," you're explicitly not checking the dimension agents do worst on. A security-focused review step for agent-authored diffs isn't optional hardening anymore; it's covering a gap the research says exists by default.
- The correction loop is the norm, not the exception. If users are pushing back on close to half of all turns, the "one prompt, clean PR" story from vendor demos doesn't match observed usage. Any "AI makes us X% faster" estimate needs that loop built into it.
- The bimodal split is a policy signal. Teams aren't converging on moderate AI use across the board — people hand over almost everything or almost nothing. If that's true on your team too, the real decision isn't "how much AI should we allow," it's "which tasks and people are in the high-delegation bucket, and does review actually look different for them."
A reasonable misconception worth correcting here: "the model is secure" and "the agent's output is secure" are different claims. SUSVIBES measures the second — whole-task agentic completions, including the agent's own decisions about what to touch — not a narrow code-completion eval. A model that scores well on a security-focused coding benchmark can still produce an insecure result once it's making its own decisions about scope and approach inside an agent harness.
Checklist
- Add a security-specific review step (SAST, or a dedicated reviewer prompt) for any PR where an agent authored most of the diff. Don't rely on tests passing.
- Track, even informally, what fraction of agent-authored code survives to merge unmodified on your team. It tells you how much filtering is already happening.
- Don't assume a vulnerability hint in the task description fixes anything — SUSVIBES found it didn't move the needle.
- Decide explicitly which tasks and people fall into "high AI delegation" versus "low," rather than letting it happen by default.
- Before repeating an "X% faster with AI" number to leadership, weigh it against the ~44-50% turn-correction rate in the field data.
Unverified claims and gaps
- SWE-chat's code-survival percentage is inconsistent across what I could access (44% vs. 59%) depending on paper version — full current-version PDF text wasn't extractable to resolve this from the primary source directly.
- The exact shell-command share of agent tool calls, specific vulnerability categories found in agent-written code, and author institutional affiliations weren't recoverable from the sources I could access. These are gaps, not confirmed absences.
- SUSVIBES names twelve agent configurations tested; I could only verify the 57%/11.8% figures for one (SWE-Agent + Claude 4 Sonnet).
- No other AI/IT development from the last 72 hours cleared the bar for strongest practical impact this cycle. The main GitHub Copilot news this week — model deprecations effective October 2 and October 19, 2026 — was routine vendor housekeeping, not new information for how teams should work.
Sources
- Baumann, J., Padmakumar, V., Li, X., Yang, J., Yang, D., Koyejo, S. "SWE-chat: Coding Agent Interactions From Real Users in the Wild." arXiv:2604.20779. Original April 22, 2026; revised October 1, 2026. https://arxiv.org/abs/2604.20779
- Zhao, S., Wang, D., Zhang, K., Luo, J., Li, Z., Li, L. "Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks." arXiv:2512.03262. Accepted ICML 2026; latest revision September 21, 2026. https://arxiv.org/abs/2512.03262
- GitHub Changelog. "Selected models in GitHub Copilot deprecated." October 2, 2026. https://github.blog/changelog/2026-10-02-selected-models-in-github-copilot-deprecated