iCreatAI News
Skip to content
Hacker News AI· raymondartin·· 46 min agoAI score58

Show HN: Aegis – A Layer-4 Postgres proxy in Go to block destructive AI SQL

Show HN: Aegis – A Layer-4 Postgres proxy in Go to block destructive AI SQL

AI summary

Aegis is a Go-based Layer-4 proxy that sits between an application and Postgres, parsing every query and terminating the connection when a destructive statement such as DROP TABLE or an unfiltered DELETE is detected, without requiring database code changes. It listens on port 5433 for the Postgres wire protocol and 5434 for an admin/metrics API, and ships with a Python SDK whose @safe_db_run decorator provisions an ephemeral Neon branch and points the connection at the proxy. The open-source tier includes static rate limiting and the blocking mechanism, while ML adaptive throttling, fleet telemetry, eBPF kernel-bypass and custom AST policies are listed for the SaaS and Enterprise tiers.

Source: Hacker News AI · github.com