Whose fault is it anyway? SILC: Safe Integration of LLM-Generated Code
Peisen Lin, Yuntong Zhang, Andreea Costea, Abhik Roychoudhury

TL;DR
This paper introduces SILC, a framework that uses enhanced Incorrectness Logic to identify faults and assign blame in AI-generated code, improving safety and accountability in software component composition.
Contribution
SILC extends Incorrectness Separation Logic with fault tracking and sanitization capabilities to automatically detect misalignments and unsafe code in AI-assisted software development.
Findings
AI-generated code often contains safety issues.
SILC effectively localizes faults and assigns blame.
Framework improves safety in AI-assisted code integration.
Abstract
In modern software development, multiple software components, often sourced from different contributors, including AI assistants, are combined to create a cohesive system. Although these components might each be individually safe, their composition might not be so. At the core of this issue is often a misalignment between the requirements and assumptions made by each component. Once discovered it is important to determine which component is accountable for addressing the misalignment issue and to prevent its occurrence in the future. In this work we propose SILC, a framework for localising fault, i.e. blame, and for assigning sanitization obligations to prevent memory issues resulting from the composition of multiple software components. In particular, we show the role Incorrectness Logic could have in automatically extracting implicit non-functional assumptions in auto-generated code…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnalytical chemistry methods development · Water Quality Monitoring and Analysis · Microfluidic and Capillary Electrophoresis Applications
