{"repo":"jonaylor89/pg_guard","free":true,"listed":false,"github":"https://github.com/jonaylor89/pg_guard","clone":"git clone https://github.com/jonaylor89/pg_guard.git","description":"a Postgres proxy to protect your db from cursor","language":"Rust","stars":30,"topics":["claude","cursor","database-proxy","postgresql","rust"],"license":"MIT","category":"databases-storage","readme_excerpt":"pg guard: Cursor-proof your database A Postgres proxy with built-in safety features and row-level damage limiting pg guard is a Postgres proxy server that sits between your applications and your database, providing real-time query analysis and protection against dangerous operations. It implements transparent TCP proxying with PostgreSQL wire protocol support with human readable messages to help claude/cursor understand how to better make DB calls. Features - Query Interception : Analyzes all SQL queries before they reach your database - Row-Level Damage Limiting : Blocks DELETE/UPDATE operations that would affect too many rows - Dangerous Query Blocking : Prevents DROP, TRUNCATE, and WHERE-less DELETE operations - Honeytoken Protection : Detects and blocks access to canary tables - Mock Snapshots : Logs backup points before destructive operations - Structured Logging : Clear, parseable logs for monitoring and debugging - Human Readable Errors : Tells claude/cursor how to change its query to pass the proxy Quick Start Safety Features 1. Dangerous Query Blocking 2. Row-Level Damage Limiting 3. Honeytoken Detection 4. Snapshot Logging Before allowing destructive operations, pg guard logs:","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonaylor89","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonaylor89/pg_guard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}