Skip to main content
DBBat

Give (temporary) accesses to prod databases. Every query logged. Every data saved.

Demo login: admin / admin

🔌

Transparent Proxy

Connect any PostgreSQL client through DBBat without code changes. Standard PostgreSQL wire protocol support means zero application modifications required.

🔍

Query Observability

Track every query with full SQL text, execution time, rows affected, and optional result data capture. Gain complete visibility into database activity.

🔐

Access Control

Grant time-windowed access with read/write permissions. Set quotas on queries and data transfer. Automatically expire or manually revoke access.

👥

User Management

Create users with their own credentials separate from database credentials. Admin users can manage all resources and grants.

🛡️

Secure by Design

Passwords hashed with Argon2id, database credentials encrypted with AES-256-GCM. Full audit logging of all access control changes.

🌐

REST API

Full-featured REST API with OpenAPI documentation. Manage users, databases, grants, and view connections and queries programmatically.

See it in Action

Explore the DBBat interface for managing database access and monitoring queries.

Dashboard showing recent connections and activity
Dashboard
Query log with SQL details and execution times
Query Logging
Grant management with time-based access controls
Access Control

Quick Start

Get DBBat running in seconds with Docker:

docker run
  -p 5432:5432
  -p 8080:8080
  -e DBB_DSN=postgres://dbbat:dbbat@pgserver:5432/dbbat
  ghcr.io/fclairamb/dbbat

View full installation guide