Common misconception: if an on‑prem agent authenticates once, its identity can be trusted forever for every subsequent operation. The reality is that the same process can be hijacked, its credentials reused, or its network traffic replayed, which completely defeats the purpose of access reviews.
On‑premises environments often rely on a handful of long‑lived service accounts or daemon processes that run with elevated privileges. Those agents usually hold a static credential for a database, SSH host, or internal API and forward traffic for any engineer who can reach the bastion. Because the connection originates from the agent itself, the agent’s service account appears in logs, not the individual who originally triggered the request. When an attacker compromises the host, the attacker impersonates the agent, issues commands, and the resulting activity blends indistinguishably into legitimate audit trails. Teams that conduct periodic access reviews then approve activity that never actually originated from the approved user.
Why access reviews fail when agents can be impersonated
The starting state looks like this: a privileged daemon runs on a bastion host, holds a static credential for an internal database, and forwards traffic for any engineer who can reach the bastion. The system verifies the engineer’s identity once – perhaps by an LDAP bind – and then hands the request to the daemon. From that point forward the daemon becomes the sole authority on the wire. If the daemon is compromised, the attacker inherits the daemon’s privileges without triggering any new authentication event. The audit log shows the daemon’s service account, not the attacker’s user name, so the access review process sees a legitimate service account performing the operation.
This model satisfies the setup requirement – the system knows who started the session – but it leaves the critical gap that the request still reaches the target directly, without any real‑time verification, masking, or recording of the actual command. No gateway sits in the data path to intercept or annotate the traffic, so there is no way to block a dangerous command, require an approval, or hide sensitive fields from the log. The result is a blind spot that undermines the integrity of access reviews.
Placing enforcement in the data path
The missing piece is a Layer 7 gateway that becomes the sole conduit for every privileged connection. hoop.dev fulfills that role. It sits between the identity provider and the target infrastructure, proxying the wire‑level protocol for databases, SSH, RDP, and internal HTTP services. Because all traffic must pass through this gateway, it is the only place where enforcement can happen.
When a request arrives, hoop.dev validates the OIDC or SAML token, extracts group membership, and then applies policy before the request reaches the backend. The gateway can:
