Coding assistants run with your access.

A developer knows which tables to leave alone. Claude Code, Cursor and Codex don’t. hoop checks each statement they send: it runs, gets masked, waits for a person, or gets blocked.

developer laptops → hoop → postgres, production

  1. Blocked

    Cursor

    DELETE FROM users;

    Needs a WHERE clause. Nothing deleted.

  2. Masked

    Claude Code

    SELECT * FROM customers_2020;

    Emails redacted. SSNs cut to the last four.

  3. Held

    Codex

    CREATE INDEX orders_created_at ON orders …

    Waits for a person, then runs.

  4. Ran

    Claude Code

    SELECT id, error_code FROM payments …

    41 rows. On the record.

Four statements. The developer’s role allowed all four.

Every check passes. The rows still vanish.

A developer asks Claude Code to clean up the test users. It sends DELETE FROM users; and every control on the way says yes.

  1. Identity (SSO, your identity provider): Is this the developer? Pass.
  2. Access (IAM, database roles and grants): Does the role allow it? Pass.
  3. Gateways (LLM and MCP gateways): Is the prompt safe? Pass.
  4. Endpoint (Agent hooks, endpoint tools): Is this tool allowed? Pass.
  5. Database (Your system of record): Runs it. Executed.
  6. Between the last control and the database: Nothing reads the statement here. With hoop in front of the database: hoop would’ve stopped it here. Blocked. Database: Never ran.

No control asked what the statement does to your data. hoop does.

Now send it through hoop.

The same developer asks Claude Code to clean up the test users, with hoop in front of the database. Pick a request and see what hoop does with the statement.

coding agent → hoop sidecar → postgres

> Clean up the test users
* DELETE FROM users;
ERROR:  a DELETE on this listener needs a WHERE clause
Nothing deleted.

Blocked before it runs.

A guardrail matches the statement and denies it. The agent reads the rule’s message, and nothing reaches the database.

Agent tools change. Your databases don’t.

Harnesses, gateways and sandboxes change every quarter. PostgreSQL has been around since 1996 and HTTP since 1991. hoop enforces at that layer, so your rules outlast the next agent you adopt.

Specs

Deploy
Sidecar
Stateless, next to each system
Config
Held in memory
Control plane
Self-hosted or hosted
On the laptop
One connection string
Rollout
Scope
Isolated to one system first
New rules
Record first, rules after
Identity and access tools
Stay in place, no replacement
Failure
Fail mode
Fail-open or fail-closed, per system
Protocols
Databases
PostgreSQL, MySQL, and more
Servers
SSH, RDP, and more
APIs
HTTP, gRPC, and more
Full list
See docs
Rules and analysis
Rules
OPA, written once per system
AI analyzer
Your own model or API key
Payloads
Stay under your control
Identity
Built in
Local JWT
Your own
Bring your own identity provider
Trust
Audit
SOC 2 Type II
Privacy
GDPR
License
MIT, open source
Foundation
CNCF member
listeners:
  - name: appdb
    protocol: postgres
    listen: 0.0.0.0:15432
    upstream: appdb:5432
    guardrails:
      rules:
        - name: no-unqualified-delete
          type: pattern_match
          pattern_regex: '(?i)^\s*delete\s+from\s+\w+\s*;?\s*$'
          message: a DELETE on this listener needs a WHERE clause
    mask:
      rules:
        - name: ssn-column
          columns: [ssn]
          strategy: partial
          keep_last: 4
        - name: emails
          entities: [EMAIL_ADDRESS]
          strategy: redact
The rules behind the blocked and masked rows above, in one file. Start without them. Read the record, then add the ones it shows you need.

Trusted by engineering and security teams.

Start with one database.

Run it with no rules for a week. hoop lets every statement through and records each one. Then write the rules the record shows you need.

The open-source sidecar is free and runs standalone. Enterprise adds the Control Plane, the AI analyzer and Approve workflows.

$ brew tap hoophq/brew https://github.com/hoophq/brew.git
$ brew install hoop
$ hoop start sidecar --config config.yaml
sidecar running

$ psql -h 127.0.0.1 -p 15432 -c "select email from customers limit 1"
  email
  [REDACTED:EMAIL_ADDRESS]
masked by hoop