Disjointed Proxy

Published
Length
3 min read

Luis Felipe Dias

All posts

You fix a disjointed proxy setup by uniting split network tools under one control plane. A disjointed proxy happens when teams run separate entry points for databases, servers, and apps. Most engineering teams build this pattern by accident over several years. The cloud team sets up one tool for SSH server logins. The data team sets up a different tool for database queries. Soon, every group manages its own rules, keys, and audit logs. When roles are too broad across these split tools, security

Database Proxy (ProxySQL, PgBouncer): the complete guide

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

Free white paper. No spam. Unsubscribe anytime.

You fix a disjointed proxy setup by uniting split network tools under one control plane. A disjointed proxy happens when teams run separate entry points for databases, servers, and apps.

Most engineering teams build this pattern by accident over several years. The cloud team sets up one tool for SSH server logins. The data team sets up a different tool for database queries. Soon, every group manages its own rules, keys, and audit logs. When roles are too broad across these split tools, security risks grow fast. Engineers hold wide permissions in many places, and nobody sees the full picture.

How a disjointed proxy architecture works in practice

In a disjointed proxy architecture, each resource type has its own separate entry path. An engineer logs into a cloud console to check a web app. Next, that same person opens a local client to read a database. Each step checks a different directory or uses a separate static key.

Admin teams must write and update rules in three or four places at once. When a new developer joins the team, admins grant roles in every single tool. When someone changes jobs or leaves, admins must revoke keys across every system. One missed step leaves an old account active on a production server. Logs also sit in separate buckets with different formats and timestamps. Security teams must pull files from each tool just to trace one incident.

What native network tools solve and where they fall short

Native network tools and single-purpose entry points do solve basic perimeter problems. They keep databases and servers off the public internet. They also check who logs in before opening a network path. For a small team with one database, a single native tool works fine.

The gap appears when a company adds more databases, cloud accounts, and internal apps. Native tools decide who logs in at the start of a session. They do not check what individual queries, commands, or requests do in flight. Once a user passes the first check, the role stays wide open. A user with read and write rights can drop a table by mistake. They can also pull sensitive data like emails, phone numbers, or card numbers. Because each tool works alone, you cannot set one rule that protects all systems.

Database Proxy (ProxySQL, PgBouncer): architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Steps to consolidate split entry points

Start by listing every tool your team uses to reach internal systems. Write down who owns each tool and where its logs go. Next, map your team roles to the exact actions they need to run. Most developers only need to read data during daily work. They rarely need to change schemas or run root commands on servers.

Replace static keys and local passwords with central identity checks from your main provider. Make sure every database query and server command flows through one unified path. Set up field masking to rewrite emails, national IDs, and card numbers in query results. This keeps raw sensitive values out of local screens and logs during daily work.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

What causes a disjointed proxy setup in most companies?

Teams often buy or build separate tools for databases, servers, and Kubernetes clusters. Over time, these split tools create separate rule sets and isolated audit logs.

Why is a split entry setup risky for audits?

Each tool writes logs in a different format and stores them in a different place. Auditors cannot match a user identity to exact commands across all systems.

How do we reduce risk without blocking developer work?

Move from broad network roles to fine-grained checks on each command or query. You can also mask card numbers and phone numbers in results during live sessions.

Save the open-source gateway.

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.