Generalised: principle-agent problem: <https://en.wikipedia.org/wiki/Principal%E2%80%93agent_proble...>.

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>