For prompt injection defense, the key metrics are Precision and Recall on detecting malicious prompts.
Recall is crucial because we want to catch as many harmful injections as possible to keep the AI safe.
Precision is also important to avoid blocking good user prompts by mistake, which would hurt user experience.
Balancing these two helps ensure the defense is effective without being too strict or too loose.