New Vulnerability in GitHub Copilot and Cursor: How Hackers Can Weaponize Code Agents
(www.pillar.security)
That little prompt is still clearly telling the LLM to "add a memory leak".
Not to mention that I don't trust a 300+ line blob of code no matter who or what writes it, without reading it myself.
But I guess this is why the other engineering fields have disdain for "software engineers", the entire field is falling over itself to stop paying attention to details.