AI RESEARCH

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

arXiv CS.AI

ArXi:2510.22944v2 Announce Type: replace-cross 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 attacks or inherent flaws within the models. However, a prevalent yet underexplored issue concerns how the quality of a benign but poorly formulated prompt affects the security of the generated code.