An offboarded contractor’s CI job continues to run nightly, pulling data from a database with a static service account that never expires. The job’s code asks an LLM to summarize the data, but the LLM can only see a few thousand tokens at a time. Each summary request triggers another database call, reusing the same long‑lived credential. The result is a cascade of unchecked queries, no audit trail, and a risk that the contractor’s token could be abused elsewhere. Just-in-time access applied to each request limits exposure and provides a clear audit trail.
What are context windows?
Large language models process input in fixed‑size chunks called context windows. When the data to be analyzed exceeds that size, the application must split the payload into multiple requests and stitch the answers together. Each split often requires a fresh read from the underlying system, whether a database, an API, or a file store.
Why just-in-time access matters
Just-in-time access supplies short‑lived, purpose‑bound credentials for each operation. Instead of a permanent secret, the system issues a token that is valid only for the duration of a single request or a narrow time window. This reduces the blast radius of a compromised credential and satisfies compliance teams that demand minimal exposure.
Where the gap remains
Even with just-in-time access, the request still travels directly to the target resource. The authentication layer decides who may start a request, but it does not see the data flowing through the connection. Consequently, it cannot enforce policies such as:
- Blocking dangerous commands before they reach the database.
- Masking sensitive fields in query results.
- Recording the full session for later replay.
- Routing a risky operation to a human approver.
Without a data‑path control point, those enforcement outcomes are impossible.
A data‑path gateway solves the problem
hoop.dev inserts itself between the identity layer and the infrastructure resource. It verifies the user’s OIDC token, then proxies the connection to the target. Because the proxy sits on the wire, it can apply just-in-time access, inline masking, command‑level approval, and session recording on every request.
When a context‑window split occurs, each sub‑request is still routed through hoop.dev. The gateway issues a fresh short‑lived credential for that specific operation, enforces any guardrails you have defined, and logs the exact query and response. If a response contains a credit‑card number, hoop.dev can mask it before it reaches the caller. If a command tries to drop a table, the gateway can block it or require an explicit approval step.
