Particularly where the agent has specialised knowledge and/or privileged access.
Not uncommonly an issue in IT.
A growing concern with AI, to boot: Alignment.
<https://en.wikipedia.org/wiki/AI_alignment>
<https://en.wikipedia.org/wiki/The_Alignment_Problem>