Rethinking Autonomy: Preventing Failures in AI-Driven Software Engineering
Satyam Kumar Navneet, Joydeep Chandra

TL;DR
This paper analyzes the risks of LLM-assisted code generation in software engineering and proposes the SAFE-AI Framework to enhance safety, transparency, and accountability through integrated guardrails, verification, and explainability.
Contribution
It introduces the SAFE-AI Framework and a taxonomy of AI behaviors, offering a comprehensive approach to mitigate risks and guide responsible AI integration in software engineering.
Findings
Identification of key risks like insecure code and hallucinations
Proposal of the SAFE-AI Framework with integrated safety mechanisms
Discussion of open problems and future research directions
Abstract
The integration of Large Language Models (LLMs) into software engineering has revolutionized code generation, enabling unprecedented productivity through promptware and autonomous AI agents. However, this transformation introduces significant risks, including insecure code generation, hallucinated outputs, irreversible actions, and a lack of transparency and accountability. Incidents like the Replit database deletion underscore the urgent need for robust safety and governance mechanisms. This paper comprehensively analyzes the inherent challenges of LLM-assisted code generation, such as vulnerability inheritance, overtrust, misinterpretation, and the absence of standardized validation and rollback protocols. To address these, we propose the SAFE-AI Framework, a holistic approach emphasizing Safety, Auditability, Feedback, and Explainability. The framework integrates guardrails,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEthics and Social Impacts of AI · Artificial Intelligence in Healthcare and Education
