SOSecure: The Wisdom of the Crowd for Safer AI-Generated Code
SOSecure is introduced, a Retrieval- Augmented Generation (RAG) system that leverages the collective security expertise found in SO discussions to improve the security of LLM-generated code, and builds a security-focused knowledge base by extracting SO answers and comments that explicitly identify vulnerabilities.