Many believe that zero trust for AI models simply means toggling a setting in the provider console. In reality, zero trust is a set of architectural constraints that must be enforced at the point where a request leaves the client and reaches the model.
Today, most teams embed Claude API keys directly in code, scripts, or CI pipelines. Those secrets often live in version control, shared developer machines, or container images. When a Claude skill runs, it can issue unrestricted calls to the model without any visibility into who initiated the request, what data was sent, or whether the response contained sensitive information. The result is a black‑box interaction: no audit trail, no ability to mask PII, and no way to require human approval for high‑risk prompts.
This unchecked access creates several concrete problems. First, a compromised developer workstation can exfiltrate proprietary prompts or model outputs. Second, without per‑request accountability, it is impossible to answer compliance questions about who generated a particular piece of content. Third, the model may inadvertently leak confidential data if the prompt includes secrets that are echoed back.
Applying zero trust to Claude Skills
Zero trust for Claude Skills starts with strong identity. Non‑human identities such as service accounts or CI runners should obtain short‑lived OIDC tokens from a trusted identity provider. These tokens convey who the caller is and what groups they belong to, satisfying the "who can ask" part of the model. Least‑privilege scopes ensure that a token can only request the specific skill it needs.
However, even with proper token issuance, the request still travels directly to Claude’s endpoint. At that point the token is validated by Claude, but there is no enforcement layer that can mask sensitive fields, block dangerous prompts, or record the interaction. The request reaches the target with no audit, no inline data protection, and no just‑in‑time approval workflow.
The data path must host enforcement
The missing piece is a gateway that sits in the data path between the caller and Claude’s API. Only a component that proxies the connection can inspect the request and response, apply masking policies, enforce approval steps, and capture a replayable session. This gateway becomes the single place where zero‑trust controls are actually enforced.
Enter hoop.dev. hoop.dev is an open‑source Layer 7 gateway that can front Claude skill calls just like it fronts databases, SSH, or Kubernetes. By deploying the hoop.dev agent inside the network that reaches Claude, every request is forced through the gateway. hoop.dev validates the OIDC token, checks the caller’s group membership, and then decides whether to allow the prompt, require an approval, or mask parts of the response.
