{"library":"safegres","type":"library","category":null,"description":"safegres is a pure-Postgres row-level security (RLS) auditor that validates grants, RLS enforcement, policy coverage, and detects risky SQL policy patterns. At version 0.10.1, it offers a CLI and library interface to audit your PostgreSQL database without requiring any application framework. Unlike other Postgres auditing tools, safegres focuses specifically on RLS misconfigurations, providing actionable reports on missing policies, overly permissive grants, and unsafe pattern usage (e.g., `current_setting` in policies). It is actively maintained with monthly releases and ships TypeScript definitions.","language":"javascript","status":"active","version":"0.10.1","tags":["javascript","postgres","rls","row-level-security","audit","security","safegres","constructive","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install safegres","imports":["import { audit } from 'safegres'","import { runAudit } from 'safegres'","import type { AuditOptions } from 'safegres'"]},{"cmd":"yarn add safegres","imports":[]},{"cmd":"pnpm add safegres","imports":[]}],"homepage":"https://github.com/constructive-io/constructive","github":"https://github.com/constructive-io/constructive","docs":null,"changelog":null,"pypi":null,"npm":"safegres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}