I don’t think this problem is new, or requires a different solution than the ones we already have. The output of an LLM is no different than any other type of untrusted user input, and untrusted user input is used to trigger code execution all the time. We already have plenty of tools to address this problem, and if developers aren’t using them it’s not because of any unique about LLMs.