So in your AI evals and test cases, you need to test permissions and securities as much as functionality. And the reason for this is people are going to try to break your AI. I know I'm one of those people that as soon as I see it's AI, I want to see if I can get a system prompt in or get it to answer some random question for me. So you're going to need to test for that. It's going to need to be in your test suite.
And it needs to be something that you're going to test every time you do an upgrade of a model or an upgrade of a prompt, because just because you're secure today and you think everything looks good, a prompt change or a model change may allow the model to break out of its guardrails that you've spent so much time setting up. So make sure that security and permissions are part of all your evaluations and all of your regression test cases for all of your AI applications.