Show HN: Aegis – A Layer-4 Postgres proxy in Go to block destructive AI SQL A developer released Aegis, an open-source Layer-4 Postgres proxy written in Go that sits between an application and its database on TCP port 5433 (with an admin and metrics API on port 5434) and blocks destructive SQL such as DROP TABLE or unfiltered DELETE statements before they reach the database, terminating the connection instead. Aegis is distributed as the Docker Hub image raymondartin2/aegis-proxy and requires a docker-compose.yml and .env file with four mandatory values — NEON_API_KEY, NEON_PROJECT_ID, AEGIS_ADMIN_TOKEN, and an AEGIS_JWT_SECRET of at least 32 characters — with the proxy exiting at startup if the JWT secret is missing. The proxy parses every query, enforces rate limits, and forwards benign queries to the database over TLS, aimed at limiting damage from AI-generated or other automated SQL. Aegis sits between your application and your Postgres database and blocks destructive queries before they run, without you changing a line of your database code. 👋 Note: If you are cloning this to test the Wasm AST parser locally, please drop a ⭐ on the repo It helps me know people are actually using the open-source tier. sequenceDiagram participant App as Your Application