Sign In

@sovr/sql-proxy

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sovr/sql-proxy

SQL Proxy for AI Agents

latest
npmnpm
Version
2.0.4
Version published
Weekly downloads
15
-11.76%
Maintainers
1
Weekly downloads
 
Created
Source

@sovr/sql-proxy

SQL Proxy for AI Agents — intercepts all SQL statements and routes them through the SOVR Policy Engine before execution.

npm

Installation

npm install @sovr/sql-proxy

API Key Required — register at sovr.inc and set SOVR_API_KEY.

Quick Start

import { SqlProxy } from '@sovr/sql-proxy';
import { PolicyEngine, DEFAULT_RULES } from '@sovr/engine';

const engine = new PolicyEngine({ rules: DEFAULT_RULES });
const proxy = new SqlProxy({
  engine,
  apiKey: process.env.SOVR_API_KEY,
  listenPort: 5433,
  targetHost: 'localhost',
  targetPort: 5432,
});

await proxy.start();

Features

  • PostgreSQL Wire Protocol interception (Simple + Extended Query)
  • 17 SQL statement types recognized
  • DDL blocking and dangerous DML detection
  • Table Whitelist and Blacklist ACL
  • Billing Reporter with 7 event types
  • Mandatory API Key enforcement
  • Full audit trail with decision IDs

License

BSL-1.1

FAQs

Package last updated on 25 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts