paper-with-me

홈 › Papers

VibeGuard: A Security Gate Framework for AI-Generated Code

2026-04-01 · Ying Xie arxiv

"Vibe coding," in which developers delegate code generation to AI assistants and accept the output with little manual review, has gained rapid adoption in production settings. On March 31, 2026, Anthropic's Claude Code CLI shipped a 59.8 MB source map file in its npm package, exposing roughly 512,000 lines of proprietary TypeScript. The tool had itself been largely vibe-coded, and the leak traced to a misconfigured packaging rule rather than a logic bug. Existing static-analysis and secret-scanning tools did not cover this failure mode, pointing to a gap between the vulnerabilities AI tends to introduce and the vulnerabilities current tooling is built to find. We present VibeGuard, a pre-publish security gate that targets five such blind spots: artifact hygiene, packaging-configuration drift, source-map exposure, hardcoded secrets, and supply-chain risk. In controlled experiments on eight synthetic projects (seven vulnerable, one clean control), VibeGuard achieved 100% recall, 89.47% precision (F1 = 94.44%), and correct pass/fail gate decisions on all eight projects across three policy levels. We discuss how these results inform a defense-in-depth workflow for teams that rely on AI code generation.

📄 PDF Abstract BibTeX arXiv:2604.01052

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategies

2025-10-27 · Bin Wang, YiLu Zhong, MiDi Wan, WenJie Yu 외 arxiv

Large language models (LLMs) have become indispensable for automated code generation, yet the quality and security of their outputs remain a critical concern. Existing studies predominantly concentrate on adversarial att…

Code Generation

SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Code

2025-06-06 · Xinghang Li, Jingzhe Ding, Chao Peng, Bing Zhao 외

The code generation capabilities of large language models(LLMs) have emerged as a critical dimension in evaluating their overall performance. However, prior research has largely overlooked the security risks inherent in …

Code GenerationVulnerability Detection

An Empirical Evaluation of LLM-Generated Code Security Across Prompting Methods

2026-05-22 · Mohammed Kharma, Ahmed Sabbah, Mohammad Alkhanafseh, Mohammad Hammoudeh 외 arxiv

The growing use of Large Language Models (LLMs) for automated code generation has enhanced software development efficiency, but often at the cost of security. Generated code frequently overlooks critical concerns, leavin…

Prompt EngineeringCode Generation

AI-Generated PowerShell Malware: An Experimental Framework and Dataset

2026-06-29 · Luciano Pianese, Vittorio Orbinato, Pietro Liguori, Roberto Natella arxiv

Generative AI has emerged as a significant cybersecurity threat, with several recent attack campaigns leveraging LLMs to generate code for malicious purposes via scripting languages such as PowerShell. Consequently, for …

The Hidden Risks of LLM-Generated Web Application Code: A Security-Centric Evaluation of Code Generation Capabilities in Large Language Models

2025-04-29 · Swaroop Dora, Deven Lunkad, Naziya Aslam, S. Venkatesan 외

The rapid advancement of Large Language Models (LLMs) has enhanced software development processes, minimizing the time and effort required for coding and enhancing developer productivity. However, despite their potential…

Code Generation