Study: Repository Context Affects the Security of LLM-Generated Code
A study using 145 tasks based on real vulnerabilities examines how repository context affects the security of LLM-generated code. Context that helps functional performance improves secure results by a much smaller margin.