← All projects
Project record1 mention
Originally shared on Hacker News

Safegres

Open-source, read-only Postgres auditor that inspects system catalogs and uses PostgreSQL's own grammar to analyze RLS policies and functions as ASTs rather than regex, giving independent security and performance grades; runs in CI as part of the development loop.

Last shared
01 / The problem

What it addresses

It's way too easy to build insecure databases.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Safegres

    Open-source, read-only Postgres auditor that inspects system catalogs and uses PostgreSQL's own grammar to analyze RLS policies and functions as ASTs rather than regex, giving independent security and performance grades; runs in CI as part of the development loop.

    Problem: It's way too easy to build insecure databases.

    Posted by @pyramation · Original source ↗

    Story title · @pyramation · · Source ↗

    Show HN: Safegres – Audit Postgres RLS and Permissions

    Submitted URL · @pyramation · · Source ↗

    https://www.npmjs.com/package/safegres

    Source text · @pyramation · · Source ↗

    it's an open-source, read-only Postgres auditor that inspects the system catalogs and uses PostgreSQL's own grammar to analyze policies and functions as ASTs rather than relying on regex.

    Source text · @pyramation · · Source ↗

    It gives you two independent grades: security and performance. It also runs in CI, so you can improve your development loop.

    Source text · @pyramation · · Source ↗

    Been building open-source Postgres tools for a decade now, and one things keeps popping up... it's way too easy to build insecure databases.