All posts

Keeping ReAct SOC 2-Compliant

Without auditable access controls, a SOC 2 audit can expose gaps that stall compliance. Most teams that run a ReAct‑style AI workflow rely on a handful of static service accounts or shared passwords to talk to databases, Kubernetes clusters, and internal HTTP APIs. Those credentials are baked into CI pipelines or stored in plain‑text vaults. Engineers invoke the same connection strings day after day, and the traffic flows directly from the application to the target without any visibility. When

Free White Paper

SOC 2 Type I & Type II: The Complete Guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free. No spam. Unsubscribe anytime.

Without auditable access controls, a SOC 2 audit can expose gaps that stall compliance.

Most teams that run a ReAct‑style AI workflow rely on a handful of static service accounts or shared passwords to talk to databases, Kubernetes clusters, and internal HTTP APIs. Those credentials are baked into CI pipelines or stored in plain‑text vaults. Engineers invoke the same connection strings day after day, and the traffic flows directly from the application to the target without any visibility. When a breach occurs, there is no reliable record of who issued which command, what data was returned, or whether a privileged operation was approved. The lack of session recordings, inline data masking, and just‑in‑time approvals makes it impossible to demonstrate the controls required by the SOC 2 Trust Service Criteria.

Organizations often begin to address the problem by introducing identity‑centric authentication: OIDC tokens, SAML assertions, or short‑lived service accounts. This step limits credential sprawl and ensures that each request can be tied to a principal. However, the request still travels straight to the backend resource. The gateway that could enforce policy, capture the request and response, and require an approval step is missing. As a result, the audit trail remains incomplete, sensitive fields may be exposed in logs, and there is no technical way to block a dangerous command before it reaches the database.

hoop.dev fills that missing layer. It sits in the data path between the identity‑aware token and the target infrastructure, acting as an identity‑aware proxy for databases, Kubernetes, SSH, and HTTP services. By positioning enforcement at the gateway, hoop.dev can record every session, mask confidential columns in query results, require just‑in‑time approvals for high‑risk commands, and block disallowed statements before they execute. Those enforcement outcomes exist only because hoop.dev is the active component in the data path.

Why SOC 2 Needs Verifiable Access Evidence

The SOC 2 framework expects organizations to provide concrete evidence that access to critical systems is controlled, monitored, and reviewed. Auditors look for:

  • Immutable logs that show who accessed which resource, when, and what actions were performed.
  • Records of any privileged or destructive commands, with evidence of approval.
  • Proof that sensitive data (PII, credentials, financial numbers) is never exposed in logs or screenshots.
  • Replayable sessions that can be examined during a breach investigation.

When the control plane is a direct socket between the application and the backend, none of these artifacts are guaranteed. The logs that the backend produces often lack user context, and any masking must be implemented manually in the application code, which is error‑prone.

How hoop.dev Captures the Required Artifacts

hoop.dev records each session from start to finish, attaching the authenticated identity to every request and response. The recorded stream can be replayed in a secure viewer, giving auditors a clear picture of the exact commands that were run.

hoop.dev masks sensitive fields in real time, ensuring that audit logs never contain raw credit‑card numbers, social security numbers, or internal secrets. The masking policy is defined once at the gateway and applied consistently across all downstream targets.

When a request matches a high‑risk pattern, such as a DROP DATABASE statement, a kubectl exec into a production pod, or an SSH command that modifies system files, hoop.dev pauses the flow and routes the request to an approval workflow. An authorized reviewer can grant or deny the operation, and the decision is stored alongside the session record.

Continue reading? Get the full guide.

SOC 2 Type I & Type II: Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.

For commands that are explicitly disallowed, hoop.dev blocks them before they reach the target. Because the block occurs at the gateway, the backend never sees the malicious payload, and the block event is logged with full context.

Mapping hoop.dev Capabilities to SOC 2 Trust Service Criteria

Security – Logical Access Controls: hoop.dev ties every request to an OIDC‑derived identity, enforcing least‑privilege policies at the gateway. The gateway never hands the backend the original credential, eliminating credential leakage.

Availability – Monitoring and Incident Response: Continuous session recording provides a real‑time view of activity on critical systems. When an anomalous command is detected, hoop.dev can trigger alerts that feed into existing incident‑response pipelines.

Confidentiality – Data Protection: Inline masking guarantees that sensitive fields are never written to log storage, satisfying confidentiality requirements without requiring application changes.

Processing Integrity – Change Management: Just‑in‑time approvals enforce a formal change‑management step for high‑impact operations, creating an immutable audit trail of who approved what and when.

Getting Started with ReAct and hoop.dev

To bring these controls to a ReAct deployment, start by installing the hoop.dev gateway using the official Docker Compose quick‑start. The gateway will verify OIDC tokens issued by your identity provider and expose a proxy endpoint for each backend that ReAct needs to talk to, PostgreSQL, Kubernetes, or internal HTTP services.

Next, define masking rules for any columns that contain personally identifiable information. Then, configure risk policies that flag destructive commands and route them to an approval channel (for example, a Slack webhook or an internal ticketing system). Finally, enable session recording and point your log‑aggregation pipeline at the gateway’s audit store.

All of the detailed steps are covered in the getting‑started guide and the broader learn section. Those resources walk you through deploying the agent, registering connections, and tuning policies for your specific ReAct workloads.

FAQ

Does hoop.dev replace my existing credential store?

No. hoop.dev holds the service credentials that the gateway uses to reach the backend, but engineers never see those secrets. Identity is still managed by your OIDC or SAML provider.

Can I retroactively audit past sessions?

hoop.dev only records sessions after it is placed in the data path. To build a historic audit trail, you would need to start routing traffic through the gateway and then rely on the recorded sessions for future compliance cycles.

Is hoop.dev itself SOC 2 certified?

hoop.dev does not claim SOC 2 certification. Instead, it generates the evidence, session logs, approval records, and masked data, that your organization can present to auditors as part of a SOC 2 assessment.

Ready to see the evidence in action? Explore the open‑source repository and start building a SOC 2‑ready audit pipeline: github.com/hoophq/hoop.

Open source

Save the open-source gateway for agent data access

Hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.

Star and save the repo →More posts