STELP: Secure Transpilation and Execution of LLM-Generated Programs
Swapnil Shinde, Sahil Wadhwa, Andy Luo, Akshay Gupta, Mohammad Shahed Sorower

TL;DR
This paper introduces STELP, a secure framework for safely executing LLM-generated code, addressing safety, reliability, and security concerns in deploying AI systems that generate executable code.
Contribution
We propose STELP, a novel secure transpiler and executor that enables safe execution of LLM-generated code, filling a critical gap in secure AI system deployment.
Findings
Outperforms existing methods in safety and correctness benchmarks
Demonstrates effective handling of risky and malicious code snippets
Achieves lower latency in code execution processes
Abstract
Rapid evolution of Large Language Models (LLMs) has achieved major advances in reasoning, planning, and function-calling capabilities. Multi-agentic collaborative frameworks using such LLMs place them at the center of solving software development-related tasks such as code generation. However, direct use of LLM generated code in production software development systems is problematic. The code could be unstable or erroneous and contain vulnerabilities such as data poisoning, malicious attacks, and hallucinations that could lead to widespread system malfunctions. This prohibits the adoption of LLM generated code in production AI systems where human code reviews and traditional secure testing tools are impractical or untrustworthy. In this paper, we discuss safety and reliability problems with the execution of LLM generated code and propose a Secure Transpiler and Executor of LLM-Generated…
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
TopicsSoftware Engineering Research · Scientific Computing and Data Management · Advanced Malware Detection Techniques
