Segregation of duties breaks down when an agent runtime runs with a single, overly‑privileged credential, a breach can spread from one service to every internal system, inflating remediation costs and extending downtime.
In many organizations the reality is even harsher. Teams hand out static service‑account tokens, embed them in CI pipelines, and let the same runtime process both request creation and execution. The token often has admin‑level rights across databases, Kubernetes clusters, and SSH hosts. No one records which user triggered a particular command, and no guardrails stop a dangerous query from reaching production. The result is a black box where responsibility is impossible to assign and risk is amplified.
Even after moving to identity‑based authentication, the core problem remains. The setup may now issue short‑lived OIDC tokens and assign minimal IAM roles, but the agent runtime still talks directly to the target system. There is no point in the traffic flow where policy can be examined, where a request can be approved, or where sensitive fields can be masked. The request reaches the database or the Kubernetes API unchecked, leaving the same exposure to insider misuse or compromised automation.
Why segregation of duties matters for agent runtimes
Segregation of duties is a control that separates the authority to request access from the authority to execute privileged actions. Applied to agent runtimes, it means that a developer can ask for a connection, but a separate policy engine decides whether the request is allowed, whether it needs approval, and what it can do once the connection is open. This split reduces the blast radius of a compromised credential, provides clear audit trails, and satisfies auditors who look for evidence that no single identity can both request and consume high‑risk privileges.
To achieve true segregation, three layers are required:
- Setup: Identity providers (OIDC/SAML) issue tokens that identify the caller and carry group membership. Service accounts and least‑privilege roles define what a token *could* do.
- The data path: A gateway sits between the caller and the target, inspecting every wire‑protocol message.
- Enforcement outcomes: The gateway records each session, masks sensitive response fields, blocks prohibited commands, and can pause a request for human approval.
If any of these layers is missing, segregation of duties collapses. The setup alone cannot stop a malicious query, and without a data‑path gateway there is nowhere to enforce the policy.
How hoop.dev enforces segregation of duties
hoop.dev implements the data‑path layer that makes segregation of duties enforceable for agent runtimes. It acts as an identity‑aware proxy that terminates the client connection, validates the caller’s OIDC token, and then forwards the request to the target only after applying policy checks.
