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?
Discussion 0
Join free to post in the discussion.
Related questions
- Jailbreak or prompt injectionPrompt Engineer
- Customer data in promptsPrompt Engineer
- Top risk in the OWASP LLM listPrompt Engineer
- What "guardrails" meansPrompt Engineer
- Checking before and after the modelPrompt Engineer
- Tool access for an FAQ botPrompt Engineer
- Calling the LLM from the browserPrompt Engineer
- One user sending 50,000 requestsPrompt Engineer