Threat Landscape of Vibe Coding and the Road to Secure Autonomy
Devki Nandan Jha, Shubh Anand, Karthick Keeranagere Krishnaiah, Roman Ahearn, Suhas Nale
Key points
From the paper's conclusion- We establish a reference architecture, characterise six levels of agent autonomy, and develop a threat model centred on five trust boundaries spanning developers, AI models, tools, cloud infrastructure, and the wider software ecosystem.
Abstract
Vibe coding is reshaping software development, enabling faster implementation and allowing individuals with limited programming experience to describe requirements in natural language while AI agents write, test, and deploy the code. As these agents evolve into autonomous systems that execute commands, manage dependencies, access cloud resources, and interact with other agents, their security risks extend beyond incorrect code to actions with direct consequences for software systems. Although research on these risks is expanding, it remains fragmented across areas including prompt injection, insecure code generation, supply-chain attacks, and human factors, with limited consensus on terminology, threat assumptions, and evaluation. This paper consolidates emerging research through the lens of the vibe coding workflow. We establish a reference architecture, characterise six levels of agent autonomy, and develop a threat model centred on five trust boundaries spanning developers, AI models, tools, cloud infrastructure, and the wider software ecosystem. Building on this foundation, we propose a taxonomy of twenty-one threats across nine classes. For each threat, we review the available evidence, assess proposed defences, and identify limitations. Our analysis highlights that risks increase with agents' operational authority, while most defences rely on model judgement and address isolated threats. Finally, we identify eleven research challenges, including enforceable limits on agent authority and shared benchmarks and methodologies for assessing vibe coding security.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Responsible Vibe Coding: Architecture, Opportunities, and Research AgendaJournal of Computer Information Systems · 2026
- VibeDApps: Autonomous Agentic AI Development of Decentralized ApplicationsDistributed Ledger Technologies: Research and Practice · 2026
- Building Software by Rolling the Dice: A Qualitative Study of Vibe CodingProceedings of the ACM on software engineering. · 2026
- When Coding Agents Get Arms: Safety Risks Across the Digital-Physical BoundaryarXiv · 2026
- Agentic AI Security: Threats, Defenses, Evaluation, and Open ChallengesIEEE Access · 2026
- A Comparative Survey of Security Risks in AI Systems: From LLMs to AI Agents and Embodied AgentsACM Computing Surveys · 2026