All posts

MCP gateways: what they mean for your blast radius (on Snowflake)

An offboarded contractor still holds a service account token that can be used by an automated job to run arbitrary queries against your Snowflake warehouse. The token was never rotated, the job runs with full read‑write permissions, and no one knows which downstream dashboards depend on the data it can touch. When the token is abused, the blast radius spreads across every analytic pipeline that consumes those tables. Today many organizations grant engineers and CI pipelines direct access to Sno

Free White Paper

Blast Radius Reduction + Single Sign-On (SSO): The Complete Guide

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

Free. No spam. Unsubscribe anytime.

An offboarded contractor still holds a service account token that can be used by an automated job to run arbitrary queries against your Snowflake warehouse. The token was never rotated, the job runs with full read‑write permissions, and no one knows which downstream dashboards depend on the data it can touch. When the token is abused, the blast radius spreads across every analytic pipeline that consumes those tables.

Today many organizations grant engineers and CI pipelines direct access to Snowflake using shared credentials or static keys. Those credentials are often stored in repository secrets, copied between teams, and granted broad roles that span development, testing, and production schemas. Because the connection goes straight from the client to Snowflake, there is no central point that can observe which queries are executed, mask sensitive columns, or require an approval before a destructive operation runs. The result is a large blast radius: a single compromised secret can reach every table, every downstream report, and every downstream service that depends on the data.

Why the current approach inflates blast radius

The core of the problem is the lack of a gatekeeper on the data path. Identity providers decide who may obtain a token, but once the token is issued the request travels directly to Snowflake. No enforcement occurs after authentication, so the system cannot enforce least‑privilege at query time, cannot block DDL commands, and cannot redact personally identifiable information in query results. Auditors also cannot reconstruct who ran which statement because the only logs are the Snowflake query history, which does not capture the context of the caller or any approval workflow.

What an MCP gateway adds – and what it still leaves exposed

Introducing an MCP (Multi‑Channel Proxy) gateway in front of Snowflake gives you a single endpoint for all LLM‑driven or programmatic queries. The gateway can perform basic validation, enforce connection limits, and provide a convenient URL for agents. However, if the gateway is deployed without a policy enforcement layer, the request still reaches Snowflake directly. The gateway does not record the query, does not mask returned data, and does not require a human to approve high‑risk statements. In that configuration the blast radius remains essentially unchanged; you have only added a network hop, not a control point.

Continue reading? Get the full guide.

Blast Radius Reduction + Single Sign-On (SSO): Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.

hoop.dev as the data‑path enforcement point

hoop.dev sits exactly where enforcement is needed: between the identity that presents a token and the Snowflake endpoint that executes the query. By proxying the connection, hoop.dev can record every session, apply inline masking to columns that contain credit‑card numbers or social security numbers, and block commands that alter schema without an explicit approval. When a request matches a policy that requires justification, hoop.dev routes the query to an approval workflow before it reaches Snowflake, effectively shrinking the blast radius to the set of approved operations.

Because hoop.dev retains a full audit trail, security teams can answer questions such as “who queried the payroll table on Tuesday?” or “was the drop‑column operation authorized?” The gateway also enforces just‑in‑time access, granting a short‑lived credential that expires as soon as the session ends. If a token is compromised, the attacker can only interact with Snowflake through hoop.dev, which will reject any request that falls outside the defined policy.

To get started, follow the getting started guide. The documentation explains how to register a Snowflake connection, configure masking rules, and enable approval workflows. For deeper details on policy definition, data masking, and session replay, see the learn section of the site.

Explore the source code and contribute on GitHub.

FAQ

  • How does an MCP gateway affect blast radius? By itself it adds a network hop but does not limit what can be done. When paired with hoop.dev, the gateway becomes a policy enforcement point that records, masks, and approves queries, dramatically reducing the potential impact of a compromised credential.
  • Does hoop.dev replace Snowflake’s native security features? No. Snowflake continues to enforce role‑based access control. hoop.dev adds an additional layer that operates on the data path, providing session recording, inline masking, and just‑in‑time approvals that Snowflake does not natively offer.
  • What audit evidence does hoop.dev generate? Each session is logged with the identity that initiated it, the full query text, any masking applied, and the outcome of any approval step. These logs can be exported to SIEMs or retained for compliance reporting.
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