The code can have harmful things in it (by chance, hallucinations or malice) and running it is a security risk.
I see that there are other plotting libraries that can accept a json data holding all design orders, and generate the plot from it. no code. seems safer to me.
Am I wrong? do proffesional actually use exec? if so how to safeguard againt probelms? docker?