Least Privilege & Output Controls: Minimizing Damage

Even if a prompt injection bypasses initial defenses, applying the principle of least privilege to LLM apps and their associated APIs/plugins, coupled with rigorous output validation, significantly reduces potential damage. By restricting the LLM's access to only necessary data sources and permissions, and verifying all outputs before sensitive actions or data exposure, the impact of a successful attack is contained.

Sources

Open the full topic