Interview practice question
Agent given too many permissions
Machine Learning · AI Agents · Beginner
A teammate gave a support agent an admin API key so it "can do anything it needs". What's wrong, and what do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Violates least privilege; huge blast radius.
- Errors or prompt injection could cause major damage.
- Create scoped credentials for specific actions.
- Act with the user's permissions where possible.
- Audit and rotate the admin key.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.