All posts

Vendor Risk in Devin: Managing the Risk

When a third‑party service like Devin is granted unrestricted database access, a single compromised credential can expose every customer record, trigger regulatory fines, and erode trust. Most teams hand the vendor a shared service account, embed its password in deployment scripts, and assume the connection is safe because the network is private. In reality that approach gives the vendor standing access to all tables, the ability to run arbitrary queries, and no visibility into which statements

Free White Paper

Just-in-Time Access + Risk-Based Access Control: The Complete Guide

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

Free. No spam. Unsubscribe anytime.

When a third‑party service like Devin is granted unrestricted database access, a single compromised credential can expose every customer record, trigger regulatory fines, and erode trust.

Most teams hand the vendor a shared service account, embed its password in deployment scripts, and assume the connection is safe because the network is private. In reality that approach gives the vendor standing access to all tables, the ability to run arbitrary queries, and no visibility into which statements were executed.

Why vendor risk spikes with Devin

In many organisations the default workflow is to create one "deployer" user in the database, grant it read‑write privileges on every schema, and then give the same credentials to every external partner. The credential lives in a configuration file, a CI/CD secret store, or even a hard‑coded string. When the vendor needs a new table, the DBA adds it to the existing role instead of issuing a scoped identity. No audit log is consulted because the database logs are not centralized, and the DBA team cannot tell whether a query originated from an internal engineer or from Devin.

This state of affairs creates three concrete problems. First, the breach surface is massive: any stolen password opens the entire data lake. Second, the lack of per‑request visibility makes it impossible to prove compliance with data‑handling policies. Third, remediation is slow because the organization must rotate a single credential that is used everywhere, causing downtime for all services that rely on it.

What a proper control model must provide

A sound model starts with a non‑human identity for the vendor and a least‑privilege role that limits access to only the tables required for the integration. The identity is federated through an OIDC or SAML provider so that the vendor can obtain a short‑lived token, but the token alone does not enforce any policy. What remains missing is a place where the request can be inspected, approved, or blocked before it reaches Devin’s database endpoint.

Even with a scoped token, the request still travels directly to the database engine. The gateway that could enforce command‑level checks, mask sensitive columns, or require a human approver is absent. In other words, the precondition fixes identity and credential hygiene, but it leaves the actual data path uncontrolled.

Continue reading? Get the full guide.

Just-in-Time Access + Risk-Based Access Control: Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.

A data‑path gateway solves the gap

hoop.dev is built exactly for this missing layer. It acts as an identity‑aware proxy that sits between the vendor’s token and the target database. The gateway inspects the wire‑protocol, applies policy, and then forwards only the allowed commands.

Setup – The organization configures OIDC or SAML authentication so that only tokens issued to the vendor’s service account are accepted. This step decides who may start a session, but it does not enforce what the session can do.

The data path – hoop.dev becomes the sole conduit for every SQL statement destined for Devin. Because the gateway sits on the protocol layer, it is the only point where enforcement can occur. No command reaches the database without passing through hoop.dev first.

Enforcement outcomes – hoop.dev records each session for replay, masks columns that contain personally identifiable information, requires just‑in‑time approval for risky statements such as DROP TABLE or bulk export, and blocks commands that violate the defined policy. Because the agent never sees the underlying credential, the risk of credential leakage is eliminated.

All of these capabilities are delivered without changing the vendor’s client code. Devin continues to use its standard PostgreSQL driver, while hoop.dev transparently adds guardrails.

To get started, follow the getting‑started guide and explore the policy examples in the learn section. The open‑source repository contains the full implementation and deployment manifests.

FAQ

  • Does hoop.dev replace the database’s own audit log? No. hoop.dev augments existing logs by capturing every request at the gateway, providing a complete, identity‑linked record that can be correlated with database‑side events.
  • Can I use hoop.dev with other vendors besides Devin? Yes. The gateway supports any PostgreSQL‑compatible target, so the same pattern applies to other third‑party services.
  • What happens if the gateway is unavailable? hoop.dev runs in a highly available mode; if a node fails, another instance continues to proxy traffic, ensuring no loss of enforcement.

View the open‑source repository on GitHub to explore the code and contribute: https://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