CaMeL

A design from Google DeepMind that defeats prompt injection by having a privileged model write a plan as code while a quarantined model reads untrusted data, with data flow tracked and checked by policy.

In more detail

Debenedetti and colleagues published it in 2025. Its lesson for ordinary apps: put the decisive control in code that tracks where untrusted data flows, rather than in the prompt.

Related terms

Taught in

References

Certification courses