CCDV-F practice › Security and Safety · Question 25 of 92
Security and Safety
An autonomous agent runs with the full API credentials of the engineer who launched it, including production database write access it never actually needs. What's the finding here?
Show answer and explanation
Answer: B — A least-privilege violation — the agent should hold only the scoped access its task requires
An agent inheriting its launcher's full credentials is a standard least-privilege violation regardless of internal-vs-external use — a manipulated agent can exercise access its task never called for.
Keep going
More Security and Safety questions
- A support agent's tool output routinely includes customer phone numbers and partial card…
- Where should a production application's Claude API key actually live?
- A retrieved document contains embedded text targeting the model, while a user in chat…
- An agent authenticates successfully on every request while being manipulated into…
- A team argues broad agent credentials are acceptable because the agent is internal-only…