Frequently Asked Questions
What is LLM-to-code injection?
It occurs when an application executes code written by a model and an attacker influences what that code does through prompts or poisoned data. The result can be arbitrary code execution on the host.
How does AST validation help?
Parsing generated code into an abstract syntax tree lets you reject dangerous imports, calls or constructs before execution. It is a useful filter, but should be paired with a real sandbox.
Is sandboxing enough on its own?
A well-configured sandbox limits damage, but network, file and credential access must also be restricted. Layering validation, isolation and least privilege is covered in this free Codelivly room.