AI / LLM
When Prompts Go Rogue: Analyzing a Prompt Injection Code Execution in Vanna.AI
The Vanna.AI library generates Plotly chart code via an LLM prompt that includes user input, then executes it with Python's exec. An attacker could inject a prompt to make the LLM output arbitrary Python code, leading to remote code execution.
Vanna.ai