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.