mlsanityData to 14 Oct 2026

SecureVibe: Making Vibe Coding More Secure

arXiv 2609.38606 ↗First posted 29 Sep 2026cs.CR cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

As vibe coding becomes increasingly capable and widespread, security vulnerabilities in even functionally correct solutions are a growing concern. When investigating functionally correct but insecure solutions, we find that the insecure agent is less than half as likely to conduct effective planning and testing for the hidden security risks behind the functional requirements. Motivated by this, we develop SECUREVIBE, a training recipe that explicitly targets planning and testing for code security. SECUREVIBE constructs training signals around these security behaviors. It includes supervised fine-tuning on the security suite with 4 security tasks, and post-training methods, SECUREVIBE_rl and SECUREVIBE_hg, to enhance security capabilities from verifiable execution feedback and hint-based self-supervision. Our SECUREVIBE outperforms the baseline on two types of security coding tasks across 4 benchmarks. Specifically, SECUREVIBE improves the security pass@1 by 6.9 points on BaxBench. The gains extend to unseen CWE categories, with improvements of 11.5 points on SusVibes. Meanwhile, it also improves functionality pass@1 by 13.6 points on the security coding task SusVibes and 4.1 points on the generic coding task SWE-bench Verified. Further analysis offers two practical insights: (i) diversifying supervision across security planning, coding, and testing strengthens security behaviors more effectively than adding coding trajectories alone, and (ii) hint-guided supervision is particularly valuable when the agent's existing security capabilities are insufficient to learn effectively from outcome feedback.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 33 of its 39 references that are in the map. First posted on arXiv 29 Sep 2026.

Builds on

33 of 39 references.

References · 33

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  5. 2025Group Sequence Policy Optimizationcited by 835
  6. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  7. 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 455
  8. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  9. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 358
  10. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
  11. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
  12. 2026A Survey of On-Policy Distillation for Large Language Modelscited by 163
21 more
  1. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 133
  2. 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 94
  3. 2024Instruction Tuning for Secure Code Generationcited by 68
  4. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 61
  5. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 59
  6. 2024Commit0: Library Generation from Scratchcited by 52
  7. 2026SWE-chat: Coding Agent Interactions From Real Users in the Wildcited by 43
  8. 2025BaxBench: Can LLMs Generate Correct and Secure Backends?cited by 41
  9. 2023SALLM: Security Assessment of Generated Codecited by 39
  10. 2025EnvBench: A Benchmark for Automated Environment Setupcited by 36
  11. 2025SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuningcited by 28
  12. 2025Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Taskscited by 22
  13. 2025PATCHEVAL: A New Benchmark for Evaluating LLMs on Patching Real-World Vulnerabilitiescited by 21
  14. 2025PurpCode: Reasoning for Safer Code Generationcited by 18
  15. 2025SEAlign: Alignment Training for Software Engineering Agentcited by 11
  16. 2026Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Modelcited by 6
  17. 2025AutoBaxBuilder: Bootstrapping Code Security Benchmarkingcited by 5
  18. 2026GoodVibe: Security-by-Vibe for LLM-Based Code Generationcited by 4
  19. 2026Coding with "Enemy": Can Human Developers Detect AI Agent Sabotage?cited by 4
  20. 2026FrogNano: Training a 4B Coding Agent via Online Task Synthesiscited by 4
  21. 2026Learning to Generate Secure Code via Token-Level Rewardscited by 2

Built on by

Not cited yet.