Skip to content
RED SAGSkills
medium10 pts · first answer countsllm-safetyoutput-handling

Model output passed to a shell

Code runs subprocess.run(f"convert {filename_from_llm} out.png", shell=True), using a file name the model extracted from user text. What is the risk?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions