Skip to content
Hacker News · AI·· 13 h agoAI score58

Show HN: Aegis, a Go Layer-4 Postgres proxy that blocks destructive AI SQL

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

AI summary

Aegis is an open-source Layer-4 Postgres proxy written in Go that sits between an application and its database on port 5433, parsing every query and terminating the connection when a destructive statement such as DROP TABLE or an unfiltered DELETE appears, so the query never reaches the database. Because it works at the network layer, developers only change the connection port from 5432 to 5433, with no application code or framework plugin changes. The OSS tier runs on in-memory state and includes static rate limiting and the connection-killing guardrail, while ML adaptive throttling, fleet telemetry, eBPF kernel bypass and custom AST policies are reserved for the hosted SaaS and Enterprise tiers.

Source:Hacker News · AI · github.com